On Sun, 2007-10-07 at 20:26 +0200, Mario Ivankovits wrote:
> > The name ServletFrameworkAdapter sounded too much like 
> > FrameworkAdapterServlet to me. I thought it was confusing.
> >
> > Although BasicFrameworkAdapter isn't perfect I agree.
> >
> > Do you think it is possible or reasonable to port Orchestra to a 
> > non-servlet environment? I know they exist (eg RIFE) but would be very 
> > surprised if Orchestra could be reasonably ported to such an environment.
> >   
> I don't think something like this would ever happen, but who knows? ;-)
> 
> What about ServletContainerFrameworkAdapter? Or HttpFrameworkAdapter as
> effectively one needs a session to run Orchestra which is provided only
> by http environments in our case.

The framework adapter is specific to the UI presentation layer, eg "invoke 
navigation" is supposed to do whatever is native to the relevant environment.
But "http" is a UI presentation layer, and neither is a "servlet container".

Maybe "PlainServletFrameworkAdapter", to indicate that this adapter does not 
depend on anything other than the plain javax.servlet apis?
Or just ServletFrameworkAdapter as you originally suggested...plus good javadoc 
to explain the name.
Or leave it as BasicFrameworkAdapter, and add better docs to explain it depends 
on only the "basic" servlet api.

Feel free to make whatever choice you prefer here; I'm not desperately attached 
to any particular name :-)

Regards,

Simon

Reply via email to