Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can Petstore 2.0 run on Tomcat or other Java web container?

0
10 Posted

Can Petstore 2.0 run on Tomcat or other Java web container?

0

Petstore 2.0 is just a war file and does not use EJBs so could run on a web container such as Tomcat, provided some extra libraries were added to support technologies like a JSF 1.2 library and a Java Persistence API library, JTA for basic transaction management, plus we use Java EE 5 annotations for resource injection so would need to rewrite the code in Petstore to use JNDI instead of resource injection annotations which should be easy since we have it centralized in one class, the CatalogFacade.java. Check out the contributions page and the help wanted page if you get petstore running and let us know of your efforts and contribute to the petstore project.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.