Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Running a permanent "service" in equinox
Running a permanent "service" in equinox [message #100190] Mon, 22 October 2007 14:31 Go to next message
Eclipse UserFriend
Originally posted by: richard256.gmx.de

Hi,

I am not sure how to set this up correctly within the equinox framework or
which documents to access to gain more knowledge:

I would like to use equinox as a server, where I contribute a service, which
is permanently listening to incoming connections on a dedicated port
(something like a http service). I am not sure how to run that. As far as I
understand I cannot run this as an OSGi service since that service is called
by client code. What is the right way to do it? Start an own thread on
bundle start which does the job? Or does the framework give support to do
the right thing?

Some hints or where to find appropriate documentation would be highly
appreciated.

Thanks
Richard
Re: Running a permanent "service" in equinox [message #100218 is a reply to message #100190] Mon, 22 October 2007 15:02 Go to previous message
Danail Nachev is currently offline Danail NachevFriend
Messages: 110
Registered: July 2009
Senior Member
Hi, Richard

Spawning new thread to listen for incoming connections is perfectly OK.
It doesn't need to get any more complicated than this:)

BR,
Danail

Richard Birenheide wrote:
> Hi,
>
> I am not sure how to set this up correctly within the equinox framework or
> which documents to access to gain more knowledge:
>
> I would like to use equinox as a server, where I contribute a service, which
> is permanently listening to incoming connections on a dedicated port
> (something like a http service). I am not sure how to run that. As far as I
> understand I cannot run this as an OSGi service since that service is called
> by client code. What is the right way to do it? Start an own thread on
> bundle start which does the job? Or does the framework give support to do
> the right thing?
>
> Some hints or where to find appropriate documentation would be highly
> appreciated.
>
> Thanks
> Richard
>
>
Previous Topic:Commons logging / log4j : ClassNotFound in JSP when using embedded Jetty/Jasper
Next Topic:Help on Eclipse Help System
Goto Forum:
  


Current Time: Thu Apr 25 04:55:31 GMT 2024

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

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

Back to the top