Skip to content
jdesmet edited this page Jan 15, 2017 · 8 revisions

Keeping our goals in mind of simplicity and starting from a plain vanilla Tomcat 8.5.x install, we will add in following JEE support.

JEE Spec Specification (API) Implementation (SPI)
CDI 1.2 Weld 2.3.2
[JSF](JavaServer Faces) 2.2 GlassFish Mojarra 2.2.12
Bean Validation 1.1.0 (JSR303) Hibernate Validator 5.2.3
[JAX-RS](JAX RS) 2.0.1 (javax.ws.rs-api) Jersey 2.22.1 (JDK7 or later)

This means that the most notable absence is JPA and JTA. Also at this point integration between CDI and JAX-RS is somewhat broken, as enabling integration between the two causes the JAX-RS injectin annotations to be broken, although plain CDI will work.

Because Tomcat Doesn’t come with CDI, JSF, or Jax-RS baked into it, we will have to choose ourselves which implementation we are going to include. Well, kind of like that, never could agree with others, and I have the chance to choose latest versions independent of support offered by the vendor of the server.

However we are not completely on our own in choosing the implementation. We still need to validate that the implementations will work with Tomcat. That also means choosing which version of Tomcat to use.

We will also consider additional JSF Extensions:

  • BootFaces
  • PrimeFaces

Both will provide a wide spectrum of custom tags for better layout and html element support, including ajax elements.

Clone this wiki locally