JHTML
Encyclopedia
JHTML stands for Java HTML
HTML
HyperText Markup Language is the predominant markup language for web pages. HTML elements are the basic building-blocks of webpages....

. This is a page authoring system developed at Art Technology Group
Art Technology Group
Art Technology Group was an independent Internet technology company specializing in eCommerce software and on-demand optimization applications until its acquisition by Oracle on January 5, 2011...

 (ATG). Files with a ".jhtml" filename extension
Filename extension
A filename extension is a suffix to the name of a computer file applied to indicate the encoding of its contents or usage....

 contain standard HTML tags in addition to proprietary tags that reference Java objects running on a special server setup to handle requests for pages of this sort.

Overview

When a request is made for a JHTML page, e.g. "index.jhtml", the request for this page is forwarded from the HTTP server to another system running a Java application server. The JHTML page is compiled first into a .java file and then into a Java .class file. The application server
Application server
An application server is a software framework that provides an environment in which applications can run, no matter what the applications are or what they do...

 runs the code in the .class file as a servlet whose sole function is to emit a stream of standard HTTP and HTML data back to the HTTP server and on back to the client software (the web browser
Web browser
A web browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource is identified by a Uniform Resource Identifier and may be a web page, image, video, or other piece of content...

, usually) that originally requested the document. The principal benefit of this system is that it allows logic running in Java on the application server to generate the HTML dynamically. Often a database
Database
A database is an organized collection of data for one or more purposes, usually in digital form. The data are typically organized to model relevant aspects of reality , in a way that supports processes requiring this information...

 is queried to accumulate the specific data needed in the page.
The system is derivative of earlier forms of CGI
Common Gateway Interface
The Common Gateway Interface is a standard method for web servers software to delegate the generation of web pages to executable files...

 programming that allow a program running on a web server to generate HTML dynamically. With JHTML, you can author standard HTML and just insert a few extra tags that represent the pieces of the HTML page data that Java should be used to create. JHTML is a proprietary technology of ATG. Sun Microsystems
Sun Microsystems
Sun Microsystems, Inc. was a company that sold :computers, computer components, :computer software, and :information technology services. Sun was founded on February 24, 1982...

 licensed parts of this technology and developed the JSP
JavaServer Pages
JavaServer Pages is a Java technology that helps software developers serve dynamically generated web pages based on HTML, XML, or other document types...

system from the ATG page compilation system.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK