FAQ

[Struts-user] Upgrading Struts from 1 to 2.0.14

Frank W. Zammetti
Jan 13, 2009 at 8:59 pm

SanJ.SANJAY wrote:
Re-write? So if someone wants to upgrade struts, they have to be prepared to
re-write their application in new version ..if thats the case then I think
its the last thing a developer will do. If I have re-write the application,
I would rather look at some much better frameworks, like
spring-Hibernate/JSF.
Not sure I'd say JSF is a better framework than *anything*, but I digress...

You could always go with door #3: don't upgrade at all. S1 is still a
perfectly viable framework, and especially if you have no pressing need
(other than resume padding), then what's the point of upgrading at all?
There are TONS of perfectly good applications still in the wild running
on S1, and no one is clamoring to update many of them.

Dave is 100% correct: S2 != S1. They have a few concepts in common
naturally, but there is, I think it's fair to say, more that makes them
different than makes them alike. A complete rewrite is probably the
best bet (I heard tell of some porting possibilities, side-by-side
execution possibilities, but I'm not sure what the status of those are).

Or, as I said, no rewrite at all. Sometimes leaving well enough alone
really is the best option.

Frank

--
Frank W. Zammetti
Author of "Practical Dojo Projects"
and "Practical DWR 2 Projects"
and "Practical JavaScript, DOM Scripting and Ajax Projects"
and "Practical Ajax Projects With Java Technology"
(For info: apress.com/book/search?searchterm=zammetti&act=search)
My "look ma, I have a blog too!" blog: zammetti.com/blog


newton.dave wrote:
SanJ.SANJAY wrote:
Thanks Dave for the reply. I did not follow any process. I just wanted to
upgrade Struts from1 to 2.0.14. SO read at the user guide that you just
need
to throw the *.jar files to your
lib(http://struts.apache.org/1.x/userGuide/installation.html#Prerequisites).
That says Struts 1; you said you were upgrading to Struts 2. Anything
found in Struts 1 documentation, by definition, isn't particularly
useful for Struts 2.

To upgrade is this not enough what is the complete process to do that?
Re-write your application in Struts 2.

I wasn't kidding when I said that Struts 2 is ***completely*** different
than Struts 1.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
reply

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions