This content has been marked as final. Show 2 replies
There should be some code to check if gzip is an acceptable encoding before sending the data, not all browsers would support it.
These Servlets are not called by the Browser. They are used to communicate between an application client and the server.
If you set the Context Factory to org.jboss.naming.HttpContextNamingFactory you set the provider URL to the JNDIFactory servlet. You also setup an container configuration which uses the JMXInvokerServlet to invoke methods on the server.
My problem was the size of the objects transfered because the clients may also connect using a 56K modem. These objects have just been serialized without any compression. After using GZip the size reduced to an acceptable value.