Integrating myfaces into spring, Why integrate myfaces into spring – HP Integrity NonStop J-Series User Manual
Page 281

Figure 131 Console: Delete Employee
Integrating MyFaces into Spring
This section describes how a Spring application can use MyFaces to create Views. This is
demonstrated by modifying the EmpInfo application (developed in
section) using the Eclipse Galileo IDE.
The following topics are discussed in this section:
•
Why Integrate MyFaces into Spring
•
Example of Integrating MyFaces into Spring
Why Integrate MyFaces into Spring
MyFaces and Spring have their individual usefulness and capabilities. For example, MyFaces when
used for implementing Presentation Layer and Spring when used for implementing Business Layer
, makes a perfect framework for the development of web application.
This is because MyFaces enables you to create a rich graphical user interface for web application
and Spring uses Plain Old Java Object (POJO) and servlet classes, and other configuration files
to process the business logic in the Business Layer. With features such as IOC, DI, and AOP, the
Spring framework provides an ideal solution for implementing the Business Layer.
Integrating MyFaces into Spring
281