Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Tomcat based implementation of OSGI HTTP Service
Tomcat based implementation of OSGI HTTP Service [message #108391] Mon, 21 April 2008 08:36 Go to next message
Georg Schmidt is currently offline Georg SchmidtFriend
Messages: 9
Registered: July 2009
Junior Member
Hi,

did somebody know whether there is a Tomcat based implementation of the OSGi
HTTP Service?

Thanks,

George
Re: Tomcat based implementation of OSGI HTTP Service [message #108424 is a reply to message #108391] Mon, 21 April 2008 17:14 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
You can use the servletbridge "with" Tomcat to get an Http Service based on
tomcat's infrastructure.
I'm not aware of a standalone Tomcat-based implementation. It wouldn't be
too hard to do though if the various pieces of Tomcat were available as
bundles. If you're looking to try take a look at
org.eclipse.equinox.http.jetty as the integration should be very similar.

HTH
-Simon



"Georg Schmidt" <g.schmidt@brox.de> wrote in message
news:fuhjmf$4vn$1@build.eclipse.org...
> Hi,
>
> did somebody know whether there is a Tomcat based implementation of the
> OSGi HTTP Service?
>
> Thanks,
>
> George
Re: Tomcat based implementation of OSGI HTTP Service [message #108583 is a reply to message #108424] Wed, 23 April 2008 15:49 Go to previous messageGo to next message
Georg Schmidt is currently offline Georg SchmidtFriend
Messages: 9
Registered: July 2009
Junior Member
Hi Simon,

thanks for your response.

Did you have a idea how much time it could take to develop such a bundle?
(to develop a full featured HTTP Service replacement)

We would be willing to create such bundles... (it would be just one of many
that will be in EILF). Would your team be interested in? Or could your team
give us some hints where we have to look at? [We are new on the topic OSGi]

From my point of view Tomcat is really flexible container and its well
proven at our customers. Did you think Jetty could be a good replacement?

Kind Regards,

Georg


"Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
news:fuii1u$rbm$1@build.eclipse.org...
> You can use the servletbridge "with" Tomcat to get an Http Service based
> on tomcat's infrastructure.
> I'm not aware of a standalone Tomcat-based implementation. It wouldn't be
> too hard to do though if the various pieces of Tomcat were available as
> bundles. If you're looking to try take a look at
> org.eclipse.equinox.http.jetty as the integration should be very similar.
>
> HTH
> -Simon
>
>
>
> "Georg Schmidt" <g.schmidt@brox.de> wrote in message
> news:fuhjmf$4vn$1@build.eclipse.org...
>> Hi,
>>
>> did somebody know whether there is a Tomcat based implementation of the
>> OSGi HTTP Service?
>>
>> Thanks,
>>
>> George
>
>
Re: Tomcat based implementation of OSGI HTTP Service [message #108597 is a reply to message #108583] Wed, 23 April 2008 16:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Boyan.Yurukov.softwareag.com

You should check the Spring implementation. I came across this doc here and
it seemed interesing. I haven't tried it though:
http://static.springframework.org/osgi/docs/1.1.0-m1/api/org /springframework/osgi/web/extender/deployer/tomcat/TomcatWar Deployer.html

Boyan.


"Georg Schmidt" <g.schmidt@brox.de> wrote in message
news:funlpo$nkj$1@build.eclipse.org...
> Hi Simon,
>
> thanks for your response.
>
> Did you have a idea how much time it could take to develop such a bundle?
> (to develop a full featured HTTP Service replacement)
>
> We would be willing to create such bundles... (it would be just one of
> many that will be in EILF). Would your team be interested in? Or could
> your team give us some hints where we have to look at? [We are new on the
> topic OSGi]
>
> From my point of view Tomcat is really flexible container and its well
> proven at our customers. Did you think Jetty could be a good replacement?
>
> Kind Regards,
>
> Georg
>
>
> "Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
> news:fuii1u$rbm$1@build.eclipse.org...
>> You can use the servletbridge "with" Tomcat to get an Http Service based
>> on tomcat's infrastructure.
>> I'm not aware of a standalone Tomcat-based implementation. It wouldn't be
>> too hard to do though if the various pieces of Tomcat were available as
>> bundles. If you're looking to try take a look at
>> org.eclipse.equinox.http.jetty as the integration should be very similar.
>>
>> HTH
>> -Simon
>>
>>
>>
>> "Georg Schmidt" <g.schmidt@brox.de> wrote in message
>> news:fuhjmf$4vn$1@build.eclipse.org...
>>> Hi,
>>>
>>> did somebody know whether there is a Tomcat based implementation of the
>>> OSGi HTTP Service?
>>>
>>> Thanks,
>>>
>>> George
>>
>>
>
Re: Tomcat based implementation of OSGI HTTP Service [message #108626 is a reply to message #108583] Wed, 23 April 2008 17:29 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
> Did you have a idea how much time it could take to develop such a bundle?
> (to develop a full featured HTTP Service replacement)

Hard to say, but I was able to do the original Jetty integration very
quickly (> 1 day). The code in org.eclipse.equinox.http.jetty has improved
incrementally, but getting the basics up and running should still be pretty
easy. At the very least I'd suggest that determining how hard it might be is
a small job.
>
> We would be willing to create such bundles... (it would be just one of
> many that will be in EILF). Would your team be interested in? Or could
> your team give us some hints where we have to look at? [We are new on the
> topic OSGi]
Great. Sure. The next few weeks are insane for us but after that...
>
> From my point of view Tomcat is really flexible container and its well
> proven at our customers. Did you think Jetty could be a good replacement?

Both engines are solid and used in a wide range of commercial environments.
Jetty is lean and particularly good for embedding. It's used as the
underlying servlet engine in a number of JEE servers. In addition the main
developers have been helpful to the OSGi work here so...

That said you're not the first to ask about a Tomcat implementation so this
sort of work would be useful.

-Simon

>
> Kind Regards,
>
> Georg
>
>
> "Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
> news:fuii1u$rbm$1@build.eclipse.org...
>> You can use the servletbridge "with" Tomcat to get an Http Service based
>> on tomcat's infrastructure.
>> I'm not aware of a standalone Tomcat-based implementation. It wouldn't be
>> too hard to do though if the various pieces of Tomcat were available as
>> bundles. If you're looking to try take a look at
>> org.eclipse.equinox.http.jetty as the integration should be very similar.
>>
>> HTH
>> -Simon
>>
>>
>>
>> "Georg Schmidt" <g.schmidt@brox.de> wrote in message
>> news:fuhjmf$4vn$1@build.eclipse.org...
>>> Hi,
>>>
>>> did somebody know whether there is a Tomcat based implementation of the
>>> OSGi HTTP Service?
>>>
>>> Thanks,
>>>
>>> George
>>
>>
>
Re: Tomcat based implementation of OSGI HTTP Service [message #108654 is a reply to message #108626] Wed, 23 April 2008 18:30 Go to previous messageGo to next message
Georg Schmidt is currently offline Georg SchmidtFriend
Messages: 9
Registered: July 2009
Junior Member
Thanks Simon


"Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
news:funrle$d0$1@build.eclipse.org...
>> Did you have a idea how much time it could take to develop such a bundle?
>> (to develop a full featured HTTP Service replacement)
>
> Hard to say, but I was able to do the original Jetty integration very
> quickly (> 1 day). The code in org.eclipse.equinox.http.jetty has improved
> incrementally, but getting the basics up and running should still be
> pretty easy. At the very least I'd suggest that determining how hard it
> might be is a small job.
>>
>> We would be willing to create such bundles... (it would be just one of
>> many that will be in EILF). Would your team be interested in? Or could
>> your team give us some hints where we have to look at? [We are new on the
>> topic OSGi]
> Great. Sure. The next few weeks are insane for us but after that...
>>
>> From my point of view Tomcat is really flexible container and its well
>> proven at our customers. Did you think Jetty could be a good replacement?
>
> Both engines are solid and used in a wide range of commercial
> environments. Jetty is lean and particularly good for embedding. It's used
> as the underlying servlet engine in a number of JEE servers. In addition
> the main developers have been helpful to the OSGi work here so...
>
> That said you're not the first to ask about a Tomcat implementation so
> this sort of work would be useful.
>
> -Simon
>
>>
>> Kind Regards,
>>
>> Georg
>>
>>
>> "Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
>> news:fuii1u$rbm$1@build.eclipse.org...
>>> You can use the servletbridge "with" Tomcat to get an Http Service based
>>> on tomcat's infrastructure.
>>> I'm not aware of a standalone Tomcat-based implementation. It wouldn't
>>> be too hard to do though if the various pieces of Tomcat were available
>>> as bundles. If you're looking to try take a look at
>>> org.eclipse.equinox.http.jetty as the integration should be very
>>> similar.
>>>
>>> HTH
>>> -Simon
>>>
>>>
>>>
>>> "Georg Schmidt" <g.schmidt@brox.de> wrote in message
>>> news:fuhjmf$4vn$1@build.eclipse.org...
>>>> Hi,
>>>>
>>>> did somebody know whether there is a Tomcat based implementation of the
>>>> OSGi HTTP Service?
>>>>
>>>> Thanks,
>>>>
>>>> George
>>>
>>>
>>
>
>
Re: Tomcat based implementation of OSGI HTTP Service [message #108668 is a reply to message #108597] Wed, 23 April 2008 18:30 Go to previous messageGo to next message
Georg Schmidt is currently offline Georg SchmidtFriend
Messages: 9
Registered: July 2009
Junior Member
Thanks Boyan

"Boyan Yurukov" <Boyan.Yurukov@softwareag.com> wrote in message
news:funmsu$pd3$1@build.eclipse.org...
> You should check the Spring implementation. I came across this doc here
> and it seemed interesing. I haven't tried it though:
> http://static.springframework.org/osgi/docs/1.1.0-m1/api/org /springframework/osgi/web/extender/deployer/tomcat/TomcatWar Deployer.html
>
> Boyan.
>
>
> "Georg Schmidt" <g.schmidt@brox.de> wrote in message
> news:funlpo$nkj$1@build.eclipse.org...
>> Hi Simon,
>>
>> thanks for your response.
>>
>> Did you have a idea how much time it could take to develop such a bundle?
>> (to develop a full featured HTTP Service replacement)
>>
>> We would be willing to create such bundles... (it would be just one of
>> many that will be in EILF). Would your team be interested in? Or could
>> your team give us some hints where we have to look at? [We are new on the
>> topic OSGi]
>>
>> From my point of view Tomcat is really flexible container and its well
>> proven at our customers. Did you think Jetty could be a good replacement?
>>
>> Kind Regards,
>>
>> Georg
>>
>>
>> "Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
>> news:fuii1u$rbm$1@build.eclipse.org...
>>> You can use the servletbridge "with" Tomcat to get an Http Service based
>>> on tomcat's infrastructure.
>>> I'm not aware of a standalone Tomcat-based implementation. It wouldn't
>>> be too hard to do though if the various pieces of Tomcat were available
>>> as bundles. If you're looking to try take a look at
>>> org.eclipse.equinox.http.jetty as the integration should be very
>>> similar.
>>>
>>> HTH
>>> -Simon
>>>
>>>
>>>
>>> "Georg Schmidt" <g.schmidt@brox.de> wrote in message
>>> news:fuhjmf$4vn$1@build.eclipse.org...
>>>> Hi,
>>>>
>>>> did somebody know whether there is a Tomcat based implementation of the
>>>> OSGi HTTP Service?
>>>>
>>>> Thanks,
>>>>
>>>> George
>>>
>>>
>>
>
>
Re: Tomcat based implementation of OSGI HTTP Service [message #108683 is a reply to message #108583] Wed, 23 April 2008 18:31 Go to previous messageGo to next message
Georg Schmidt is currently offline Georg SchmidtFriend
Messages: 9
Registered: July 2009
Junior Member
Sorry... one question I forgot.

Which technology do you suggest as base.

Services, Declarative Services or Extension Points.

"Georg Schmidt" <g.schmidt@brox.de> wrote in message
news:funlpo$nkj$1@build.eclipse.org...
> Hi Simon,
>
> thanks for your response.
>
> Did you have a idea how much time it could take to develop such a bundle?
> (to develop a full featured HTTP Service replacement)
>
> We would be willing to create such bundles... (it would be just one of
> many that will be in EILF). Would your team be interested in? Or could
> your team give us some hints where we have to look at? [We are new on the
> topic OSGi]
>
> From my point of view Tomcat is really flexible container and its well
> proven at our customers. Did you think Jetty could be a good replacement?
>
> Kind Regards,
>
> Georg
>
>
> "Simon Kaegi" <simon_kaegi@ca.ibm.com> wrote in message
> news:fuii1u$rbm$1@build.eclipse.org...
>> You can use the servletbridge "with" Tomcat to get an Http Service based
>> on tomcat's infrastructure.
>> I'm not aware of a standalone Tomcat-based implementation. It wouldn't be
>> too hard to do though if the various pieces of Tomcat were available as
>> bundles. If you're looking to try take a look at
>> org.eclipse.equinox.http.jetty as the integration should be very similar.
>>
>> HTH
>> -Simon
>>
>>
>>
>> "Georg Schmidt" <g.schmidt@brox.de> wrote in message
>> news:fuhjmf$4vn$1@build.eclipse.org...
>>> Hi,
>>>
>>> did somebody know whether there is a Tomcat based implementation of the
>>> OSGi HTTP Service?
>>>
>>> Thanks,
>>>
>>> George
>>
>>
>
Re: Tomcat based implementation of OSGI HTTP Service [message #108991 is a reply to message #108597] Wed, 30 April 2008 12:22 Go to previous message
Alin Dreghiciu is currently offline Alin DreghiciuFriend
Messages: 2
Registered: July 2009
Junior Member
Boyan Yurukov wrote:

> You should check the Spring implementation. I came across this doc here and
> it seemed interesing. I haven't tried it though:
>
http://static.springframework.org/osgi/docs/1.1.0-m1/api/org /springframework/osgi/web/extender/deployer/tomcat/TomcatWar Deployer.html

The spring web support in Spring DM is not an Http Service implementation.
But it may suit your needs if you have a web app(war) you want to deploy
into tomcat. And M2 has added Spring Web MVC integration/support.

Alin Dreghiciu
Previous Topic:How to package web application as bundles ?
Next Topic:equinox for the J2EE server details
Goto Forum:
  


Current Time: Thu Apr 18 22:03:44 GMT 2024

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

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

Back to the top