added complete example using glassfish and mysql