Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[osgi-users] HttpService and jakarta.servlet

Hi,

I would like to use Jersey 3.X (which is based on the jakarta namespace...e.g. jakarta.servlet rather than javax.servlet) and the OSGi HttpService.   Currently, the OSGi 8 HttpService interface references the old namespce for Servlet...i.e. javax.servlet.Servlet [1].

Jersey 3, it seems...uses/refers to the jakarta.servlet.Servlet class and provides an implementation...e.g. org.glassfish.jersey.servlet.ServletContainer (which implements jakarta.servlet.Servlet.

Is there a way to run use Jersey 3's ServletContainer (jakarta hamespace) with HttpService (javax namespace) implemented by Jetty?...and/or others?

Thanksinadvance,

Scott

[1] https://osgi.github.io/osgi/cmpn/service.http.html#i1223311



Back to the top