Creating database applications  Using a default JNDI data source resource

Chapter 3: Developing Applications

Database element JNDI connection cache option

When you define a database element, you can either enter a JNDI resource name or a JDBC connection URL for the data source.

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.

NoteUsing a connection pool is more efficient than using the JDBC URL option, which creates a new connection to the database every time the application executes.





Copyright © 2005. Sybase Inc. All rights reserved. Using a default JNDI data source resource

View this book as PDF