General discussion

Locked

JSP vs JHTML?

By richard_hulse ·
How do JSP (java server pages) and JHTML relate, compare and differ? Will an IDE tool supporting JSP also support JHTML? Will an application server (Dynamo) running JHTML also run JSP?

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

JSP vs JHTML?

by Jay Eckles In reply to JSP vs JHTML?

Java Server Pages are the "standard" front-end mechanism for a Java-based dynamic web application. JHTML is the extension for Dynamo Server Pages, an older technology that does the same thing as JSP. Basically both are intended to separate interface from processing code. JHTML pages will only run on Dynamo, whereas JSP will run on any JSP-enabled servlet container. JSPs are also translated directly to servlet code and compiled as servlets when first invoked, meaning their performance (afterthe initial compilation) is equivalent to servlets.

Whether or not an IDE will support both JSP and JHTML, obviously that depends on the IDE. I suspect there's not much support for JHTML since it appears to me at first glance that JSP supercedesJHTML, but I could be wrong. Look around and see what you can find.

Again, you'd have to ask ATG if Dynamo supports JSP, but I suspect not. However, it appears that Dynamo runs in concert with other application servers such as BEA Weblogic, which does run JSP. I tried to access the documentation for Dynamo on the ATG website, but you have to register and it's not that important to me.

For more information, there's an article on JHTML on Webmonkey, and you can look at the ATG website (makers of Dynamo) at http://www.atg.com.

Good luck.

Jay

Dynamo Components are server-side JavaBeans and servlets that control the back-end functionality of your Dynamo server. They handle database requests, logging, scheduling, and HTTP requests. These components are connected to your HTML pages by Dynamo Server Pages, which use the .jhtml file extension. Server Pages are basically just additions to standard HTML tags that the Dynamo server processes to create dynamic HTML pages that canbe displayed via any old Web browser.

Collapse -

JSP vs JHTML?

by richard_hulse In reply to JSP vs JHTML?

Poster rated this answer

Collapse -

JSP vs JHTML?

by Java Guru In reply to JSP vs JHTML?

I like the first answer, but it gleams over a few points.

JSP and JHTML are compiled to .java (e.g. servlet), these can be editted, debugged, etc.

The difference as far as an IDE is that an IDE can perform syntax checking against JSP, but is unlikely to be able to perform syntax checking against JHTML.

Don't let his discourage you. If you are doing it correct, then you probably don't need to. Here at TR, our JHTML is typically simple enough that we use a simple text editor (TextPad) to edit the JHTML.

The more complex stuff (Dynamo Droplet -> much simpler to implement than JSP custom action) is done via an IDE (I like IDEA IntelliJ).

BTW, Dynamo is a full J2EE server, which means that it also runs JPS.

<SOAPBOX="on">Anyone who has spent any amount of time to become familiar with the Dynamo product LOVES it. The problem is marketing/business alignment. Their solution supports the standard, but has extensive customizations avaliable. All the while, their close-partner in crime (Sun) is yelling standardization all the way. I hate to see that it appears that ATG has fallen upon hard times. I wish someone like Sun or IBM would buy them and get more of their technology (besides licensing JHTML to Sun to make JSP possible) onto the standard J2EE platform.
</SOAPBOX>

Collapse -

JSP vs JHTML?

by richard_hulse In reply to JSP vs JHTML?

Sorry for the delay in getting back to this, but your answer helped. Thanks.

Collapse -

JSP vs JHTML?

by richard_hulse In reply to JSP vs JHTML?

This question was closed by the author

Back to Web Development Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums