|Re: [eclipselink-users] Re: rcp, osgi, and dynamic weaving|
Hi Tom, I have this all set up and running. Thanks.What I am really looking for is a guide to using EclipseLink as an OSGi service. While Comics works fine, it is an application centric approach rather than a service base approach.
I've been through Mike Keith's OSGi Alliance (June 10-11 2008) in which he extensively discusses the work that has been done to expose EclipseLink as a service. [Btw, this is a really good presentation, I wish I had been there!] Is there any detailed information on the mechanics of wiring this?
Thanks, Joel On 19 Dec 2008, at 16:24, Tom Ware wrote:
Hi Joel,Our RCP demo is the best starting-point for OSGi usage. Here is a link to the instructions in our SVN repository.http://dev.eclipse.org/viewsvn/index.cgi/trunk/examples/org.eclipse.persistence.example.jpa.rcp.comics/ReadMe.txt?root=RT_Eclipselink&view=log Both the setup and the actual RCP demo use OSGi.We also have some Equinox-specific dynamic weaving support which we can help you get running when you have the OSGi basics running. It consists of a bundle that adds to our JPA support and a bundle that hooks into Equinox.-Tom Joel Rosi-Schwartz wrote:Hi Shaun,In the referenced thread below, you mentioned that you were putting together an OSGI example. I've had a look in org.eclipse.persistence/trunk/examples/ but I do not find any OSGI related examples. Has anything been put together yet as an Eclipselink quick start on Equinox.Thanks, Joel -- Joel Rosi-Schwartz Etish Limited [http://www.etish.org] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^...^ / o,o \ The proud parents of ORMF and Useme |) ::: (| The Open Requirements Management Framework ====w=w==== [http://www.eclipse.org/ormf] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * From: Shaun Smith <shaun.smith@xxxxxxxxxx> * Date: Thu, 21 Aug 2008 10:38:50 -0400* Delivered-to: eclipselink-users@xxxxxxxxxxx <mailto:eclipselink-users@xxxxxxxxxxx >* User-agent: Thunderbird 18.104.22.168 (Windows/20080708) Hi Ted,I'm up on starting services and this is how we have it working for plain OSGi apps in Equinox. The issue is around my lack of experience with the different ways to launch Equinox. Launching an RCP app is not the same as just starting up an Equinox with a bunch of bundles with services. The problem I was running into when I tried this was that my services were not started before the RCP main application was started. I'm currently revisiting the Comics RCP example to get a better picture of the issues and hopefully someone will be able to help me clear them. I'll also get a plain OSGi weaving example checked into the EclipseLink SVN trunk along with some docs. I'll post when it's checked in.Shaun Ted Pricer wrote: > This is a continuation of a discussion started in the > eclipse.rt.eclipselink newsgroup: > > Shaun, > > I think the way to start a specific service is to specify the> containing bundle in the osgi.bundles section of config.ini file (or> just as a system property) with an entry such as: >> osgi .bundles = org .eclipse .equinox .common @2 :start ,org .eclipse .update .configurator @4 :start ,org .eclipse .core.runtime@start,org.eclipse.eclipselinkbundletostart:start> > Substituting for org.eclipse.eclipselinkbundletostart. > > Which bundle includes the service that needs to start for dynamic > weaving to work? > > Ted > _______________________________________________ > eclipselink-users mailing list > eclipselink-users@xxxxxxxxxxx > https://dev.eclipse.org/mailman/listinfo/eclipselink-users> ------------------------------------------------------------------------_______________________________________________ eclipselink-users mailing list eclipselink-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-users_______________________________________________ eclipselink-users mailing list eclipselink-users@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/eclipselink-users
Description: S/MIME cryptographic signature
Back to the top