When you create a database element, you can use one of the default JNDI resources included with Unwired Accelerator, or you can create a new resource. For information about creating a new JNDI resource, see the Unwired Accelerator Administration Guide.
These default JNDI data source resources are included with Unwired Accelerator:
java:/com/env/jdbc/portaldb – connects to the portal database.
java:/com/env/jdbc/sampledb – connects to the sample database.
java:/com/env/jdbc/agdb – connects to the M-Business Anywhere database.
java:/com/env/jdbc/msales – connects to the mobile sales demo database.
java:/com/env/jdbc/mpharma – connects to the mobile pharmacy demo database.
java:/com/env/jdbc/uaml – connects to the MobiLink database.
These data sources are only examples. You must create
your own database with your own data source resources.
In the Mobile Web Studio – New Application Database
Element Definition window, select the JNDI resource name from the
drop-down list; for example, “portaldb
” for
portal database, or “sampledb
” for
the sample database.