Hi Tom
Q1)     I am using
BMP with jboss server and have some problems when adding records to the
table....
It doesnt add records to the table....I am sure it is something todo with
jboss.xml or ejb-jar.xml
Can you please help me
The following is the part of ejb-jar.xml


<session>
      <description>DBConnection</description>
      <ejb-name>DBConnectionBean</ejb-name>
      <home>com.sr.espada.se.util.db.DBConnectionHome</home>
      <remote>com.sr.espada.se.util.db.DBConnection</remote>
      <ejb-class>com.sr.espada.se.util.db.DBConnectionBean</ejb-class>
      <session-type>Stateful</session-type>
      <transaction-type>Container</transaction-type>
   <ejb-ref>
         <ejb-ref-name>ejb/DBConnection</ejb-ref-name>
         <ejb-ref-type>Session</ejb-ref-type>
         <home>com.sr.espada.se.util.db.DBConnectionHome</home>
         <remote>com.sr.espada.se.util.db.DBConnection</remote>
         <ejb-link>DBConnectionBean</ejb-link>
   </ejb-ref>

    IS THIS CORRECT WAY TO GIVE a JNDI rference for ENVIRONMENT FIELD
URL.......
    What are tags I should have in JBOSS.XML
    <env-entry>
        <env-entry-name>URL</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>

<env-entry-value>jdbc:oracle:thin:@xxx.xxx.x.x:xxxx:database</env-entry-valu
e>
   </env-entry>
      <env-entry>
        <env-entry-name>JDBCUser</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>indika</env-entry-value>
      </env-entry>
      <env-entry>
  <env-entry-name>Password</env-entry-name>
        <env-entry-type>java.lang.String</env-entry-type>
        <env-entry-value>indikapwd</env-entry-value>
      </env-entry>
    </session>

Q2)In your jboss-jar.xml what these tags for

        <resource-ref>
             <res-ref-name>jdbc/CorpDataSource</res-ref-name>
             <resource-name>CorpDataSource</resource-name>
        </resource-ref>

what is CorpDataSource means...etc...In my case I didnt have those ....
Q3)
I am very much confidence in writtting CMP and they work perfectly..but I am
strugling with BMP as jboss haven't any good examples on BMP's....Can you
please give some sites to learn this stuff

thanx very much......

I am writting ti u cos I need a quick answer as jboss Mailing List is not
getting the new MAiling Lists(I guess)...
TIA
INDi....




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to