This sample demonstrates the use of JNDI APIs and declarative JNDI.
Time required: 2 minutes
You can use this sample on both desktop and device runtimes. However, only the DB2
® DataSource can be returned on the device runtimes.
Key concepts demonstrated in this sample are as follows:
Parent topic: Samples
JNDI setup instructions