This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes db access thro' Entity Beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "db access thro Watch "db access thro New topic
Author

db access thro' Entity Beans

Prakash Krishnamurthy
Ranch Hand

Joined: Oct 08, 2002
Posts: 154
I am quite new to Enterprise Java Beans.My question is
How do you specify that you wish to access a particular database through the Entity Bean? Do you specify this in the deployment descriptor?
For e.g. you want to update the Bank Account information in the "Bank Account" entity bean. THe RDBMS is Oracle and the database name (or in this case the SID)is First Bank of Colorado(say).
How would you accomplish this?
[ December 03, 2003: Message edited by: Prakash Krishnamurthy ]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8903

How do you specify that you wish to access a particular database through the Entity Bean? Do you specify this in the deployment descriptor?

This is done in a vendor specific manner. You could download any J2EE compliant server and read their docs.


Groovy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: db access thro' Entity Beans
 
Similar Threads
Database for Entity Bean
Remote interface in EJB
Do we need specify transaction attribute for ejbRemove of Entity Bean
From HFEJB book- pg.108
Entity Bean Question