Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reg: ejb with jdbc

 
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: 3388
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic