EGL provides support for Web-based applications in the following ways:
- You can develop a PageHandler, which is a logic part whose functions
are each invoked by a specific user action at a Web page. Generation of this
logic part also can provide a JavaServer Faces JSP for customization.
- You can provide functionality that is common to several Web pages, as
when each page in an application displays a button that the user clicks to
log out. The user's click in this case can invoke an EGL program, which acts
as a common subroutine.
- You may want to retrieve an item of information (such as a stock price)
or cause another action (such as building an output string to send by e-mail)
when the functionality is useful across multiple applications. In this case,
build a Web service, which is a set of operations that can be invoked by many
Internet-based clients. For an overview, see EGL services and Web services.
- You can update a VGWebTransaction program, which allows you to structure
a Web application as if you were developing a text application. This type
of program is supported for VisualAge® Generator migration and is not recommended
for new development. For an overview, see Use of an EGL program in a Web
application.
- Finally, when you work in the WebSphere® Page Designer, you can customize
JavaServer Faces JSPs and can affect PageHandlers, as described in Page
Designer Support for EGL.