-
1. Re: Enabling transport compression with JBossWS
mo_ctaylor Nov 21, 2006 10:17 AM (in response to mo_ctaylor)
Any suggestions as to where to modify the client of a service to announce that it supports compression (sending "Accept-Encoding: gzip, deflate") and where to modify the client to do the actual compression and decompression? This is a J2SE client.
Please help!
TIA,
Cindy -
2. Re: Enabling transport compression with JBossWS
mo_ctaylor Nov 28, 2006 11:35 AM (in response to mo_ctaylor)
I discovered that there were performance fixes with JBossWS and with JBossXB so I have followed the upgrade instructions and have upgraded to JBossWS-1.0.4.GA.
The Web Services do work faster now but we will still have a performance issue. I would like to get transport compression working with JBossWS but still have not figured out how to do so. I am wondering if JBoss Remoting can be used to get compression working. As far as I can tell it seems like JBoss Web Services uses JBoss Remoting. JBoss Remoting has pluggable data marshallers and on the JBoss Remoting Wiki it states that there exists data compression marshallers/unmarshallers for compression of large payloads. Is there a configuration file that I can modify so that my JBoss Web Services Clients and Providers use the CompressingMarshaller and CompressingUnMarshaller? Is there another way to get transport compression to work with JBoss Web Services?
Thanks,
CIndy -
3. Re: Enabling transport compression with JBossWS
mo_ctaylor Jan 19, 2007 10:46 AM (in response to mo_ctaylor)Are there any plans for JBossWS to upgrade to Remoting 2.0.x and use the new feature http://jira.jboss.com/jira/browse/JBREM-425;jsessionid=506E94EEC425428E9D0B647DBCB56E7C so that clients can indicate that they accept compressed transport data and actually use the compression unmarshaller if data is received that is compressed? It would be nice if this was exposed to a configuration file.
Also I'm not sure if it is possible for a J2SE web service client easily send its transport data as compressed, but if it is and can be made configurable that would be usesful too.
Another reference is from the Remoting User forum http://www.jboss.org/index.html?module=bb&op=viewtopic&t=96233 -
4. Re: Enabling transport compression with JBossWS
thomas.diesler Feb 14, 2007 2:57 PM (in response to mo_ctaylor)jbossws endpoints are exposed as webapps on tomcat. A prerequisite for this kind of optimization would be to use remoting on the server as well. I even think there is a jira for it - contributions are welcome.