Discussions

EJB programming & troubleshooting: problem in creating deployment descriptor

  1. problem in creating deployment descriptor (4 messages)

    hi there,
       I have got an entity bean which connects to oracle
    database. How and where can i give thr name of the driver and the JDBC_URL.
                    
  2. What app server u use ?
  3. Hi edde,

          Thanks for your response. I am using Weblogic 6.0
                               Rahul
  4. Hi,

    I would suggest using a DataSource object instead. All J2EE-compliant app servers support DataSource, which is a database connection pool object managed by the server. Each DataSource (database) is defined in the server config file, so nothing appears in the deployment descriptor.

    Check it out-- it's part of the JDBC2.1 optional package as well as the J2EE API.

    John
  5. Thanks