This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

How to introduce Hibernate into existing project

 
vaidehi agate
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is one query regarding Hibernate
One question was asked to me during interview:
There is one existing project in which ejb as a business tier and oracle as a backend used.No matter what is used at frontend.
One need to introduce hibernate in this project.
What all new things need to configure and what should change in existing architeture.
Thanks
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hard to say exactly - I'm assuming the interviewer was interested in your thought process rather than a tick list of things to change. I'd probably answer this by asking questions about how the old application designed? If the application already uses a data access pattern then dropping Hibernate into it is fairly easy. Presumably being an EJB project there would be DTOs or similar objects that could be annotated as is. If you've got CMT you can consider transaction scoped sessions. They might want you to talk about how you would configure and access your SessionFactory etc.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic