users@grizzly.java.net

Any chance of refactoring ServletAdapter?

From: Tom <808131_at_gmail.com>
Date: Tue, 14 Apr 2009 14:29:14 +0100

Hi,

I was wondering how flexible we can be with changes to ServletAdapter.
I've used it quite a bit now but have found it a little awkward as it
seems that management of the Context shouldn't be its responsibility.

The previously mentioned WarAdapter sounds interesting; if I
understand the this properly, would we have the opportunity to create
a more abstract ContextAdapter and have WarAdapter extend it? My
interest in embedding a Serlvet engine is to remove the need for war
files altogether (I hate them!) and be able to provide customized
'convention over configuration'. As such, there is probably code that
could be shared with a WarAdapter as they would only differ in how
they obtain configuration for the environment.

Regards,
Tom