wood burning stoves*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes look up datasource from session bean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "look up datasource from session bean" Watch "look up datasource from session bean" New topic
Author

look up datasource from session bean

Anuj Troy
Ranch Hand

Joined: Apr 07, 2005
Posts: 30
hii how can we lookup dataSource(to accessa db connection pool) from a session bean?

regards
anuj


SCJP 1.4, SCWCD 1.4
your eyes cannot see what your mind does not know
Keerthi P
Ranch Hand

Joined: Aug 19, 2003
Posts: 203


Cheers.<br />Keerthi<br />(SCJP, SCWCD, SCBCD)
Anuj Troy
Ranch Hand

Joined: Apr 07, 2005
Posts: 30
hii Keerthi

thanks a lot for the help i tried it today and it worked.


regards
anuj
 
 
subject: look up datasource from session bean
 
Similar Threads
02049: timeout: distributed transaction waiting for lock
org.hibernate.exception.GenericJDBCException: Cannot open connection
Bean Managed Transactions
Transaction EJB session bean
transaction in Container managed session bean