Working with embedded glassfish