Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Serving both web pages and web services
Serving both web pages and web services [message #87784] Tue, 08 May 2007 20:42 Go to next message
Eclipse UserFriend
Originally posted by: lars._no_spam_ohlen.se

Hi,

I'm looking into a OSGi based server solution and have the need to set-up
both a traditional web solution with a HTTP port 80 listener and
to have a web services (SOAP) interface on another port. Both services will
interact with other OSGi bundles.

This gives me two questions:
1 - the possibilty to set-up the Jetty HTTP service to listener on two
different TCP ports
2 - suggestions on a good way to implement the web services layer (where to
put logic etc, technology - Axis etc)

BR

Lars
Re: Serving both web pages and web services [message #87826 is a reply to message #87784] Wed, 09 May 2007 02:05 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Lars,
> 1 - the possibilty to set-up the Jetty HTTP service to listener on two
> different TCP ports
Sure. Probably the easiest way to do this would be to take a look at
org.eclipse.equinox.http.jetty.JettyConfigurator. This lets you setup
different Http Services on different ports as well other configuration
settings.

One thing to be aware of when running more than one Http Service is that you
should consider filtering the services so you register your
servlets/resources in just one targetted Http Service. To that end you might
add "other.info" when using JettyConfigurator to give you something you can
filter on easily.

> 2 - suggestions on a good way to implement the web services layer (where
> to put logic etc, technology - Axis etc)
I'm a little hesitant to reply here however I know the OHF project has been
using Axis under the Http Service. You might take a look what they've done.

-Simon



"Lars" <lars@_no_spam_ohlen.se> wrote in message
news:f1qnb4$ap5$1@build.eclipse.org...
> Hi,
>
> I'm looking into a OSGi based server solution and have the need to set-up
> both a traditional web solution with a HTTP port 80 listener and
> to have a web services (SOAP) interface on another port. Both services
> will interact with other OSGi bundles.
>
> This gives me two questions:
> 1 - the possibilty to set-up the Jetty HTTP service to listener on two
> different TCP ports
> 2 - suggestions on a good way to implement the web services layer (where
> to put logic etc, technology - Axis etc)
>
> BR
>
> Lars
>
Previous Topic:invoke osgi from a .bat/.sh file
Next Topic:RPC via Web services to an RCP application
Goto Forum:
  


Current Time: Fri Apr 26 00:11:48 GMT 2024

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

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

Back to the top