Re: Java service with db connection pooling

2010-05-13 Thread S . Schadwinkel
Hi Simon, Try adding @Scope("COMPOSITE") to your component implementation, for example, @Scope("COMPOSITE") class MyComponentImplementation implements MyServiceInterface { ... } This means that only one instance of the component is created. From that instance you can do what you need at ini

Re: Java service with db connection pooling

2010-05-12 Thread Simon Laws
Hi Stefan Some initial comments in line On Wed, May 12, 2010 at 8:57 AM, wrote: > Hi! > > I'm relatively new to Tuscany and the JEE world, so I have a few questions > on to correctly provide a service in a production environment. > > What I'm generally want to do is to provide the output of

Java service with db connection pooling

2010-05-12 Thread S . Schadwinkel
Hi! I'm relatively new to Tuscany and the JEE world, so I have a few questions on to correctly provide a service in a production environment. What I'm generally want to do is to provide the output of certain computational simulations stored in a database to a php-based web frontend, the o