Porting to GlassFish