On Sat, 22 Sep 2001 01:07, Paul Hammant wrote:
> 1) Central definition of interfaces (and exceptions)
>
> Pros : Simple solution
> Cons : Not version tolerant, though could have heretical version
> numbers in package or class names (ref LayoutManager2). Only good for
> regular server concepts (HTTPServer) as opposed to bespoke concepts
> (company X's ABC Server)
>
> 2) Promotion of interfaces (and exceptions). SAR file contains a jar of
> interfaces that it implements, it could hand it to the parent component
> (Phoenix) and Phoenix could make them available seperately, not
> necessarily at promordial level. It's an RMI type concept, but RMI is
> overkill for several reasons, not least of which is the ill-defined
> RemoteException.
>
> Pros : Can tolerate different versions. Good for standards based
> services as well as bespoke ones.
> Cons : Difficult to implement
>
> Thoughts?
I like (1)
--
Cheers,
Pete
-----------------------------------------------------------------------
| I thought there was a knob on the TV to turn up the intelligence. |
| There's a knob called "brightness", but it doesn't work. |
-----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]