lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Urso" <anthony.u...@gmail.com>
Subject Re: RMI, Searchable and RemoteSearchable
Date Fri, 03 Oct 2008 03:17:56 GMT
On Fri, Sep 26, 2008 at 6:52 PM, Grant Ingersoll <gsingers@apache.org> wrote:
>
> On Sep 26, 2008, at 8:19 PM, Anthony Urso wrote:
>
>> I am using the RMI RemoteSearchable. I don't use a central RMI
>> registry for the cluster (it's not particularly beneficial to do so),
>> so I have had none of the problems described above.  It just works out
>> of the box.
>>
>> Why not work towards RemoteSearchable instead of Searchable extending
>> java.rmi.Remote?
>
> Yeah, that's what I am proposing.  And, it will be in a separate contrib.  I
> believe, and maybe you can help here, Anthony, b/c RMI is not my strength,
> is we can just move it out to it's own JAR, and then people using it need
> just to include the new JAR and possibly recompile.
>
> Do you think that would work?  It would remove the RMI dependency from core,
> but still keep those using RMI happy.
>

I tried this a little myself, but was unable to get the RMI stub to
compile that way.  I'm sure it's due to lack of experience and/or time
to fiddle with it.

If it can be compiled, though, I'm sure it will be workable.

Cheers,
Anthony

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message