Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

JSF vs Spring,which should be used?

user-image
Question ajoutée par Mazhar Habib , Software Engineer , I2C Inc.
Date de publication: 2015/12/05
Imran M
par 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
par 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