anchor.diff:  A simple JPA project, using a single entity, simple CDI managed beans and two simple servlets (posting items and getting items).
   
   * The `advanced` package illustrates different transaction management approaches.
  +
  +[[JavaEE-JPA-Inject-Servlets-JUnit]]
  +=== JavaEE-JPA-Inject-Servlets-JUnit
  +Illustrates (the awkwardness of) JUnit-testing servlets that use CDI. This sample uses standalone Weld. Not recommended: see <<Weld-SE, below>>.
   
   === JavaEE-JPA-JSF
   A simple JPA project with two simple JSF pages.
  
positive.code: == Logging best practices
  [[logging-choice]]
  === Framework
  One of the PITA in Java world is the multiplicity of logging framework. My personal choice is to go for JUL for Java EE projects and SLF4J plus logback for Java SE projects.
  
  [[other-samples]]
  == Other samples
  
negative.code: * https://github.com/wildfly/quickstart[wildfly]:
  ** check out, for example, https://github.com/wildfly/quickstart/tree/10.x/cdi-injection[cdi-injection] for a very simple use of CDI.
  * GlassFish comes with (mostly elaborated) samples (in the `samples` subdir of GlassFish), also available through https://svn.java.net/svn/glassfish-samples~svn/trunk/ws/javaee7/[svn].
  * To access the samples with Eclipse: I recommend to first git clone (or d/l) the repository, then use Eclipse Maven import.
  
  