1 Reply Latest reply on Sep 28, 2002 10:05 AM by davidjencks

    How do you offer clients a database connection?

    chadlavy

      I would like a starting point on how to offer remote client applications a database connection that is aquired using the getConnection method of the DataSource class. Something geared towards DB2 would be ideal, but any example or push in the right direction would be appreciated.

      Thank You,
      Chad Lavy

        • 1. Re: How do you offer clients a database connection?
          davidjencks

          Basically you can't and that is a good thing.

          If, after carefully considering the architectural implications of database access directly from a client, you still want to do this, run your client application inside a mini-jboss with only basic services, naming, possibly the tx manager, and the server-side jca stuff. This is essentially what the spec mandated client container is (that we have not implemented)