Myfaces application on nonstop – HP Integrity NonStop J-Series User Manual

Page 232

Advertising
background image

MyFaces Application on NonStop

MyFaces projects help you to design the user interface for your web applications. Because the
SPRING core is certified on NonStop and the Web Module of the SPRING core includes integration
components for any JSF implementation, the preferred way to use MyFaces is to integrate it with
SPRING. The web application thus developed can be deployed on NSJSP (the servlet container
on NonStop). The application thus inherits all the unique advantages of NonStop through NSJSP.

NOTE:

MyFaces can be integrated with the Spring framework using the Web module of Spring.

For more information on Spring and MyFaces integration, see

“Integrating Frameworks” (page 346)

.

Figure 68

shows the typical use of MyFaces projects to create web applications on NonStop.

Figure 68 Message Flow of MyFaces Application

In

Figure 68

, a typical web application, which can access a SQL/MX database, is developed by

integrating the MyFaces, Spring, and Hibernate frameworks. In the web application:

MyFaces implements the presentation layer.

Spring implements the business logic for the application (using features such as Inversion of
Control (IoC), Dependency Injection (DI), and aspect-oriented programming (AOP).

Hibernate implements the persistence layer.

Apart from the set of built-in components provided by the MyFaces core framework, you can also
develop custom components and validators depending on your application requirements. The
subsequent chapters discuss installing and configuring MyFaces to customize it for your web
application development requirements.

232 MyFaces Overview

Advertising
This manual is related to the following products: