beautypg.com

Myfaces application on nonstop, Installing myfaces framework – HP Integrity NonStop J-Series User Manual

Page 146

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 222)

.

Figure 50

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

Figure 50 Message Flow of MyFaces Application

In

Figure 50

, 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 sections discuss installing and configuring MyFaces to customize it for your web
application development requirements.

Installing MyFaces Framework

This section discusses the steps required to complete the following activities:

146

MyFaces Framework

This manual is related to the following products: