users@glassfish.java.net

Re: throttle webservice in glassfish possible?

From: <glassfish_at_javadesktop.org>
Date: Wed, 27 May 2009 10:06:29 PDT

This has an example.

http://docs.sun.com/app/docs/doc/819-3660/beaqm?a=view

You want to configure the sun-ejb-jar.xml file, and set the bean-cache and bean-pool parameters. In the example, they have a maximum of 100 beans, it adds 10 beans every time it wants more, but is under 100, and it keeps a minimum of 10 beans in the pool and cache at any one time.

Try this with the SSB that backs your WebService.
[Message sent by forum member 'whartung' (whartung)]

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