-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: use hibernate + spring with a struts 2 web app???
PostPosted: Fri Mar 12, 2010 6:37 am 
Newbie

Joined: Tue Jan 05, 2010 2:33 pm
Posts: 15
What are the advantages of using spring in a web app with struts 2 and hibernate.

At the moment I have a web app which uses struts 2 . The struts 2 actions create an instance of the dao and the struts form objects are also hibernate persistence objects and they simply get passed from the action to the dao and are then persisted to the DB by the DAO.

My question is what would be the advantages if any of adding another layer to my webapp where a spring service is created by the struts 2 actions and then the spring service creates the dao and passes the form object to the dao.

Thanks in advance

Spunog


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.