struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <>
Subject Re: struts 2 vs struts 1+spring
Date Sat, 22 Dec 2007 14:11:32 GMT
On Dec 21, 2007 9:23 PM, Alberto A. Flores <> 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
* <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message