File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes how to use hibernate in servlet with in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "how to use hibernate in servlet with in eclipse" Watch "how to use hibernate in servlet with in eclipse" New topic
Author

how to use hibernate in servlet with in eclipse

anchit pancholi
Ranch Hand

Joined: Oct 14, 2010
Posts: 53
hi all,

i am using eclipse. i install plugin for both hibernate and servlet.
both are up and running separately . but i want to run both in single program or in single project.
is it possible ?? help me or please give some project example reference which is using both the things.

thanks in advance.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

...both are up and running separately...

What you meant by this? In Eclipse plugins are to help you the development process like for example an Hibernate plugin may allow you to reverse engineer from a database, create config files easily etc... What you expect from these plugins, and what specific plugins you installed?


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
anchit pancholi
Ranch Hand

Joined: Oct 14, 2010
Posts: 53
Vijitha Kumara wrote:
...both are up and running separately...

What you meant by this? In Eclipse plugins are to help you the development process like for example an Hibernate plugin may allow you to reverse engineer from a database, create config files easily etc... What you expect from these plugins, and what specific plugins you installed?


i mean.. i used hibernate to make communicate with database( it's my frt program how is take data) and use servlet(this my secd program which show the content) for how to show database data in browser. so i want to use both operation in one program . by that i can fatch data and display in browser.

thanks for quick reply.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3775

Ok, so you have to have at least a WAR file created (with Servlet, POJOs etc... bundled) and deployed in to a web container (like Tomcat).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to use hibernate in servlet with in eclipse
 
Similar Threads
How to execute hibernate in tapestry
sendRedirect
hibernate.cfg.xml not found
cannot create Hibernate project.
Servlet Jar Includes in Eclipse