I am very interested! I have a mixed servlets (Wicket) / non-servlets based 
system. This architecture could be just what I want. I would be interested in 
any information that you could provide.

Jan


-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Timur Mehrvarz
Sent: Sun 7/24/2005 9:32 PM
To: [email protected]
Subject: [Wicket-develop] Wicket in OSGi
 
I got Wicket running in an OSGi environment.

I like Wicket-in-OSGi very much, because usually, OSGi containers  
only come with pure servlet functionality. But OSGi allows sharing of  
functionality on a Java package basis. This makes it possible, for  
instance, to split Wicket applications from the Wicket codebase (and  
from all other required JAR's). This way, the complete Hangman  
application, including  HTML pages, becomes a OSGi bundle of only  
28KB. Many such individual OSGi/Wicket applications can be executed  
in a single VM alongside services that are not servlets (main() type  
of services). Any OSGi service can be stopped, updated and restarted  
independent of any other - and remotely if required.

I had to apply some very minor changes to Wicket in order to make  
this work. It was necessary to touch  
wicket.protocol.http.WicketServlet.java and  
wicket.util.file.Path.java (make that non-final). And I added a  
OsgiPath.java class. The changes do not have any negative impact on  
Wicket in regular mode (outside of OSGi) and it just works with  
Wicket 1.0 and 1.1b1.

I would like to ask if there is any interest in making Wicket  
generally "OSGi compliant". In case there is, I would be very happy  
to provide you with a ready-to-exec quick-to-grok environment and  
explain what I did (should that be necessary). It won't take 10  
minutes to have this up and running. What do you think?

Timur



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

<<winmail.dat>>

Reply via email to