× home microservices wysi!wyg zen ide jsp jdbc pool EJB-v-CDI Shopping Cart about
Backbutton Frameworks ©





Confusion of Java EE APIs

Another shopping Cart concept Applications demonstrating Java EE bloated API set with simultaneous use of different components, the CDI and the EJB integrated into Servlets. A Multi-Page Application.

  • javax.ejb.Local @Local Annotation used to indicate the EJB client is running in the same EJB container/deployment. I used same Message Interface with CDI with no objection from application server.

  • common Interface

    javax.ejb.Local @Local Annotation used to indicate the EJB client is running in the same EJB container/deployment. I used same Message Interface with CDI with no objection from application server.

  • Just in case it is not obvious, to test this code simply press the refresh button to increase product quantity, meanwhile the forward and back button will have no effect on the shopping cart quantity.

  • Bloated API set