Jetty supports Cross-Domain XMLHttpRequests
The release of Firefox 3.5 included support for cross-domain HTTP requests made with XMLHttpRequest objects, and Jetty already supports it.[Read More]
Posted at 11:22PM ago 04, 2009 by Simone in General | Comments[0]
Property substitution in web.xml and the Jetty Plugin
Many web applications are configured via web.xml. Primary examples of this are Comet web application, which are configured via a ServletContextAttributeListener: you may want different listener classes depending on the enviroment you're working in. Another example is where Spring configuration files are provided via the contextConfigLocation context parameter.
Here I want to show how to do property substitution in web.xml based on Maven2 profiles.
[Read More]Posted at 04:07PM mar 27, 2009 by Simone in Java | Comments[0]
GWT 1.6 HostedMode now using Jetty
GWT 1.6 RC is out and a new feature shines: the new HostedMode is based on Jetty.
From the release notes:
"Although the legacy GWTShell still uses an embedded Tomcat server, the new HostedMode runs Jetty instead. There is also a new "Restart Server" button on the main hosted mode window. Clicking this button restarts the internal Jetty server, which allows Java code changes to take effect on the server without having to completely exit and restart hosted mode. This is useful when making code changes to RPC servlets, or when serializable RPC types are modified and the server and client are out of sync."
Posted at 08:03PM mar 21, 2009 by Simone in Java | Comments[0]