About
Satya
Aspire/J2EE
Java.net
OnJava.com
Build Related
Release Notes
Download
Help
More...
White Papers
What is Aspire
Aspire's Benefits
Aspire's Features
Database Development
Architecture
More ..
Howtos
Base Framework
Data Access
Web
Advanced
Related Reading
Satya's AKC Blog
Satya's java.net Blog
Articles
Properties
Cheat sheet 1
Cheat sheet 2
property files
html files
jsp files
3-Sep-03
Aspire can be used as a data access library for Java programs. Aspire has three abstractions for data access.
In addition Aspire has a transactional aspect that cuts across all of data abstractions.This article examines each of these abstraction while identifying their relevance
20-May-06
Examples of database definitions.
connection strings aliases
http://www.onjava.com/lpt/a/2856
Use it for a very flexible data access library: Imagine retrieving and updating data without ever thinking about connections, databases, commits, rollbacks, etc. Imagine having all of your SQL externalized into config files so that it stays out of your pure Java code. Imagine swapping your data sources between flat files, SQL, stored procedures, CICS transactions, etc. Imagine also not changing your client code a bit while you are doing this. Imagine transactional capability across multiple data access components. Aspire provides all of this in a very small package.
19-Apr-06
http://www.onjava.com/lpt/a/3277
1. Retrieve a page worth of data using a single call 2. Execute multiple sql statements and combine their output into a single logical data set 3. Retrieve XML from relational databases declaratively
4-Sep-03
14-Dec-04
23-Aug-05
10-Dec-04
It is common to make use of stored procedures to encapsulate business logic that operates on data. There are fairly well documented benefits of doing this despite, also, the known drawbacks. For one thing these procedures represent a chunk of work with minimal infrstructural accoutrements. For example you don't need to worry about transactions or connections. You just write the logic. The connections and transactions are handled by the container, in this case the database.
At times a database may not support stored procedures or even when they do due to the complex nature of manipulation you may need to use the power of Java to write that logic. But when we step into java, you start needing to know about transactions and connections, statements, result sets etc.
This article shows how to imitate stored procedure like logic in Java while borrowing the same connection agnostic benefits that are inherent in stored procedures.
Page Menu
Print
Sort by Date
Sort by Name
Titles
> Summaries
Global Menu
My Web Logs
My Library
My Home
Other libraries
Author Content
data format