Skip to main content

the way to customize Glassfish4 to minimize the footprint (both disk and memory usage)

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
email2liyang
Offline
Joined: 2013-01-23

Hi, we are going to use Glassfish4 which has Felix as our OSGI container, we are looking for ways to customize Glassfish4 to minimize the footprint (both disk and memory usage) as we do not need some features(like Jersey/MQ/JavaDB), is there config option available in Glassfish to config which modules to start or not?

- See if there is any way to reduce the size of the GF binaries we install
- Only load the GF core modules that we plan to use. Something like web profile.
- Optimize to lower startup speed and heap usage