Spring MVC vs JSF

I haved used Struts framework in all my past applications and for the new application,my client has requested to use either Spring MVC or JSF? I am not familiar with these two frameworks but our timelines are strict. So, I am not sure which framework I will choose to build the application.

Can anyone please suggest me which framework will be easy to learn in quick time?


spring MVC + jsf + jquery

I am trying to integrate spring mvc with jsf and jquery. The page shows only the hard-coded text, although the 3s timer is executed and the page is reRendered, however then the memory usage spikes up

Using Spring MVC with JSF

Im using Spring MVC by itself till now, works great, but i hear from friends that JSF is also good, has some good visual stuff, even though i dont really know much bout JSF. So my question is: Is it p

spring mvc vs seam

Spring mvc is a framework that has been long time out there, it is well documented and proven technology. A lot of web sites are using spring. Seam is a framework based on jsf – rich faces implementat

Jsf component libraries with Spring MVC

Can I use jsf component libraries(primefaces) with spring mvc .I have problem with client side development so i want a simple way of creating user interfaces .And I dont like jsf life cycle .I need a

Running spring MVC along side of JSF

I want to write some new functionality in spring MVC, the problem is that the current site is written in JSF 1.2. It does use spring 2.5 application context, but thats all. I am thinking i can drop

asp.net mvc vs spring mvc

Can anyone please make a comparison of asp.net mvc vs spring mvc (java). Which technology is better in performance, productivity, maintenance, features,… Regards, sirmak

Spring MVC with JSF 2, is this the only way?

All the examples I’ve seen so far integrating spring/mvc with JSF uses DAO class, DAOImp, Service, ServiceImp and then JSF ManagedBean and as far as I know with EJB 3.1 all I need is EJB and JSF Manag

What is the advantage of JSF with spring MVC? [closed]

I am trying to figure out what is the advantage of using JSF with spring MVC apart from set of different UI component that JSF implementation provides? Both are MVC and both have different perspective

Spring mvc + JSF on GAE

I have a problem with implementing spring mvc + primeFaces on GAE, i think that all works fine except when i try to modify values of my bean by sending post, values remain the same as before. Here is

Differnt between Spring MVC vs Oracle ADF? [closed]

Differnt between Spring MVC vs Oracle ADF Advantage and disadvantage of Spring MVC and Oracle ADF Which one is best Spring MVC or Oracle ADF Thanks in Advance


Of course, it’s going to be different for everyone, but I’d suggest Spring MVC, as it’s a request-based framework like Struts. Of course, you’ll want 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? iBatis? etc.).

JSF is component-based, which is a bit different paradigm from request-based frameworks. If you do plan to go the JSF route, I’d suggest looking at Seam from JBoss. It’s more of a front-to-back framework that uses JSF as the web/presentation end and EJB as the backend. And pretty much all the people who’ve used it claim it makes JSF and EJB more usable than they are by themselves.

Good luck on whichever technology you choose, though. (Sounds like you’ll need it – strict timelines and a client that’s prescribing web frameworks?)

I’d suggest SpringMVC, because of the timeframe:

  • you need something with less steep learning curve. SpringMVC is more like Struts than JSF
  • in order to use the power of JSF you need to get familiar with many “tricks”, while SpringMVC is more or less straightforward

I’d suggest JSF + Primefaces component library. I am using this combination to build most of our projects. As I remember, I spent one week to learn the technology and finished my first project in one month. The development time at least 30% faster than Struts.

SpringMVC is not a bad technology and it’s quite popular.

Really depends on which one your like the most.

Of course, you’ll want to learn about core Spring stuff like Inversion of Control / Dependency Injection (but I’d consider that a plus…)

JSF is indeed based on IoC, and much simpler than the Spring learning curve.

JSF is just the view layer of the MVC and wil need to be used with other technologies like Spring/Hibernate or EJB for a full MVC.

I have been using the Spring MVC for about 1 months now, whilst it’s probably not the latyest version of SpringMVC I’ve found it a little annoying that we have so much XML to deal with. All the managed beans and DAO has XML config to it. Also everything seems to have to go thorugh a method called onSubmit().

JSF with something like EJB is far simplier in my opinion… Everything can be done using Annotations so simply use @ManagedBean=theBean in your backing bean and in your JSF put {thebean.param} and you have access to the backing bean’s data. Also you can use the Session beans of your EJB as the backing beans for JSF then have direct acces to the DAO (Model layer) Entity bean. Again simply by using the @Entity annotation and the EntityManager class

Spring MVC is a web framework inside the Spring framework. It does provide features as those in JSF 2.0: ajax-support validation dependency-injection etc Yet, you can use Spring (not Spring MVC) together with JSF 2.0, with spring providing the dependency-injection, aop, transaction management mechanisms, and JSF providing the web layer.