[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Version in Eclipse
|
Hi Aurelien,
Interesting post.
It describes the idea behind the jetty-osgi integration: we do
something similar where the server is configured from a jetty.xml and
there is some extra glue into the OSGi lifecycle.
For example a bundle with the Context-Path header will be tracked and
deployed as a web-application.
Deploying or undeploying that bundle will deploy or undeploy the
corresponding webapp.
We also support using an OSGi service: register a ContextHandler to
deploy it via OSGi. Doing this gives you finer control over when you
want to deploy the webapp as it is not tied to the lifecycle of a
bundle.
Also the jetty-osgi integration takes care of JSP and provides the
ability to support legacy webapps.
On the provisioning side: Jetty provides to Helios a feature in the
category "RT Target Platform".
You could add it to your RCP platform and get jetty-7 with the
jetty-osgi bundles. You could either use your code or the jetty setup
for OSGi.
Jetty also contributes another feature to add PDE support for JUnit
into a new Target Platform.
I am really tied up polishing these things and so documentation about
this is lacking to say the least.
We will catch up on that front when Helios is out.
Let us know if we are missing on something else.
Best,
Hugues
On Thu, May 27, 2010 at 5:43 AM, Aurélien Pupier
<aurelien.pupier@xxxxxxxxxxxxxx> wrote:
> We are embedding Jetty in our RCP application. So we use the jetty plugin
> and launch the server programmatically.
> I wrote a little blog article on
> that: http://www.bonitasoft.org/blog/tutorial/programmatic-hot-deploy-with-jetty/
> I dont know if it would be allowed to do that with Jetty 7 and what will
> modification requirement (if any)
>
> So the use case with p2 is to have the plugin on the target platform easily
> and reuse it in the RCP product.
>
> I also think to use OSGI service depending on time effort to change and gain
> that it offers
> BTW on this
> page http://www.bonitasoft.org/blog/tutorial/programmatic-hot-deploy-with-jetty/ the
> code parts are on single line. I look to edit that but it it is not the
> usual wiki text that I know (a little)
> Regards
>
>
> 2010/5/27 Jesse McConnell <jesse.mcconnell@xxxxxxxxx>
>>
>> good deal...
>>
>> fwiw, hugues has been doing a stellar job at developing the osgi face
>> of jetty, made a lot of strides in that area over the last few weeks
>> so if there is some use case in particular you need with this p2
>> repository let us know, its good to know how people are consuming
>> jetty
>>
>> cheers,
>> jesse
>>
>> --
>> jesse mcconnell
>> jesse.mcconnell@xxxxxxxxx
>>
>>
>>
>> On Thu, May 27, 2010 at 07:23, Aurélien Pupier
>> <aurelien.pupier@xxxxxxxxxxxxxx> wrote:
>> > thanks
>> >
>> > it's better with this url :)
>> >
>> > 2010/5/27 Jesse McConnell <jesse.mcconnell@xxxxxxxxx>
>> >>
>> >> generally speaking that url should be good from here on out...well
>> >> with a slight modification actually
>> >>
>> >> http://download.eclipse.org/jetty/stable-7/repository
>> >>
>> >> the thinking within eclipse has changed and these are not 'update
>> >> sites' per se anymore, they are p2 repositories and all the glory that
>> >> entails so the naming convention has changed
>> >>
>> >> I'll update that link,
>> >>
>> >> cheers!
>> >> jesse
>> >>
>> >> --
>> >> jesse mcconnell
>> >> jesse.mcconnell@xxxxxxxxx
>> >>
>> >>
>> >>
>> >> On Thu, May 27, 2010 at 03:29, Aurélien Pupier
>> >> <aurelien.pupier@xxxxxxxxxxxxxx> wrote:
>> >> > Hi,
>> >> >
>> >> > I'm currently trying Eclipse 3.6RC1 and the version embedded of Jetty
>> >> > is
>> >> > 6.1.
>> >> > So I think that it is for backward compatibilities.
>> >> > I search a little to use Jetty 7 but can't find the good update site
>> >> > (tried http://download.eclipse.org/jetty/stable-7/update/ based
>> >> >
>> >> >
>> >> > on http://wiki.eclipse.org/Jetty/Howto/Install_Jetty#OSGi_Update_Repositories)
>> >> >
>> >> > So what is the correct update site for Jetty 7?
>> >> >
>> >> > Regards,
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > jetty-users mailing list
>> >> > jetty-users@xxxxxxxxxxx
>> >> > https://dev.eclipse.org/mailman/listinfo/jetty-users
>> >> >
>> >> >
>> >> _______________________________________________
>> >> jetty-users mailing list
>> >> jetty-users@xxxxxxxxxxx
>> >> https://dev.eclipse.org/mailman/listinfo/jetty-users
>> >
>> >
>> > _______________________________________________
>> > jetty-users mailing list
>> > jetty-users@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/jetty-users
>> >
>> >
>> _______________________________________________
>> jetty-users mailing list
>> jetty-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>