You're asking about Entity Beans which are a specific type of EJB (which stands for Enterprise Java Bean).
The database connection is obtained from a DataSource which is bound in the JNDI repository of the J2EE server. This DataSource is configured in a vendor (J2EE server) specific fashion.
There is also a set of vendor-specific XML deployment descriptors which allow Entity Beans access to connections obtained from the DataSource.
Do you have a particular J2EE Application Server in mind?
Tim
--------------------------- "Your morbid fear of losing,
destroys the lives you're using." - Ozzy
just click sometimes like connection manager in workshop of weblogic.
I think you can set up something about connection when you creating a new domain from weblogic template...
I have tried using ejb in weblogic with MySQL and Oracle..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.