Digital Marketing

Datasource: WildFly/Jboss vs GlassFish

On GlassFish the datasource is nothing but a JNDI name to a connection pool. On WildFly, a datasource really means a datasource. It contains a connection pool and the JNDI name is just another property.

The JNDI name is used by the application to reference the datasource. That’s a fundamental difference between GlassFish and WildFly. Your current JNDI name may look like jdbc/i88ca in GlassFish, but in WildFly you need to append the prefix java:/ or java:jboss/, resulting in java:/jdbc/i88ca or java:jboss/jdbc/i88ca respectively.


Popular posts from this blog

Make online money from the Internet