On Dec 21, 2007 9:23 PM, Alberto A. Flores <[EMAIL PROTECTED]> wrote: > If you are following the typical scenario, here are some of the things > you would lose (that no Struts release will do): > > - Transaction Management (if you are using Spring for this) > - AOP support > - Dependency Injection > - JNDI lookups > - Scalable security > - Simple programming model
The original question was Struts2 + Hibernate (or JPA). Not every application needs to scale, and in fact probably 80-90% of web applications have a predefined number of intranet users. Most of these applications may not need AOP, JNDI, scalable security, or transaction management beyond "never mind" rollback. For many applications, dependency application could be handled by a custom interceptor, which may be a simpler programming model, if you don't need the rest of what Spring offers. I'm not trying to criticizing Spring. I'm just trying to point out that we should try to distinguish between small-scale and larger-scale application, and choose the best tool for the job at hand. -- HTH, Ted * <http://www.StrutsMentor.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]