Developing Eclipse/OSGi-fied web applications
Author: Wolfgang Gehner (Infonoia), Simon Kaegi (Cognos), October 2006
Peer reviewers (updated version): Jochen Hiller, Peter Neubauer
Peer reviewers (original version): Richard Backhouse, Jim D'Anjou, Ricardo Giacomin, Simon Kaegi, Peter Neubauer and Martin Schikowski
This article walks you through a repeatable process of creating a pluggable server-side application with Eclipse 3.2, JSP and Struts 1.3.The article and code has been updated substantially from a previous version published in February 2006. It brings together Eclipse/OSGi plug-in mechanisms with standard Java web application development, using an established MVC web framework (Struts just as example in this case).
It also provides a very basic insight into the concepts the "RSP-UI" project submitted to the Eclipse Foundation.
Read the full article here.
Eclipse goes server-side!
Author: Wolfgang Gehner, 19 January 2006
The Eclipse incubator Equinox has worked it out: it looks like with Eclipse 3.2 and it's underlying OSGi services, developers will be able to create plug-ins that deploy to a servlet container.
A simple working demo is available for download here [please follow the instructions here]. It wraps Equinox code described here. With this, developers can package functionality, like code, but also servlets, JSPs and other http resources in Eclipse-style plug-ins for the server-side.
They can deploy ("register") and un-deploy while the container WAR keeps running. The working demo shows this with Tomcat 5.5.
Read the full article here.
Better code with Struts 1.3
Author: Wolfgang Gehner, February 2005
With version 1.3 (now in SVN), Struts developers have completely rebuilt the RequestProcessor using the Chain-of-Command/Chain-of-Responsibility (CoR) pattern implemented in Apache Commons-Chain.
This allows us to create cleaner, more efficient code. This article describes what's new and better in Struts 1.3.
Read the full article here. |