Re: CMPI C based server -- can CMPI provider call JAVA routine.
Kirk Augustin <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <[email protected]> |
Yes, you can call a java program from your provider. But is will not be the reponsibility of the CIMOM to ensure that the JavaVM or the java program is installed on the server. The initial purpose of providers was to do that exact task, of acting as an intermediary between different environments. The CIM Server will load and excecute the provider as its own process, so it can do whatever any process can do. If there were limitations, it would be from CMPI, not the CIMOM. I do not use CMPI myself, so I can't advise about that. ________________________________ From: kamal jeera <[email protected]> To: "Yoder, Alan" <[email protected]> Cc: [email protected] Sent: Mon, April 26, 2010 3:04:02 PM Subject: Re: CMPI C based server -- can CMPI provider call JAVA routine. True Alan, But In my case I am writing a provider for a CIM server from another vendor, and right now they say CMPI is the only supported provider programming interface for that CIM server. On Mon, Apr 26, 2010 at 2:41 PM, Yoder, Alan <[email protected]> wrote: Isn't calling java-based providers what JMPI is for? > > > >On 4/26/10 2:37 PM, "kamal jeera" <[email protected]> wrote: > > >Hi all, >> >>I have a CMPI based CIM server. >> >>CMPI is a C-based programming interface for providers designed for binary compatibility. >> >>more information is at >>www.opengroup.org <http://www.opengroup.org> >>http://www.opengroup.org/bookstore/catalog/c051.htm >> >>They require that providers be written in CMPI - C based. My question is can I call from CMPI C based provider to a java program? >> >>I think providers are loaded and executed by cim server. So I am not sure my java part [if I call from my provider] will be executed? >> >>thanks much! >>kamal >> >> >>