JADE simplifies the use of HyperText Markup Language (HTML) pages from an external source by providing the following facilities.
Importing HTML pages using a wizard or in batch mode
Creating the classes and properties for imported HTML pages
Methods for updating an HTML page by using the class and properties associated with the page and for receiving the updated instance of a class as a result of a Web request
User exits
Administration tools for maintaining HTML pages
Load and extract facilities
The HTML process flow is as follows.
A request is received from the Web browser.
The Web application receives the request and determines that it is an HTML page request.
If the application determines that it is the first request, it finds the home page and returns it to the Web browser.
If it is not the first request, the application creates an instance of the class associated with the page and updates its properties.
JADE logic accesses this instance and performs the required processing.
JADE logic sends a response back to the Web browser, which could be the same page updated or a completely new page.
Repeat the process, starting from step 1.
You can break into any phase of this cycle by using method reimplementation. For details, see "Reimplementing Methods to Interrupt the Processing Cycle", later in this chapter.
In this chapter, an HTML file is referred to as an HTML document and the presentation of that file on a Web browser at run time is referred to as an HTML page.