How does glassfish.jar work