- lineart-enterprise-app - umbrella project, contains meta info about modules
- lineart-enterprise-app-web
- contains the web client and server
- lineart-enterprise-app-assembly
- contains no source code, only dependencies, this is the project we run
- lineart-enterprise-app-ejb
- business logic, db-interaction
- lineart-enterprise-app-web
Needs a GlassFish datasource with jndi name jdbc/postgresql. This can be created in Netbeans but resides in Glassfish. It can also be created via the GlassFish admin console.
A data source is approximately the same as a GlassFish JDBC Resource. A JDBC resource is tied to a JDBC Connection Pool. The connection pool represents the database and holds information like user credentials for the DB, maximum connections, timeouts and so on.
In the GlassFish console (usually http://localhost:4848) choose Resources -> JDBC -> JDBC Connection Pools.