MODELO VISTA CONTROLADOR
FASE 1/ JavaServer Faces (Managed Beans) JavaServer Faces Hibernate (INICIAL) JavaServer Faces (Managed Beans) CONTROLADOR Identificar lógica de JSF UI Validation Event Handling JavaServer Faces Implementación de POJO´s Aplicar Patrón Abstract Factory VISTA MODELO Hibernate Visualizar Action/ Managed Beans FASE 2 FASE 3
FASE 1 MODELO VISTA CONTROLADOR pojo*.hbm.xml faces-config.xml <locale-config> <view-handler> <message-bundle> hibernate.cfg.xml <session-factory> faces-validation.xml <converter> <validator> faces-navigation.xml <navigation-rule> faces-managed-beans.xml <session> <request> <application> web.xml
FASE 2/ Spring (Core) JavaServer Faces Hibernate (DESEABLE) CONTROLADOR Spring (Core) Desacoplar ManagedBean que intervienen con flujo de controlador VISTA JavaServer Faces Librería AJAX Frameworks (Fábrica de Software) MODELO Bean para HibernateDAOFactory en un unión con patrón ServiceLocator Implementar Cache Hibernate FASE 1 FASE 3 JSF/Hibernate
FASE 2 MODELO VISTA CONTROLADOR pojo*.hbm.xml faces-config.xml <locale-config> <view-handler> <message-bundle> <miapp>-servlet.xml <bean> <!-- Form Controller --> hibernate.cfg.xml <session-factory> faces-validation.xml <converter> <validator> spring-security-context.xml* <security:http> <security:authentification-rule> <bean> <!-- Repositorio de Usuarios --> faces-navigation.xml <navigation-rule> faces-managed-beans.xml <session> <request> <application> web.xml
FASE 3 / Spring JavaServer Faces Hibernate (PLUS) (Core,Security,ORM) CONTROLADOR Librería AJAX Frameworks / Beans (Fábrica de Software) JavaServer Faces VISTA Abstracción para Spring ORM Object Relational Management Extender HibernateTemplate (Implementación Fábrica de Software) Hibernate MODELO FASE 1 FASE 2 JSF/Hibernate JSF/Spring(Core)/Hibernate
FASE 3 MODELO VISTA CONTROLADOR pojo*.hbm.xml faces-config.xml <locale-config> <view-handler> <message-bundle> <miapp>-servlet.xml <bean> <!-- Form Controller --> spring-security-context.xml* <security:http> <security:authentification-rule> <bean> <!-- Repositorio de Usuarios --> faces-validation.xml <converter> <validator> faces-navigation.xml <navigation-rule> spring-hibernate-context.xml <bean id=”dataSource”> <bean id=”sessionFactory”> <bean id=”jdbcExceptionTranslator”> <bean id=”hibernateTemplate”> <bean id=”transactionManager”> <bean id=”....Services”> faces-managed-beans.xml <session> <request> <application> web.xml
Operación de Negocio con Arquitectura Clásica
Operación de Negocio con Arquitectura Clásica Operación de Negocio con Nueva Arquitectura
JavaServer Faces Spring Framework Hibernate Front Controller (Faces Servlet) Flex / Silverlight MessageDriven UI Componentes Backing Beans Capa de Presentación Validación Recursos ZK Axis2 SessionBean JavaServer Faces RIA* WebServices* EJB* Interfaces de Servicio Gestión de Transacciones Declarativa Capa de Lógica de Negocio Gestión Beans Integración con Hibernate Servicio Beans Objetos de Negocio Spring Framework Mapeo O/R DAO Gestión Recursos Gestión de Transacciones Lucene* Capa de Integración Hibernate Contenedor Web Servidor J2EE
ESB Portales (SharePoint) Aplicaciones Móviles (JSF/ZK) Cloud Computing