Interacting with Oracle8i DB with Entity Beans

Discussions

EJB programming & troubleshooting: Interacting with Oracle8i DB with Entity Beans

  1. Interacting with Oracle8i DB with Entity Beans (1 messages)

    Dear Friends,

    I have recently started learning EJB.
     I want to use oracle8i as my database. I want to create entity beans(CMP) to interact with DB. I use Weblogic 5.1 Server.

    What should be the steps followed for this?

    Can anyone help me?

    Regards
    Deepak
  2. Steps
    1) Make changes in the weblogic.properties file for database connection pooling.
    2) Then for CMP specify the pool name and the table to be used in weblogic-cmp-rdbms-jar.xml file. The mapping between the database column and the filed used in
    program are done in this file only.
    3) in ejb-jar.xml specify the cmp fields

    i hope this will help any problem feel free to contact at
    shailender_rawat@hotmail.com