• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Query about JPA & Hibernate

 
Rituparna Duttagupta
Ranch Hand
Posts: 55
Firefox Browser Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello every one,
I am new to Hibernate & JPA, and also i've worked on EJB2.x, where we'd called the session beans/entitybeans through 'lookup' statements in servlet. now i want to know how can i call an EJB3 entity from a servlet, i've tried a lot created the entity class that handles a particular database table, but does not know the way to access the table from inside my application.
I have a StudentRegnDetails table in SQL2008 database, and want to register a student, means insert the student details into that table from ,say a servlet/jsp, how can i do that?
i have created an Entity class for that table and also configured the Hibernate framework. I am using the Netbeans7.0 IDE.
Please please someone help me by describibg the steps/codes, or by providing any step by step guide to the above process.
Otherwise i'll be in a great(my boss's going to kill me (honest)) problem.
 
Wouter Oet
Saloon Keeper
Posts: 2700
IntelliJ IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe you should be honest to your boss because if you are inexperienced with these technologies development will be slow.

There are a lot of tutorials about these subjects, you can start with something like this.
 
Rituparna Duttagupta
Ranch Hand
Posts: 55
Firefox Browser Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
THANKS FOR THE TUTORIAL.
yes i had told him that i am new to this, infact our company is using this framework for the 1st time. what my boss has to is that "you've to be in the learning process, and be willing to learn new technologies as n when required." :-)
so that's it and...
thanks again. :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic