You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dan Allen <da...@mojavelinux.com> on 2003/02/28 08:35:47 UTC
STRUTS With TORQUE
> We are rewriting an entire swing application and we have
> chosen Struts for
> the new web version of the product.
>
> For the database handling part, we are planning to use
> Torque. Does anyone
> have experience working with Struts / Torque or have
> Information especially
> on what can go wrong with this combo? Torque seems to
> be too good and easy
> to be true!!!
>
> Any info. would be greatly appreciated!!
There are some great examples in the book Struts Kick Start using
the torque framework. It does seem to be pretty amazing.
Dan
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, <da...@mojavelinux.com>
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"This is a test of the Emergency Broadcast System. If this had
been an actual emergency, do you really think we'd stick around
to tell you?"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
RE: STRUTS With TORQUE
Posted by James Turner <tu...@blackbear.com>.
> -----Original Message-----
> From: Dan Allen [mailto:dan@mojavelinux.com]
> Sent: Friday, February 28, 2003 2:36 AM
> To: struts-user@jakarta.apache.org
> Subject: STRUTS With TORQUE
>
>
> There are some great examples in the book Struts Kick Start
> using the torque framework. It does seem to be pretty amazing.
>
Unfortunately, there were some changes made in Torque between the
writing of the book and the release. If you use the examples in the
book with the version of Torque in the book, you're OK. If you want to
use the latest and greatest version of Torque, readers have contributed
some errata to the strutskickstart.com site detailing the changes you
have to make.
As for Torque itself, it's pretty amazing to me. I love the fact that
if I need to refactor the database for some reason, I can just edit the
XML schema description and the mapping objects automagically reconfigure
themselves after a new ant build. I wouldn't depend on it
performance-wise for a million transaction an hour site, but for the
bread-and-butter data mining and moderate traffic sites, I think it can
save a ton of development time. The only real trick is to make sure you
keep the Torque-specific stuff abstracted away (if you're careful, you
can even use the Torque objects in Actions that way, and save a layer.)
James
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org