aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes reg: ejb with jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "reg: ejb with jdbc" Watch "reg: ejb with jdbc" New topic

reg: ejb with jdbc

sri charan

Joined: Dec 04, 2007
Posts: 14

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
Ranch Hand

Joined: May 31, 2007
Posts: 3223
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.

Java Interview Questions and Answers Blog | profile | Java Interview Books
I agree. Here's the link:
subject: reg: ejb with jdbc