As stated above, similar. The YJ factory soft top had square door corners, the hard doors are rounded (like the hard top).
The CJ hard top requires you to open the rear window before opening the tailgate. The YJ hard top works the opposite, so you'll have to open the rear window on the CJ top while opening the tailgate (to move the spare tire out of the way). If you don't have a spare tire then it's a non-issue.