Explicitly specifying application/* media type
"mvn embedded-glassfish run" to run the samples in embedded GlassFish. TBD: how to connect with database.