This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Confused on Java Connector Architecture (JCA) concept! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Confused on Java Connector Architecture (JCA) concept!" Watch "Confused on Java Connector Architecture (JCA) concept!" New topic
Author

Confused on Java Connector Architecture (JCA) concept!

Aarati Manel
Greenhorn

Joined: Aug 17, 2010
Posts: 12
I am doing some reading on JCA and trying to understand the concept of it.
As per my understanding JCA is used when one has to connect java application with EIS like peopleSoft, Ebusiness Suit, etc.
So is it right that java application can only connect and fetch database of EIS but to display that data java application should have it's own User Interface?
In other words is the JCA like a JDBC driver ? If yes then why cannot Java application directly connect to EIS database and fetch the data?
Yegor Bugayenko
Ranch Hand

Joined: Feb 11, 2011
Posts: 64
Indeed, JCA uses similar abstraction mechanism as JDBC. And of course Java application can connect directly to EIS and fetch its data. The same story with SQL - the application can connect directly to the database and fetch its data through TCP/IP socket, without JDBC abstraction.



JCA is a middleman between your application and some third-party resource. JCA makes this resource compliant with "JEE system contract" (see the picture).


follow me at yegor256.com
Aarati Manel
Greenhorn

Joined: Aug 17, 2010
Posts: 12
Thanks Yegor Bugayenko for the reply.
Now the question come to my mind is -
If Java application can access any EIS data through JCA then is it read only or writeable because EIS may not want any third party application to change its data.
gmkumar kumar
Greenhorn

Joined: Apr 18, 2011
Posts: 1

JCA allows both read and write. However the capabilities are limited by that of EIS. Further the implementer of the JCA adapter (similar to jdbc driver) can choose to implement only a subset of features supported by the EIS.
For eg: The data layer can be a standard RDBMS. The JCA adapter my choose to implement just the select query and ignore the rest.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Confused on Java Connector Architecture (JCA) concept!
 
Similar Threads
EJB Integration for SCEA Part1
J2EE EAI Book
Using Java Data Objects to access EIS using the JCA
JCA Adapter Development - Inbound Message
jca, jta, jts