1 Reply Latest reply on Jul 1, 2002 12:17 PM by Dain Sundstrom

    Serveral questions about CMP2.x & JBoss 3.0.0

    Sylvain Munaut Newbie

      Hello, I have several questions :

      1) Where can I find documentation about jboss.xml & jbosscmp-jdbc.xml ? ( For JBoss 3.0.0 )

      2) What excactly is exactly JASS ?

      3) I'd like to create a several session bean ( in different package ) that uses the same bean but this one must access different DataSource depending on which session bean call it. So is there a way to put a config file in the package of each session bean to configure wich database the common entity bean will access ?

      4) Is there a way to define DataSource within a jar, without adding a xml file into the deploy directory but directly into the jar that use the datasource ?

        • 1. Re: Serveral questions about CMP2.x & JBoss 3.0.0
          Dain Sundstrom Master

          > 1) Where can I find documentation about jboss.xml &
          > jbosscmp-jdbc.xml ? ( For JBoss 3.0.0 )

          I think the jboss.xml file is described in the free Quick Start guide. You can read the DTDs for these files in the docs/dtd directory of the JBoss distribution, or you can buy the JBoss and JBossCMP documentation at FlashLine.

          > 2) What excactly is exactly JASS ?

          Java Authentication and Authorization Service. We use it to validate user credentials and to get credentials for databases (JCA).

          > 3) I'd like to create a several session bean ( in
          > different package ) that uses the same bean but this
          > one must access different DataSource depending on
          > which session bean call it. So is there a way to put
          > a config file in the package of each session bean to
          > configure wich database the common entity bean will
          > access ?

          This doesn't sound like a good design, but since is sounds like you will be writing raw JDBC you can open any datasource you like.

          > 4) Is there a way to define DataSource within a jar,
          > without adding a xml file into the deploy directory
          > but directly into the jar that use the datasource ?

          Don't know on this one. Not my area.