Task overview: Accessing data from applications

Task overview: Accessing data from applications

Why and when to perform this task

Various enterprise information systems (EIS) use different methods for storing data. These backend data stores might be relational databases, procedural transaction programs, or object-oriented databases. IBM WebSphere Application Server provides several options for accessing an information system's backend data store:

For all of these options, except for using the JCA 1.0 or 1.5 compliant connectors, the prerequisite Web site details which databases and drivers are currently supported. Consult the IBM Web address: http://www.ibm.com/software/webservers/appserv/doc/latest/prereq.html .

  1. Develop data access applications. Develop your application to access data using the various ways available through the WebSphere Application Server. You can access data through APIs, container-managed persistence beans, bean-managed persistence beans, session beans, or Web components.

  2. Assemble data access applications using the assembly tool. Assemble your application by creating and mapping resource references.

  3. Prepare for deployment: Ensure that the appropriate database objects are available. Create or configure any databases or tables required, set necessary configuration parameters to handle expected load, and configure any necessary JDBC providers and data source objects for servlets, enterprise beans, and client applications to use.

  4. Install the application on your application server.



Sub-topics
Resource adapter
Connection factory
JDBC providers
Data sources
Data access beans
Connection management architecture
Cache instances
Developing data access applications
Assembling data access applications using the assembly tool
Deploying data access applications
Administering data access applications
Data access: Resources for learning

Related concepts
Embedded Structured Query language in Java (SQLJ) support

Related tasks
Installing application files

Related reference
J2C Administered Objects collection