You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Anthony Urso <an...@gmail.com> on 2008/10/03 05:17:56 UTC

Re: RMI, Searchable and RemoteSearchable

On Fri, Sep 26, 2008 at 6:52 PM, Grant Ingersoll <gs...@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