Creating JNDI Connection and Data Source

Canvas allows your application to gain access to the database connection using the Java Naming and Directory Interface location (JNDI) name. The JNDI value is dependent on the app/web server being used for your application.

Below are sample JNDIs for your reference.

JBOSS
Modelhousejava:jboss/datasources/ModelHouse
ExpertStudiojava:jboss/datasources/ExpertStudio
Sigmajava:jboss/datasources/SigmaAppDataSource
TOMCAT
Modelhousejava:comp/env/jdbc/ModelHouse
ExpertStudiojava:comp/env/jdbc/ExpertStudio
Sigmajava:comp/env/jdbc/SigmaAppDataSource
WEBLOGIC
ModelhouseModelHouseCT
ExpertStudioExpertStudio
SigmaSigmaAppDataSource


Refer the following topics: