• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

I am unable to use Hibernate with tomcat5.0

 
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you say what IDE you are using for development
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ;)
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic