Glassfish V3: Asynchronous HTTP responses
By oleksiys on Dec 09, 2008
We've completed integration of the latest Grizzly 1.9.0 binaries to Glassfish v3.
One of the most interesting features, which now become available in GFv3, is asynchronous HTTP responses. Recently I described, how this feature could be used with the standalone Grizzly 1.9.0. Now it is also applicable for GFv3.
To enable asynchronous HTTP responses in GFv3, we need to add following line to the domain.xml (/domain/configs/config/java-config):
It's also possible to change the size of ByteBuffer pool, used for cloning ByteBuffers before asynchronous write (details). Again we can do this by adding domain.xml (/domain/configs/config/java-config) property:
PS: This feature has been added after GFv3 Prelude release, so is currently available on GFv3 trunk only.