Ok, and doing a tomcat-catalina-xxx which wouldnt target spec explicitly, would more be a http server reusable is not an option too I guess?
So for the record I guess the best option is to switch to SimpleInstanceManager automatically. Thanks for the clarification Mark. Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <https://rmannibucau.metawerx.net/> | Old Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book <https://www.packtpub.com/application-development/java-ee-8-high-performance> Le jeu. 13 juil. 2023 à 15:15, Mark Thomas <ma...@apache.org> a écrit : > 12 Jul 2023 10:50:30 Romain Manni-Bucau <rmannibu...@gmail.com>: > > > Le mer. 12 juil. 2023 à 10:47, Mark Thomas <ma...@apache.org> a écrit : > > > >> On 07/07/2023 09:33, Romain Manni-Bucau wrote: > >>> Hi, > >>> > >>> Do you think we can make jakarta.annotations optional from > >> tomcat-catalina? > >>> Would ease IDE completion when this is not supported and tomcat is > >> wrapped > >>> in another web api. > >> > >> I don't think so. @PostConstruct and @PreDestory support is a > >> mandatory > >> requirement of the Servlet spec. > >> > > > > Does not mean it can not be made optional if not in the classpath > > technically - or did you speak more on "will" side? > > I think I am close to a -1 on such a change. Marking what is a mandatory > dependency as optional is likely to cause issues for folks that need it. > It isn't as if they expect to have to add the dependency to use those > annotations. > > Mark > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >