Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I am unable to use Hibernate with tomcat5.0

 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Tomcat5.0 , I want to use hibernate with tomcat but don't know how . I have looked at the hibernate sites but was unable to understand it . I need some body to guide me through the the process of using hibernate .

Please is there any one who could tell me how to use hibernate . I am able to create applications with jsp-servlet-mysql.

 
binu narayanan
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you say what IDE you are using for development
 
Evan Caballero
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you should read some hibernate tutorials first. Hibernate is not an easy API to understand in 5 minutes, by reading a small thread in a forum ;)
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So, this is kinda like saying "I need to be able to drink coffee while driving a car. I know how to drink coffee. Can you teach me how to drink coffee while driving a car?" Sure, you can do both at the same, but you've got to focus one one at a time, and when you get a handle on both, do them both at the same time.

You can learn hibernate completely independent of Tomcat or any Servlet engine. When you understand Hibernate, and you also understand Servlet development, you'll find it very easy to pull them together.

Focus on some simple Hibernate tutorials. Here's a few tutorials I put together that are very easy to understand and step through:

Learning Hibernate

Good luck!

-Cameron McKenzie
 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
binu narayanan wrote:Can you say what IDE you are using for development


I am using editplus. I want to use editplus because it will help me understand the concepts better ...
 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cameron Wallace McKenzie wrote:So, this is kinda like saying "I need to be able to drink coffee while driving a car. I know how to drink coffee. Can you teach me how to drink coffee while driving a car?" Sure, you can do both at the same, but you've got to focus one one at a time, and when you get a handle on both, do them both at the same time.

You can learn hibernate completely independent of Tomcat or any Servlet engine. When you understand Hibernate, and you also understand Servlet development, you'll find it very easy to pull them together.

Focus on some simple Hibernate tutorials. Here's a few tutorials I put together that are very easy to understand and step through:

Learning Hibernate

Good luck!

-Cameron McKenzie



Sir I have used hibernate earlier but it was by using NetBeans IDE. Because Netbeans IDE is so good that i didnt understand any thing therefore i am developing a project in editplus now
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, it's not that good if you didn't understand anything.

I know what you mean, though. But stick with the basics and you'll learn hibernate quickly. Get the right jars, get a good database and set of JDBC drivers, write a little code, and test it all out. You'll be an expert in no time!

Keep asking questions. We're here to help you and keep you motivated.

-Cameron McKenzie
 
Varun Nayudu
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cameron Wallace McKenzie wrote:Well, it's not that good if you didn't understand anything.

I know what you mean, though. But stick with the basics and you'll learn hibernate quickly. Get the right jars, get a good database and set of JDBC drivers, write a little code, and test it all out. You'll be an expert in no time!

Keep asking questions. We're here to help you and keep you motivated.

-Cameron McKenzie


Yes Sir that's the reason i am using Edit plus .....So that i learn some thing through it......I also want some info about how to set up hibernate and where do all the files go ie in which directory .......in tomcat
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're approach to learning is a good one.

Here's a tutorial I have about setting up Hibernate and getting all the Jar files, as you mentioned. I do it without an IDE in the tutorial, so you do it all from the ground up - JDK, Hibernate libraries, Wordpad/Editplus, a database and a compiler. A great way to learn!

http://jpa.ezhibernate.com/Javacode/learn.jsp?tutorial=01howtogetstartedwithhibernate

-Cameron McKenzie
 
binu narayanan
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a tutorial I have about setting up Hibernate and getting all the Jar files, as you mentioned. I do it without an IDE in the tutorial, so you do it all from the ground up - JDK, Hibernate libraries, Wordpad/Editplus, a database and a compiler. A great way to learn!

http://jpa.ezhibernate.com/Javacode/learn.jsp?tuto...01howtogetstartedwithhibernate


Cameron McKenzie,


That was really an informative link. My knowledge about hibernate got refined thank you very much
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic