Re: WSIFServiceFactory.newInstance() not a singleton?

Aleksander Slominski <[email protected]> Thu, 24 Nov 2005 11:54:15 -0500
Newsgroups gmane.comp.apache.webservices.wsif.user
Message-ID <[email protected]>
Andrzej Jan Taramina wrote:

>Is there a reason that WSIFServiceFactory.newInstance(); always returns a new 
>instance, rather than a singleton of the factory?
>
>Is the WSIFServiceFactoryImpl not threadsafe perhaps?
>  
>
there was long discussion about it. what you say makes sense and that 
would be ideal to make service factory a singleton (and speed up things) 
however there were some concerns raised AFAIR regarding J2EE/JNDI (but 
my memory is short).

the biggest problem with current codebase are unit tests - it is several 
months i was not able to run them (i lost previous setup, they are not 
very well documented, and they have some stuff that is very hard to run 
or maybe impossible ... )

alek

-- 
The best way to predict the future is to invent it - Alan Kay