JHTML stands for
Java
Java is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea (a part of Pacific Ocean) to the north. With a population of 156.9 million people (including Madura) in mid 2024, proje ...
within
HTML
Hypertext Markup Language (HTML) is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets ( ...
. This is a page
authoring system
An authoring system is a program that has pre-programmed elements for the development of interactive multimedia software titles. Authoring systems can be defined as software that allows its user to create multimedia applications for manipulating m ...
developed at
Art Technology Group (ATG). Files with a ".jhtml"
filename extension
A filename extension, file name extension or file extension is a suffix to the name of a computer file (for example, .txt, .mp3, .exe) that indicates a characteristic of the file contents or its intended use. A filename extension is typically d ...
contain standard
HTML tags in addition to proprietary tags that reference Java objects running on a special server set up 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
An application server is a server that hosts applications or software that delivers a business application through a communication protocol. For a typical web application, the application server sits behind the web servers.
An application ser ...
runs the code in the .class file as a servlet whose sole function is to emit a stream of standard
HTTP
HTTP (Hypertext Transfer Protocol) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, wher ...
and HTML data back to the HTTP server and on back to the client software (the
web browser
A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
, 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
In computing, a database is an organized collection of data or a type of data store based on the use of a database management system (DBMS), the software that interacts with end users, applications, and the database itself to capture and a ...
is queried to accumulate the specific data needed in the page.
The system is derived from earlier forms of
CGI 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, Inc., often known as Sun for short, was an American technology company that existed from 1982 to 2010 which developed and sold computers, computer components, software, and information technology services. Sun contributed sig ...
licensed parts of this technology and developed the
JSP system from the ATG page compilation system.
References
HTML
Java platform
{{Compu-lang-stub