-
Aug 5th, 2008, 09:32 PM
#1
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
-
Aug 7th, 2008, 02:38 AM
#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
-
Aug 12th, 2008, 06:01 PM
#3
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
-
Forum Rules