users@glassfish.java.net

Re: singleton lifecycle webservice

From: <glassfish_at_javadesktop.org>
Date: Fri, 27 Aug 2010 07:57:16 PDT

I did more tests and I found that the problem is logging: if I comment the line [b]Logger.getLogger[/b] then it takes 10 seconds on V3, more or less same as V2. I don't know why.

I'm still looking why it's singleton on V2 but no-singleton on V3. I tried javax.ejb.Singleton and javax.inject.Singleton annotations but they don't work.

Any help?
[Message sent by forum member 'emoya']

http://forums.java.net/jive/thread.jspa?messageID=481167