Tuesday, March 23, 2010

OSGi/EclipseRT in Amazon Cloud - p2

In a previous post, I announced the availability of a public Amazon Image (AMI) for the Amazon EC2 service that includes several EclipseRT 3.6 technologies...including Jetty 7.0.1 and Equinox 3.6M5.

p2 is also included in the image, and this allows install/update in a running OSGi web application server. Also included in the AMI is Jetty + Equinox 3.6M5 that does not include p2.

6 Comments:

Blogger Nirmal said...

I recently studied about combination of Cloud computing and OSGi. I am
particularly interested in scalability of the service registry in the cloud. Is it possible for service registry to be moved to separate instance in cloud for manageability?

4:17 PM, July 16, 2010  
Blogger Scott Lewis said...

@Nirmal

>Is it possible for service registry >to be moved to separate instance in >cloud for manageability?

For OSGi 4.2 there is a new specification (chap 13 in compendium) called remote services. It's for accessing services in remote frameworks (i.e. via the local and remote service registry).

I am personally the author of the implementation of the OSGi remote services specification that is in the ECF 3.3/Helios release...i.e. see ECF home page and ECF remote services wiki pages. Using this approach, it is possible to have services/service registry contents moved to remote frameworks for manageability.

4:45 PM, July 17, 2010  
Blogger Nirmal said...

Hi Scott,

I went through ECF and it looks very promising. I am looking at Virgo Server for my project and doesnt Equinox(inside Virgo) implement OSGi v4.2 which has Distributed OSGi and Remote Service capabilities to it?

Or Should I do a separate ECF integration to Virgo?

Thanks
Nirmal

4:54 PM, July 22, 2010  
Blogger Scott Lewis said...

@Nirmal,

RE: Virgo...I'm not aware that Virgo has OSGi 4.2 remote services support. It's possible, but Virgo is not even a full project yet at the Eclipse Foundation, so it's impossible for me to tell at this point. Even if it Virgo does have it's own impl of remote services, this can/will coexist with ECF's.

WRT ECF's remote services and Spring...there has already been the beginnings of integration of ECF with Spring...see the thread on ecf-dev mailing list starting with this message. Also see Using Spring with ECF Remote Services. This work is not complete, but given that Virgo doesn't yet fully exist as an Eclipse Foundation project, it is currently usable.

Just FYI: ECF's implementation of 4.2 spec uniquely provides: a) multi-provider architecture, to support modularity of both discovery and distribution (see OSGi 4.2 Remote Services and ECF) and b) asynchronous remote services. These things are not supported by the spec, nor other implementations at this point, AFAIK.

5:18 PM, July 22, 2010  
Blogger Nirmal said...

Hi Scott,

I am facing some issues when building the ECF- springframework bundle by Angelo Zerr. Can you please send me the bundled jar to deploy in the server?

Thanks
Nirmal

6:17 PM, August 02, 2010  
Blogger Scott Lewis said...

@Nirmal,

We're not (yet) building Angelo's spring framework bundles...although I have them my workspace (alongside rest of ECF) and it compiles ok. Please contact me directly at slewis at composent.com and we'll discuss building this/these bundles.

You might also wish to post something to ecf-dev and engage Angelo that way...as I don't think he has updated it in last couple of months (i.e. since ECF 3.3 was released).

In any event, please send email to me directly to discuss building of this/these bundles.

7:32 PM, August 02, 2010  

Post a Comment

<< Home