You will need a working connection to an SQL database, or you can create one in the process. For instructions on setting up this connection, see Creating an SQL database connection.
For EGL web projects, you need to set options in the project based on the information in the connection. Through the project's EGL Runtime Data Source property page, EGL can do much of this work for you automatically:
If the web project is not a module within an EAR project, you must associate the JNDI name with a database on the server manually. Refer to the server documentation for how to create a JDBC data source.
In addition to the information from the database connection, EGL creates a JNDI name for the connection. By default, this name is the name of the database connection plus the prefix jdbc/. You can accept the default or edit the JNDI name field.
If the Update default build options for project when runtime data source is modified preference is set to Always, EGL automatically updates the build descriptor options based on the connection information. If the preference is set to Prompt, EGL asks before updating the build descriptor options. If the preference is set to Never, no changes are made to the build descriptor options.