We would like to use an embedded glassfish for the Server part (EJB 3.1) of our desktop application.
While starting the glassfish server with our scattered archive, we experienced long startup times and high memory usage. We think this happens, because all third-party jar-libraries are searched for service annoations and / or are added to the scattered archive.
Is it possible to exclude the third-party libraries from this?