Results 1 to 3 of 3

Thread: How to Build up global Connection Pool?

  1. #1
    Join Date
    Oct 2008
    Posts
    0

    Default How to Build up global Connection Pool?

    Dears,

    I wonder how to build up global connection poll.Just like Weblogic,
    The pool can be used by all apps.SpringSource support WAR,PAR,WEB module.
    I don't know which one is OK? use bundle?

    Thanks,

    Zooe

  2. #2
    Join Date
    Oct 2008
    Posts
    493

    Default How to Build up global Connection Pool?

    Hi Zooe,

    You can deploy a standalone bundle which exports a pooled datasource to the OSGi service registry. Other standalone bundles, bundles within a PAR, a shared services WAR, etc., can then consume this datasource from the service registry.

    Take a look at the PetClinic sample, and its infrastructure bundles in particular, for an example of exporting a datasource to the service registry.

    Regards,
    Andy

  3. #3
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default How to Build up global Connection Pool?

    This is a perfect use for a shared OSGi service.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •