Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

deploying Entity bean with DB2 database

 
Prashant Neginahal
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic