[ 
https://issues.apache.org/jira/browse/FELIX-6389?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17288620#comment-17288620
 ] 

Scott Lewis commented on FELIX-6389:
------------------------------------

I'm interested in any thoughts/refs people have:

I have some bundles that depends upon/uses/consumer of HttpService.   The 
HttpService interface in R7 refers to javax.servlet.Servlet (registerService):

[https://docs.osgi.org/javadoc/osgi.cmpn/7.0.0/org/osgi/service/http/HttpService.html]

These same bundles also depend upon Jersey...which in 3.x has already moved to 
jakarta namespace.

I can change/transform my code to use jakarta.servlet namespace but is there a 
way (with transformer?) to continue to use the existing HttpService? (with new 
or old impls)    How would this be done without source changes to HttpService?  
Any examples yet?

Thanksinadvance.

 

> add support for servlet 5.0 (tomcat 10)
> ---------------------------------------
>
>                 Key: FELIX-6389
>                 URL: https://issues.apache.org/jira/browse/FELIX-6389
>             Project: Felix
>          Issue Type: Improvement
>          Components: Web Console
>            Reporter: Miroslav Šulc
>            Priority: Major
>
> because tomcat 10 had to switch the packages from javax.* to jakarta.\*, imo 
> webconsole cannot be used on tomcat 10. it uses 
> org.osgi.service.http.HttpService from osgi.cmpn 6.0.0 which does not support 
> jakarta.\* servlet classes. i was not even able to find osgi.cmpn that would 
> have org.osgi.service.http.HttpService with support for jakarta.* servlet 
> classes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to