I have legacy application using `struts` & `ejb2.0`, `hibernate v3.0` running on JBoss v4.0 and now we have do migration of that application to new technology stack. We are exploring `pros` and `cons` of different technology stack and right now we have two options to decide from: `EJB3.0` & `JSF`, `Hibernate v4` on Jboss 7 or `Spring` & `Hibernate v4` on tomcat.

What parameters should I be considering to select one or the other or vice-versa?

**Update:**

Which of `EJB3.0` and `Spring` has efficient community support, side note - `ejb3.0` tag has 1097 questions and `spring` has 13297, and so some how am getting inclined towards Spring, also by not being an standard spring has an advantage of rapid upgrade's which would fix industry challenges pretty fast compared to ejb3. 

Thoughts?