Announcement Announcement Module
Collapse
No announcement yet.
How to Build up global Connection Pool? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      How to Build up global Connection Pool?

      This is a perfect use for a shared OSGi service.

      Comment

      Working...
      X