Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Equinox and Java SE application
Equinox and Java SE application [message #530897] Sun, 02 May 2010 13:34 Go to next message
EK  is currently offline EK Friend
Messages: 4
Registered: May 2010
Junior Member
Hi!
I'm newable whith OSGi, but it is interesting.
Is it possible to interact between osgi bundles and java application? If it is possible, how?
thanks!

[Updated on: Sun, 02 May 2010 15:41]

Report message to a moderator

Re: Equinox and Java SE applicatin [message #531023 is a reply to message #530897] Mon, 03 May 2010 12:21 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

EK wrote:
> Is it possible to interact between osgi bundles and java application? If
> it is possible, how?

we need a little more of a usecase than that. An OSGi bundle is a java
application, so the short answer is yes :-)

You can turn 3rd party libraries into OSGi bundles, some more easily
than others.

You can connect to a running java app via Sockets (from any other java
app, not just OSGi).

In eclipse/equinox you can launch a Jetty server and have a java app
communicate with your OSGi instance.


PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: Equinox and Java SE applicatin [message #531040 is a reply to message #531023] Mon, 03 May 2010 13:28 Go to previous message
EK  is currently offline EK Friend
Messages: 4
Registered: May 2010
Junior Member
Thanks, Paul!

We have a big JavaSE application. It consist of many logical parts. We are decided to change architecture on OSGi, but it is very slow process. At now, we add new functionality. Is it possible to add new functionality to OSGi framework as bundles and have opportunity to work together old functionality and new (bundles).
Or is it wrong way?

[Updated on: Mon, 03 May 2010 13:29]

Report message to a moderator

Previous Topic:Cleanup Bundle Pool
Next Topic:Is there an extension point to point to the web app context
Goto Forum:
  


Current Time: Sat Apr 20 00:03:57 GMT 2024

Powered by FUDForum. Page generated in 0.03018 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top