File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes JCA for small systems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "JCA for small systems" Watch "JCA for small systems" New topic

JCA for small systems

Tiger Scott
Ranch Hand

Joined: Mar 01, 2001
Posts: 223
Is it worth wrting a JCA style adapter for small leagacy connectivity? I can see the advantage when using it for a ERP etc but does it apply to small systems.
Atul Apte

Joined: Feb 19, 2002
Posts: 29
Hi Sanjay,
That depends in part on how mission critical is the small application to the integration scenario.
The application may be small but if its critical to the scenario then a JCA adapter is still justified in my opinion.
You are right in asking the question in terms of the cost involved in developing JCA adapters and their usefulness.
I personally prefer to use an adapter framework that can be implemented as a JCA adapter when required or an EJB, or a standalone component, depending on the integration scenario.
Also, with more resource adapter vendors the cost of adapters for ERP and other packages should go down.

Atul Apte<br />President and CEO <a href="" target="_blank" rel="nofollow">iConexio Technologies Inc</a>.<br />Author of <a href="" target="_blank" rel="nofollow">Java Connector Architecture: Building Enterprise Adaptors</a>
Fei Ng
Ranch Hand

Joined: Aug 26, 2000
Posts: 1242
when it is worth to use JCA in your opinion? maybe either over Web services as
XML/SOAP and UDDI? Still not that clear about JCA.
Got this from other thead.
"Hence web service is not an extension of the application server or any other platform but more of a access mechanism that can be used to invoke functions across the Internet."
Wouldn't using Web Service be easier? If want we want to talk over the Web that is. I am still comparing web serviec with JCA!! Don't know why! Maybe you can help.
Thanks a lot!!
Atul Apte

Joined: Feb 19, 2002
Posts: 29
In my opinion JCA is the way to go when your business case is about a J2EE application requiring to integrate with non-J2EE application.
For other scenarios like legacy systems accessing J2EE applications, JCA is not the ideal choice. Message driven beans or web services (for the J2EE application) will be a better choice.
Building a JCA adapter for a legacy system only helps a J2EE application get access to the legacy system. What if the legacy system already has a web service? I will still build a JCA adapter to maintain a consistent CCI based interface to the EAI tools.
Hope this makes sense.
Shekhar Chiplunkar

Joined: Nov 20, 2001
Posts: 6
I have webservice ready small legacy system.
I wish to consume webservice in Resource adapter.
But I am facing some remote exception while consuming webservice in resource adapter.

expert comments please.


Trust yourself.
I agree. Here's the link:
subject: JCA for small systems
It's not a secret anymore!