-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate with Struts/JSP, Servlets
PostPosted: Tue Nov 28, 2006 3:01 am 
Newbie

Joined: Tue Nov 28, 2006 2:45 am
Posts: 1
We have an application (developed before 4 years) written using JSP, Servlets and JDBC (Informix database.)

We have decided to use Hibernate to replace the old style JDBC Connection & SQL query's. We are not able to decide if we should keep the JSP/Servlets or write it again in Struts.

Here is a question I would like to ask you.

a) Are there any special advantages (in addition to the ones we have if we use Hiberante and Struts separately) of using struts and Hibernate together ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 28, 2006 3:39 am 
Newbie

Joined: Mon Aug 14, 2006 8:06 pm
Posts: 18
Location: Montréal, Québec
I have a similar setup (Hibernate + Struts + other bits).

I am tempted to answer 'no' to your question. Hibernate and Struts are each pretty much totally oblivious of the other.

Each is a tremendous piece of software, and they happen to work well together. But I think if you choose to go for Struts, you'll do so on Struts's own merits, regardless of Hibernate.

(Given your pre-existing setup, I would be tempted to suggest you give a serious look at Spring, which is completely modular. You start by using Spring's ORM component along with Hibernate, and as you go, either Struts provides the MVC framework or Spring does. Only thing with Spring: steel yourself for a flourish of acronyms and lots of talk about "Aspect programming"...)

Now, I am fairly novice with all those questions: only four months of experience. So, don't rely on my comment only! Good luck!


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

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.