Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

JSF vs Spring,which should be used?

user-image
Question added by Mazhar Habib , Software Engineer , I2C Inc.
Date Posted: 2015/12/05
Imran M
by Imran M , Integration Consultant , IBM

There can be different views, but I'd suggest Spring MVC, as it's a request-based framework like Struts. You've t to learn about core Spring stuff like Inversion of Control / Dependency Injection (but I'd consider that a plus...) and whatever you're going to use for database access (just JDBC, Hibernate, etc.).

JSF is component-based, which is a bit different paradigm from request-based frameworks.

Best luck on whichever technology you choose, though.

Mohammad Hakim
by Mohammad Hakim , Technical Head , Middle East Technologies

Spring is larger framework which also has MVC module. And JSF is MVC framework that makes rich UI development faster and easier due readiily available UI components. So depending on what you want you can either choose JSF or Spring MVC. If it is rich UI that you are looking to develop then JSF is an option (though not the only option).

 

If you choose JSF still you can use Spring for dependency injection, security, transaction management. Same way if you opt for MVC you can use all the spring features and it will be seamless integration!

Hope this helps..

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.