aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes deploying Entity bean with DB2 database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "deploying Entity bean with DB2 database" Watch "deploying Entity bean with DB2 database" New topic
Author

deploying Entity bean with DB2 database

Prashant Neginahal
Ranch Hand

Joined: Sep 14, 2002
Posts: 77
Guys, i am using RI app server and DB2 database for parsistence. Can somebody help me in where/how to set the info like database jndi name, driver name etc in RI to access the database. I know in 'Databse Settings' of deploy tool we can specify JNDI name, User name and passowrd. But where the DSN name is configured?

If I am not wrong, in Jboss, we specify these info in config.xml. Like this is there any place in RI where i can configure JNDI names to access any databases.

Thanks,
Prashant


Thanks, <br />Prashant<br />SCJP, SCBCD
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
This kind of information can be best found in the J2EE 1.3 tutorial:
Database Connections for Enterprise Beans

Also you have to consult the DB2 documentation for configuring database access:
DB2 Configuration
DB2 URL


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: deploying Entity bean with DB2 database