users@glassfish.java.net

Re: First webservice call times out, services take too long to load

From: <glassfish_at_javadesktop.org>
Date: Wed, 04 Feb 2009 18:06:05 PST

I don't have a @PostConstruct anywhere in my code.

I only initialize an object in the EJB constructor, I've taken that out with no change.

Someone on the JCAPS forum has suggested I run a process that hits the service every few minutes, that just calls a method that returns a string. This would keep the service 'warm'.

Any thoughts on that??

Thanks!
[Message sent by forum member 'tundrawolf_' (tundrawolf_)]

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