|
-
Jan 6th, 2010, 12:29 PM
#1
Thread Starter
Hyperactive Member
Hibernate Concepts
Hello,
I like to understand Hibernate and implement it in a project. But I need help. Please help me to get the following resources.
1. Is there any good online tutorial on the subject Hibernate ?
2. What are good book on the same is available ?
3. What are the prerequisites knowledge to develop web application with the same ? Here I like to add that I know Java, Servlet and JSP. Along with this I have the concept of MVC. Is these sufficient to understand Hibernate or am I need to know some other topics also ?
Please help.
Thanks a lot in advance and will be waiting for the kind reply.
Thanks & Regards.
-
Jan 8th, 2010, 07:13 PM
#2
Re: Hibernate Concepts
First off, hibernate.org is the place to be.
There are some good tutorials in there. Study the basics and you should be fine.
I suggest you try using hibernate in a simple console app to see how hibernate is done, and if you still have issues you can post here or at the hibernate forums site. Usually, though all issues you'd encounter will have solutions posted in the net somewhere.
I've used hibernate in java as well as hibernate.net via castle's activerecord and I studied both on my own using online samples/tutorials and generally messing about with it.
I did not need the concept of MVC, but a concept of Entity(Model) and EntityManager(ModelManager) would do I think.
Entity is a POJO that follows Java Bean rules.
EntityManager is a class that handles persisting the Entity and will have methods for CRUD operations. In our practise, we instantiate an EntityManager passing to it a reference of the Session object that contains the connection to the database.
You'd encounter all this in the tutorials I believe.
Hope this helps.
-
Feb 18th, 2010, 03:40 AM
#3
Thread Starter
Hyperactive Member
Re: Hibernate Concepts
Thank you for the kind response oceanebelle. I already went through the site and few small tutorials on hibernate and I try to implement it using Java. But I found different problems in different occassions. It is really troublesome for me as a beginner. Please let me know whether there is any good tutorial that can help me from the scratch including implementation using Java. If possible then please give me some guidelines on the same by yourself. I am worried about it.
My platform are as below.
OS: Windows XP
IDE: Eclipse
I will be happy if you please help me to cope up the situation.
Thanks & Regards.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|