Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Does It make sense to Integrate JSF , Hibernate , Spring with Each other ?

What it is the advantages of Integrating JSF , Hibernate , Spring with each other? How does this will reflect on the application performance? Also what about Integrating Activiti BPMN2.0 Inside your application?

user-image
Question added by Abdelaziz Ibrahim Allam , Etisalat UAE
Date Posted: 2013/12/07
Ali Badr
by Ali Badr , Senior Java Developer , Technical Solution Company

based on MVC Framework and the3tiers approach I can take advantage of each one of them

1- JSF is rapid Development approach and also is easy for implementing the presentation tier.

2- Spring with it's MVC is very good and maintainable in business tier.

3- Hibernate is for sure used in the persistance layer or DAO.

to provide a three tier architecture we integrate these things together to make the application easily modifyable and accessible.

Bassem Zohdy
by Bassem Zohdy , Senior Software Architect , HelpAG

Spring integration with most known other frameworks, to integrat with hibernat you can use jpa also consider spring Data project, for integration with jsf you will need to add EL resolver in faces-config check this link http://www.mkyong.com/jsf2/jsf-2-0-spring-integration-example/, also consider spring MVC as alternative to JSF, using them together is OK but depends on your project, if your project just CRUD application and not have complex in service layer, spring will only help with spring Data but you may face complixity you do not need, to integration with Activiti  spring is very good option as Activiti is developed by spring and can integrat with it using spring easier.

Asif Akbar Mohideen Shahul Hameed
by Asif Akbar Mohideen Shahul Hameed , System Engineer , tcs

Using Jsf the UI layer development is made very easy.I suggest not to use spring El Resolver.we can use Managed Beans for JSF with Spring for Business Services and Hibernate at Dao Layers.Regarding Performance if you start using JSF composites performane will be bad

Abdelaziz Ibrahim Allam
by Abdelaziz Ibrahim Allam , Etisalat UAE

Ok No problem What the matter That I consern about is the Performance about the application after deployment  what About the performance ?