Elaborating on the benefits of IOC is way beyond the scope of a
simple email on a simple mailing list. There are books for that
purpose. Once you've decided to use Spring, it provides first class
integration with Hibernate. I won't bore you with the benefits of
choosing Hibernate either, that's why we have books and articles on
that end as well.
Among the wonderful things you can do with Middlegen, I have had
great success with the plugin for generating Hibernate mapping files
from a JDBC source:
http://www.hibernate.org/98.html
On a recent project, the core developers extended Middlegen to
generate both the DAO and initial shell of a service layer. Combine
that with a rather thorough and complete set of unit tests and they
are able to move the project along as requirements grew and the
project matured, all the while guaranteeing 100% test coverage and
100% backward compatibility with the changing API. As I was
implementing the front end and facades, it was trivial to hook into
any of the generated service objects and get whatever I wanted on the
back end. I just love autowiring!
It is a rather impressive stack and it would take a lot to convince
me that there is a better solution.
--
James Mitchell
EdgeTech, Inc.
http://edgetechservices.net/
678.910.8017
Skype: jmitchtx
On Feb 20, 2006, at 3:35 PM, Garner, Shawn wrote:
Can you elaborate on Spring and Middlegen?
I've looked at their websites (Spring a couple times before) but I
fail to
see how they are beneficial to use.
Shawn
-----Original Message-----
From: James Mitchell [mailto:[EMAIL PROTECTED]
Sent: Monday, February 20, 2006 2:26 PM
To: Struts Users Mailing List
Subject: Re: [OT] Ruby on rails VS Java Based Web Applications
Struts (right now!) let's you setup a single action mapping (wild
card mapping) and a single LazyDynaBean, and then you can add as many
Actions and JSPs as you like (at runtime no doubt) and your changes
are instantly available without ever rebooting or touching xml again.
Between that and the Spring/Hibernate/Middlegen love boat and you'll
think twice about Rails.
--
James Mitchell
EdgeTech, Inc.
http://edgetechservices.net/
678.910.8017
Skype: jmitchtx
On Feb 20, 2006, at 2:10 PM, Garner, Shawn wrote:
Can anyone give me pros and cons of using Ruby on Rails verses a
Java Base
Web Application (Struts, JSF, etc)?
Seems like Rails is moving towards less or no configuration files
while
JSF/Shale is leaning towards more.
Shawn
*********************************************************************
*
******
This email may contain confidential material.
If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.
*********************************************************************
*
******
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
**********************************************************************
******
This email may contain confidential material.
If you were not an intended recipient,
Please notify the sender and delete all copies.
We may monitor email to and from our network.
**********************************************************************
******
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]