3 Replies Latest reply on Jul 11, 2002 5:45 AM by mccaffc

    db pool

    sheldonji

      I am connecting to the Sybase database in session bean, I am bypassing entity bean. How can I use JBoss's connection pool? Thanks.

        • 1. Re: db pool
          mccaffc

          Just use normal JDBC /Bean managed persistence from the session bean. You'll need to set up a DataSource for your database (look in the online docs) and then just use JNDI to look up your datasource. It'll give you pooled connections.

          Cheers,

          Chris

          • 2. Re: db pool
            cdmdev

            I am having a problem setting up a connection pool. Can you point out what section etc you are refering to for the online doc? I am trying to connect to Oracle, but I am having difficulties tieing together the xxx-services.xml file with the ejb-jar.xml and jboss.xml files. Any help is appreciated.

            • 3. Re: db pool
              mccaffc

              Are you using JBoss 3.0 or JBoss 2.4+?

              For JBoss 3.0, I browsed the old volunteer documentation, which had been updated for version 3.0, which has gone now (annoying).

              For JBoss 2.4+, I would recommend the paid-for manuals. But there is some free documentation on the documentation page http://www.jboss.org/docs/