river-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Firmstone <j...@zeus.net.au>
Subject Re: Codebase service?
Date Mon, 24 May 2010 05:37:16 GMT
Greg Trasuk wrote:
> Hi all:
>
> See comments interspersed...
>
> On Thu, 2010-05-20 at 11:05, Dennis Reedy wrote:
>   
>> So this is what I'm understanding thus far:
>>
>> Extend the jar conventions of service construction to include:
>>
>> Implementation jar: service.jar
>> Specification jar: service-spec.jar
>> Download jar: service-dl.jar
>>     
>
>   
This tip would be useful to include in the Service API design 
documentation, anyone else got any similar valuable nuggets of wisdom?
> Along the same lines, I've always made it a habit to declare service
> methods to throw IOException rather than RemoteException, so as not to
> impose any dependency or implication of the RMI protocol.  Since
> RemoteException extends IOException, an RMI implementation compiles and
> works just fine, but the client doesn't then depend on RMI.
>
>   
> Cheers,
>
> Greg.
>  
>
>   


Mime
View raw message