Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

reg: ejb with jdbc  RSS feed

 
sri charan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

i am a new bee for ejb and java too, have one question can we use ejb with jdbc. i mean ejb session beans with jdbc(using data source). As i know we use ejb(s) to implement business logic and jdbc for database connectivity.

i just want to know is this combination will be comfert for live applications.....
 
arulk pillai
Author
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The answer is yes. Session beans are not database aware objects and you can use it with EJB entity beans, pure JDBC or ORM tools like Hibernate.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!