users@glassfish.java.net

Singelton in a jax 2.0 webservice

From: allySan <allanhouston22_at_hotmail.com>
Date: Thu, 23 Oct 2008 07:32:37 -0700 (PDT)

Hi

Recently at work I received an email from a DBA asking if my web service may
use only one connection to a oracle db. I have created a web service that
stores some data in the db.
That means that I now need some kind of a singleton object.

My question is, is it possible to create a connection first time a client is
using webservice and then reuse this same connection object in another
client by using Singleton-pattern?


Kind regards
Ally G.
-- 
View this message in context: http://www.nabble.com/Singelton-in-a-jax-2.0-webservice-tp20132254p20132254.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.