Draft #2, using glassfish libraries