I maintain olfs which has been compiling fine against tomcat-servlet-3.0-api. Latest version however fails. Apparently upstream uses servlet 2.5.
I see we have a jboss-servlet-2.5-api package now, and it compiles fine against that. What would be the implications switching to that? Does it then need to be run in jboss, or could it still be used in tomcat?
Sorry, I don't know much about this area....
On 02/21/2014 01:57 PM, Orion Poplawski wrote:
against that. What would be the implications switching to that? Does it then
need to be run in jboss, or could it still be used in tomcat?
Theoretically, all of these API implementations are interchangeable. So long as they meet a particular spec version (e.g., 2.5), then you may choose to use whatever implementation you wish.
In fact, the JPackage project originally created alternatives like servlet_2_5_api.jar for this very purpose.
Of course, I don't know specifically why Fedora has multiple implementations sometimes (geronimo, jboss) and whether they dictate a preference for a certain implementation, but it is not strictly necessary to do so.
java-devel@lists.fedoraproject.org