Add an example of a Jersey OSGi bundle for Jetty 12 (ee8)#5524
Add an example of a Jersey OSGi bundle for Jetty 12 (ee8)#5524gpfeifer wants to merge 1 commit intoeclipse-ee4j:2.xfrom
Conversation
|
Please sign ECA. See here. |
|
@gpfeifer I can see the ECA has been signed, but for some reason, the Eclipse ECA validation tool validates against gpfeifer@d*c DOT com, ie not against the signed-off-by address. I'll try to bug Eclipse about it. |
|
@gpfeifer It has the Author header different from the email the ECA is signed with. Can you please update the Author header in the commit? |
|
Changed the author (hopefully) |
Signed-off-by: Gregor Pfeifer <gregor.pfeifer.gp@gmail.com>
|
@gpfeifer Yes, that did the trick, thank you. |
|
@gpfeifer What is it exactly that makes the app running on Jetty 12? Is it just the lines
Or is there something more? |
|
Two things makes the app running on Jetty 12: Manifest.mfIn addition to the other entries there must be: web.xmlThe Jersey ServletContainer must be initialized with a Jersey ResourceConfig. Jersey Application should also work, but I didn't tested this |
A very minimalistic example of a Jersey OSGi Bundle which can be deployed in an OSGi container with Jetty 12 (ee8).