ابدأ بالتواصل مع الأشخاص وتبادل معارفك المهنية

أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.

متابعة

JSF vs Spring,which should be used?

user-image
تم إضافة السؤال من قبل Mazhar Habib , Software Engineer , I2C Inc.
تاريخ النشر: 2015/12/05
Imran M
من قبل 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
من قبل 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..