File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 8919

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
 
 
subject: db access thro' Entity Beans