• Post Reply Bookmark Topic Watch Topic
  • New Topic

Looking for a good example..  RSS feed

 
Fernando Bastos
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi there, I'm looking for a good example that shows some code with EJB CMP and the same code with hibernate..

I just want to compare how it's to write the same code but with different persistence mechanisms..

Maybe a link would be helpful also!


Regards!
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The EJB spec abstracts away the persistence mechanism -- so your code won't change at all. It's just a deployment issue depending on what server you're using. Your question should be "how do I persist to hibernate instead of JDBC mapping?"
 
Fernando Bastos
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there!

I'm starting in this subject and yes, I just want to see both hibernate and jdbc how it works...

so, I'm looking for these examples!


see ya!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!