aspose 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
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply 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: 8876

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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: db access thro' Entity Beans
 
Similar Threads
Do we need specify transaction attribute for ejbRemove of Entity Bean
Remote interface in EJB
Entity Bean Question
From HFEJB book- pg.108
Database for Entity Bean