On Fri, Sep 11, 2009 at 12:26 AM, Richard Elling <richard.ell...@gmail.com> wrote: > On Sep 10, 2009, at 1:03 PM, Peter Tribble wrote: >> >> On Thu, Sep 10, 2009 at 8:52 PM, Richard Elling >> <richard.ell...@gmail.com> wrote: >>> >>> Enrico, >>> Could you compare and contrast your effort with the existing libzfs_jni? >>> >>> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libzfs_jni/common/ >> >> Where's the source for the java code that uses that library? > > Excellent question! It is used for the BUI ZFS manager webconsole that > comes with S10 and SXCE. So you might find the zfs.jar as > /usr/share/webconsole/webapps/zfs/WEB-INF/lib/zfs.jar > The jar only contains the class files, though. Yes, that's what I thought when I saw it. Furthermore, the last time I tried it was still unaligned with the new ZFS capabilites: it crashed because of an unknown gzip compression type...
> > Someone from Sun could comment on the probability that they > will finally get their act together and have a real BUI framework for > systems management... they've tried dozens (perhaps hundreds) > of times, with little to show for the effort :-( By the way, one of the goals I'd like to reach with such kind of library is just that: putting the basis for building a java based management framework for ZFS. Unfortunately wrapping libzfs will hardly fulfill this goal and the more I dig into the code the more I realize that we will need to wrap (or reimplement) some of the logic of the zfs and zpool commands. I'm also confident that building a good library on top of this wrapper will give us a very powerful tool to play with from Java. > -- richard > > -- Ελευθερία ή θάνατος "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." GPG key: 1024D/FD2229AF _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss