> -----Original Message-----
> From: Serge Knystautas [mailto:[EMAIL PROTECTED]

>
> > On broader perspective, I hope that James will become container
> independent and only has ties to well-established Java APIs and de facto
> standards, so eventually it can be dropped into any environment, for
> example an appserver like JBoss.
>
> Ah, but what is a well-established Java API for containers?

JMX.

But JMX isn't a container standard.  It's for instrumentation and has been
abused to be a container standard.

For dependency and service resolution, constructor dependency injection is
becoming more and more common.  That doesn't solve lifecycle handling or
the numerous other aspects of container programming though.

The Eve server in the incubator directory project was designed to be
dropped in just about any container.  I haven't looked at it myself, but
from what I understand it's a pretty good design.  You could look there
for inspiration.

jaaron

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to