Since Java EE 6 it's possible to define data sources in a portable way.
This does mean though that the data source is embedded in the application archive. For some use cases, this is exactly what's needed, but for others it may not be ideal.
Payara Server - Derived from GlassFish, with 24/7 Production Support. Payara Server is a drop in replacement for GlassFish Server Open Source Edition, with the peace of mind of quarterly releases containing enhancements, bug fixes and patches.
© Payara 2017. All rights reserved.GlassFish, Java & Java EE are registered trademarks of Oracle and/or its affiliates. Payara and its logos are a trademark of Payara Foundation