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.  [ 3 posts ] 
Author Message
 Post subject: Can I Use Hibernate
PostPosted: Mon Feb 01, 2010 8:36 am 
Newbie

Joined: Mon Feb 01, 2010 8:23 am
Posts: 1
Hi Friends,

I'm developing web applications in struts Framework for nearly 2 yrs. My TL asked me to go through Hibernate and learn it. I'm afraid my 2 yr Experience on struts gonna be waste. Whether Hibernate is related with struts frame work . Can any one suggest me what can i do.


Top
 Profile  
 
 Post subject: Re: Can I Use Hibernate
PostPosted: Mon Feb 01, 2010 9:02 am 
Newbie

Joined: Wed Jun 10, 2009 5:11 pm
Posts: 4
well you should probably go throw the Struts + Spring IoC + Hibernate . Hibernate stays only for the database-level, Spring IoC - would provide you the possibility to integrate Struts with Hibernate.

I guess the most reliable example for that would be looking at the AppFuse Maven archetype :) have a look here http://appfuse.org/display/APF/AppFuse+QuickStart#AppFuseQuickStart-create

or simply in your console execute:
Quote:
mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-light-struts-archetype -DarchetypeVersion=2.1.0-M1 -DgroupId=com.mycompany -DartifactId=myproject


and digg into the code!


Top
 Profile  
 
 Post subject: Re: Can I Use Hibernate
PostPosted: Mon Feb 01, 2010 8:17 pm 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
Your Struts knowledge won't be a waste, because all of the major frameworks out there today share much in common with Struts.

However, Struts is pretty heavily related to the front end. Hibernate is more focussed on the backend. I'd say learning Hibernate will compliment your Struts knowledge and make you a better programmer.

For some good tutorials to start with, check out my signature links.

Good luck!

http://jpa.ezhibernate.com/Javacode/lea ... hhibernate

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.