Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JCA for small systems

 
Tiger Scott
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Thanks
Sanjay
 
Atul Apte
Author
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Fei Ng
Ranch Hand
Posts: 1245
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
interesting...
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
Author
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Fei,
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.
Atul
 
Shekhar Chiplunkar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Shekhar
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic