avalon-apps-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <j...@socialchange.net.au>
Subject Re: Apps developers - separation of interface and impl
Date Sat, 04 May 2002 08:46:16 GMT
On Sat, May 04, 2002 at 09:19:06AM +0100, Paul Hammant wrote:
> Folks,
> 
> Even though we cannot separate them yet inside phoenix, could teams try 
> to put their blocks/interfaces/support classes in one jar and their 
> implementation in another jar.  This will also mean that different 
> packages are required :
> 
>  thing.ThingBlock -> goes to thing-api.jar
>  think.refimpl.DefaultThingBlock - > goes to thing-ri.jar
> 
> It is not mandatory, just hoped for...

It also prevents circular dependencies. Eg, if A and B depend on each
other's public APIs, then we can compile them as follows:

a-interface.jar
b-interface.jar
a-impl.jar
b-impl.jar

Not possible if API and implementation are in one jar.


--Jeff

> Cheers,
> 
> - Paul
> 
> 
> --

--
To unsubscribe, e-mail:   <mailto:avalon-apps-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-apps-dev-help@jakarta.apache.org>


Mime
View raw message