Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Confused on Java Connector Architecture (JCA) concept!

 
Aarati Manel
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
Aarati Manel
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
Linux Mac Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic