Skip to contentSkip to conversation

XCP Java language bindings

DISCUSSION David Erickson 2 participants 6 messages Jan 7, 2010 – Mar 7, 2010

lore
Share & tools
lore
#0 lore raw

Hi,
I was wondering if there are any plans to provide Java language bindings for the XCP platform's SDK? And if so when those might be available?

Thanks,
David

#1 lore raw
Quoted 4 lines

Hi,
I was wondering if there are any plans to provide Java language bindings for the XCP platform's SDK? And if so when those might be available?

Hi,

We do have code for generating Java (and C) bindings which we can add to the XCP source. I'll investigate whether it's easiest to add a new repository or include them in an existing one (eg xen-api.hg)

In the meantime you could take a look at the Java bindings in the most recently released XenServer SDK-- they should be ok (except they'll be missing some of the cool new stuff in XCP)

Cheers,
Dave

#2 lore raw
Quoted 8 lines · Dave Scott
Quoted 4 lines

Hi,
I was wondering if there are any plans to provide Java language bindings for the XCP platform's SDK? And if so when those might be available?

Hi,

We do have code for generating Java (and C) bindings which we can add to the XCP source. I'll investigate whether it's easiest to add a new repository or include them in an existing one (eg xen-api.hg)

Sounds great, I look forward to the release.

Quoted 1 line

In the meantime you could take a look at the Java bindings in the most recently released XenServer SDK-- they should be ok (except they'll be missing some of the cool new stuff in XCP)

On that topic, is there a succinct list of the differences/changes between XenServer's SDK and XCP's SDK? I am not familiar enough with the former to easily be able to grok and determine what is new and cool.

And also, I was having a look around and couldn't find a webpage with exact SDK docs anywhere (definitely possible that I missed it), but I was hoping for something similar to
http://docs.vmd.citrix.com/XenServer/4.0.1/api/docs/html/browser.html
for XenServer.

Thanks!
-David

#3 lore raw

Hi David,

Quoted 8 lines
Quoted 1 line

In the meantime you could take a look at the Java bindings in the

most recently released XenServer SDK-- they should be ok (except they'll be missing some of the cool new stuff in XCP)

On that topic, is there a succinct list of the differences/changes between XenServer's SDK and XCP's SDK? I am not familiar enough with the former to easily be able to grok and determine what is new and cool.

Unfortunately we've not got a list of API changes. It ought to be easy to generate one because all the APIs have associated version metadata. We're making a project to-do list: I think I'll add this to it.

In the meantime the best thing is to grep

http://xenbits.xen.org/xapi/xen-api.hg?file/c2268131edc6/ocaml/idl/datamodel.ml

for "rel_midnight_ride" ("midnight ride" is a codename corresponding to the new stuff)

Quoted 5 lines

And also, I was having a look around and couldn't find a webpage with exact SDK docs anywhere (definitely possible that I missed it), but I was hoping for something similar to
http://docs.vmd.citrix.com/XenServer/4.0.1/api/docs/html/browser.html
for XenServer.

Hm, I don't think that's on the web anywhere. It's generated by a "make sdk-install" in xen-api.hg if you have an SDK VM handy.

Cheers,
Dave

#4 lore raw

Hi Dave,

Quoted 12 lines · Dave Scott

Hi David,

Quoted 8 lines
Quoted 1 line

In the meantime you could take a look at the Java bindings in the

most recently released XenServer SDK-- they should be ok (except they'll be missing some of the cool new stuff in XCP)

On that topic, is there a succinct list of the differences/changes between XenServer's SDK and XCP's SDK? I am not familiar enough with the former to easily be able to grok and determine what is new and cool.

Quoted 7 lines

Unfortunately we've not got a list of API changes. It ought to be easy to generate one because all the APIs have associated version metadata. We're making a project to-do list: I think I'll add this to it.

In the meantime the best thing is to grep

http://xenbits.xen.org/xapi/xen-api.hg?file/c2268131edc6/ocaml/idl/datamodel.ml

for "rel_midnight_ride" ("midnight ride" is a codename corresponding to the new stuff)

Great, this was very useful. I noticed a lot of changes focused on controlling guest's memory, I have a separate thread on the xen-user list with some questions about what has changed in regards to this in XCP, perhaps you can comment there?

Quoted 8 lines
Quoted 6 lines

And also, I was having a look around and couldn't find a webpage with exact SDK docs anywhere (definitely possible that I missed it), but I was hoping for something similar to
http://docs.vmd.citrix.com/XenServer/4.0.1/api/docs/html/browser.html
for XenServer.

Hm, I don't think that's on the web anywhere. It's generated by a "make sdk-install" in xen-api.hg if you have an SDK VM handy.

I had a quick look for an SDK VM, the closest I could find was the DDK VM for XCP here:
http://www.xen.org/files/XenCloud/Software/20719c/ddk.iso, is this what you are referring to?

Thanks,
David

#5 lore raw
In reply to Dave Scott

Hi Dave,
Just following up to see if there is any news on the Java bindings for XCP?

Thanks,
David Erickson

Quoted 15 lines · Dave Scott
Quoted 4 lines

Hi,
I was wondering if there are any plans to provide Java language bindings for the XCP platform's SDK? And if so when those might be available?

Hi,

We do have code for generating Java (and C) bindings which we can add to the XCP source. I'll investigate whether it's easiest to add a new repository or include them in an existing one (eg xen-api.hg)

In the meantime you could take a look at the Java bindings in the most recently released XenServer SDK-- they should be ok (except they'll be missing some of the cool new stuff in XCP)

Cheers,
Dave