This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 8927

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: db access thro' Entity Beans
 
It's not a secret anymore!