Hi guys, I''m trying to develop a library to access XenStore via Java Application (Academic purposes) but I have not a lot experiencie in C or how to do that. Anyone here have an example of how to access XenStore using the library "xs.h". I found an example over the internet but I''m havig any compilation problems. Thanks -- Luciano Barreto _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You might get more answers in the xen-devel mailing list for this. -DDV On Fri, Nov 4, 2011 at 11:03 AM, Luciano Barreto <lucianobarreto@gmail.com>wrote:> Hi guys, I''m trying to develop a library to access XenStore via Java > Application (Academic purposes) but I have not a lot experiencie in C > or how to do that. Anyone here have an example of how to access > XenStore using the library "xs.h". I found an example over the > internet but I''m havig any compilation problems. > Thanks > -- > Luciano Barreto > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You''ll try there. Thanks 2011/11/4 David Della Vecchia <ddv@darkholdings.com>:> You might get more answers in the xen-devel mailing list for this. > > -DDV > > On Fri, Nov 4, 2011 at 11:03 AM, Luciano Barreto <lucianobarreto@gmail.com> > wrote: >> >> Hi guys, I''m trying to develop a library to access XenStore via Java >> Application (Academic purposes) but I have not a lot experiencie in C >> or how to do that. Anyone here have an example of how to access >> XenStore using the library "xs.h". I found an example over the >> internet but I''m havig any compilation problems. >> Thanks >> -- >> Luciano Barreto >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users > >-- Luciano Barreto _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hello Luciano, I think your best bet is to use the Java JNI framework, which allows you to call C/C++ functions from Java code. I personally don''t like Java or JNI much, but I think it''s the most suitable option. Regards, Roger. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes, I''ve tryed a test with a simple library that I created. That works. My problem is now make a simple library to write and read from XenStore. I use it by command line retunr value in Java now, but my performance is not good. That''s my ideia, create a simples read/write library. Thanks 2011/11/4 Roger Pau Monné <roger.pau@entel.upc.edu>:> Hello Luciano, > > I think your best bet is to use the Java JNI framework, which allows > you to call C/C++ functions from Java code. I personally don''t like > Java or JNI much, but I think it''s the most suitable option. > > Regards, Roger. >-- Luciano Barreto _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Niels Dettenbach (Syndicat IT&Internet)
2011-Nov-05 06:10 UTC
Re: [Xen-users] Xenstore develop help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Luciano Barreto <lucianobarreto@gmail.com> schrieb:>XenStore. I use it by command line retunr value in Java now, but my >performance is not good. That''s my ideia, create a simples read/write >library. >Thankshmm, java? performance? You may are on the wrong path... cheers, Niels. - -- Niels Dettenbach Syndicat IT&Internet http://www.syndicat.com -----BEGIN PGP SIGNATURE----- Version: APG v1.0.8 iIEEAREIAEEFAk600186HE5pZWxzIERldHRlbmJhY2ggKFN5bmRpY2F0IElUJklu dGVybmV0KSA8bmRAc3luZGljYXQuY29tPgAKCRBU3ERlZRyiDb39AJ9o7W4u9FWx h8eE3h5KlN9lEqWeqgCdGr0yrfei+p3SSSvrrEftvcrjpKg=4WO+ -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users