[zeromq-dev] a more modern, Java-idiomatic jzmq/jeromq API
jkwatson at gmail.com
Wed Feb 6 18:59:41 CET 2013
I've been chatting with Trevor offline, and we both believe that this is
the way to go.
Jeromq should be a project that *only* implements the underlying protocol,
basically a drop-in replacement for the low-level native jni wrappers that
currently are in the jzmq project.
Then, the "high level" APIs (be that the older c-like JZMQ, or whatever new
API that we come up with), can be in a separate project that can live on
top of either protocol implementation.
So, the end state of the re-organization would be 3 repositories:
1) JNI wrappers for the zeromq c-code.
2) Java implementation of the zeromq protocol
3) High level java APIs (JZMQ for now, but new APIs as well) which can run
on top of either of the above.
Of course, it is critical to keep 1&2 above to have precisely the same API,
so that the high level code can run on top of either.
I don't know who exactly would have time to do this project splitting, but
I think it's important, so we don't have 2 copies of jzmq (high level APIs)
floating around, like we do today.
On Wed, Feb 6, 2013 at 9:13 AM, Pieter Hintjens <ph at imatix.com> wrote:
> Personally I'd reuse JZMQ and make the low-level API a part of the new
> project. Over time you probably want to implement the HL classes
> directly over libzmq, and you can eventually deprecate the low-level
> API totally.
> On Wed, Feb 6, 2013 at 5:21 PM, Trevor Bernard <trevor.bernard at gmail.com>
> > Any naming suggestions for the project?
> > On Tue, Feb 5, 2013 at 9:05 PM, Trevor Bernard <trevor.bernard at gmail.com>
> >>> If you guys define this new API, which I suppose will be implemented
> atop jzmq, we could also add it as a separate package to jzmq itself. Or
> maybe it should be a separate project on github. Anyway, I am open to
> anything we all agree on.
> >> I'm OK with either option. John has already made a couple of
> >> suggestions in the gist I posted earlier.
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev