simon's weblog

martedì ago 04, 2009

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]

venerdì mar 27, 2009

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]

sabato mar 21, 2009

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."

Webtide

Calendar

Tags

Search

Links

Navigation