param arora

Greenhorn
+ Follow
since Oct 29, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by param arora

Whole concept of jdbc is to provide one unified interface for handling the data base calls.

But with others,we need to provide some configuration information . that may in datasource.xml(In case of J2ee) or in the java code where we trying to load a driver using Class.forName() using DriverManager Approach

It delegates the responsibilities to the vendor specific driver, which will provide the implementation for Interfaces such as Statement etc.

Hope this answered u r Query.

Cheers
Hi

Can any one help me .. What best we can do to handle the case when we expect

The same EJB (Representing a Row in the data base) is accesed by 2 different clients from different locations.

I am aware of the transactions and the scope of transaction. By default in Enity beans using the CMT have the scope set to COMMIT_ACCESS i.e if in
case we have the same row being updated which some other client is trying to read , then only the commited data will be read by client trying to read .


Thxs in advance.

Cheers
Param
Hi People.

Can any one help me regarding the following issue :

Its never advisable to acess the entity beans remotely. the best performance which we can get it to use
Entity beans locally and provide a remote session bean to acess the local entity bean

Or use the remote session bean to acess the co- located Entity bean.

then why do we have the remote home and compoenet interface for an Entity bean when its never used .


Cheers
Param