• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

deploying Entity bean with DB2 database

 
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
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic