struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Husted" <hus...@apache.org>
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 <aaflores@gmail.com> 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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message