The Components of DAL
The following diagram shows the major components of DAL. The shadedcomponents are described in this document.
Here are brief descriptions of the components in the diagram.
· Front end:
o Applications are components that face the user's browser.
o Batch applications run in the background and perform.
o SOA components perform services for applications and batch
· DAL-related components:
o Cookie Manager fetches, stores, andmaintains cookies in the user's browser (for browser-facing applications only).
o Data Accessservices requests for database access from applications.
o DEDE (the DAL Eclipse Development Environment) isan add-on to Eclipse, a widely used development environment. It generates andmaintains source code for classes that constitute the Data Access component.
· DALcomponents:
o GemService is a highly scalable server-side alternativeto cookies. Its interface with Cookie Manager enables it to replace selectedcookies with gems (the GemService equivalent of cookies) transparently toapplications. Gem-aware applications can also use it directly. Batchapplications can access gems, although they cannot access cookies because theyhave no contact with a browser.
o TheQuery Engine constructs andexecutes SQL queries to fulfill data requests from the Data Access component.
o DDR (the Dynamic Data Routing or Data DependentRouting service) enables the Query Engine to locate data resources, which maybe distributed, duplicated, or relocated to deal with service failures,variations in traffic, and other aspects of a dynamically changing environment.
o ConnectionManagement obtains databaseconnections from servers, keeps them in pools, and distributes them toapplications that need them. It also manages prepared SQL statements.
o DALCache improves performance for heavily used dataresources by caching data on the application servers where it is used. Avariety of caching options can control the location and contents to maximizethe performance gain.
· Persistencelayer (relational database implementation):
o JDBC (Java Database Connectivity) is the Javaprogramming language's standard database access component.
o PersistentStorage is a resource thatmaintains data when it is not being used by an application, typically it isprovided by DB2, Oracle and MySQL database servers.