Wicket as a web service framework
Hi All,I am interested in using wicket as web service framework. We already use it to serve a web and mobile web browser application but now we have a need to open up the API for other types of client and I think it would be great if I can leverage a lot of the wicket work already done like the authentication and form validation. I see from this blog post that others have thought of this and indeed it shows how to implement a simple web service, however Jonathan's comment below makes a good point as I will also need to handle POST requests http://blog.brunoborges.com.br/2008/11/restful-web-services-with-wicket.html So I am wondering if anyone has taken this further and perhaps we could talk about how to best approach this strategy or perhaps you think I am completely mad to even think about using wicket in this way in which case please do say so.
GZip HTML response
Hi All, I really need to enable GZip compression for HTML in my app, I see in Jira that there is a bug fix for this but its not released in the stable build. In the comments it suggest he following code snippet class GZipBufferedResponse extends BufferedResponse { public void close() { String result = toString(); if (result.length != 0) { getOutputStream().write(compress(result)); } } but I don't have a clue what to do with it, could anyone point me towards the correct class where I am supposed to use this? thanks in advance CD
SerializableChecker flagging transient member variable
Hi All, I am finding that the SerializableChecker is throwing an exception of for the transient variable SoftReference in CompressedPackageResource.CompressingResourceStream Is this a mistake on the checkers part or am I possibly doing something wrong? cheers CD wicket 1.3.3 on Linux
SSL switching
Hello,I have implemented the SSL switching method as described in http://cwiki.apache.org/WICKET/how-to-switch-to-ssl-mode.html that rewrites the URL and does a redirect. In does work to a point but I have a few questions: 1) when the redirect occurs a new session is started, is this correct or have I done something wrong? 2) Are cookies carried over from the original request to the new one? I have tried debugging this but I get lost in the deeper parts of the request cycle and just cant work out what should be happening. thanks in advance Chris D -- Voicemail that's yours to keep! Sign up @ www.hullomail.com Chris Davis Senior Developer HulloMail Ltd e) chris.da...@hullomail.com p) +44(0)207 382 6270 http://twitter.com/hullomail