This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) 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

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, <br />Prashant<br />SCJP, SCBCD
Valentin Crettaz
Gold Digger

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

[Blog] [Blogroll] [My Reviews] My Linked In
It is sorta covered in the JavaRanch Style Guide.
subject: deploying Entity bean with DB2 database
It's not a secret anymore!