Questions tagged [jca]

The Java Connector Architecture (JCA) defines a standard architecture for connecting the Java EE platform to heterogeneous Enterprise Information Systems (EIS). Examples of EISs include Enterprise Resource Planning (ERP), mainframe transaction processing (TP), database and messaging systems

The connector architecture defines a set of scalable, secure, and transactional mechanisms that enable the integration of EISs with application servers and enterprise applications.

The connector architecture also defines a Common Client Interface (CCI) for EIS access. The CCI defines a client API for interacting with heterogeneous EISs.

The connector architecture enables an EIS vendor to provide a standard resource adapter for its EIS. A resource adapter is a system-level software driver that is used by a Java application to connect to an EIS. The resource adapter plugs into an application server and provides connectivity between the EIS, the application server, and the enterprise application. The resource adapter serves as a protocol adapter that allows any arbitrary EIS communication protocol to be used for connectivity. An application server vendor extends its system once to support the connector architecture and is then assured of seamless connectivity to multiple EISs. Likewise, an EIS vendor provides one standard resource adapter which has the capability to plug in to any application server that supports the connector architecture.

J2EE Connector Architecture Overview

207 questions
2
votes
1 answer

Deploying resource adapters on TomEE

We are trying to migrate from GlassFish to TomEE however we are experiencing troubles deploying our custom resource adapters on TomEE. On GlassFish it is just a matter of deploying RAR file, configuring resource adapter config and that is all. How…
Ariod
  • 5,757
  • 22
  • 73
  • 103
2
votes
1 answer

Externalizing resource adapter configs from standalone.xml in Jboss-as 7.1.1

I'm using Jboss-as 7.1.1 I have configured the resource adapter as below in the standalone.xml file. This basically is the configuration for a outbound queue using Websphere MQ and it works fine.
Navs
  • 119
  • 1
  • 17
2
votes
1 answer

How can I read a BouncyCastle private key PEM file using JCA?

In one of our applications private keys are stored using BouncyCastle's PEMWriter. At the moment I am investigating if we can get rid of the BouncyCastle dependency since Java 7 seems to have everything we need. The only issue is that I can not read…
Peter Becker
  • 8,795
  • 7
  • 41
  • 64
2
votes
0 answers

Connection sharing in JCA glassfish

I have a misunderstanding regarding the connection handle sharing in JCA. I want to know if the connection sharing only happens during a phase of transaction ( multiple components call ) or the connection sharing is possible amongst multiple…
Sam sep
  • 41
  • 2
2
votes
2 answers

Java EE integration with Legacy C++ application

I'm developing a Java EE web application and it should be integrated with a legacy Visual C++ application (.dll file) to apply some business logic (using the .dll functions). Could anyone point out how to implement this approach. I've done some…
2
votes
1 answer

Should I implement my own JCA adapter to access file system? Or use an existing one?

I am doing Java EE development on Weblogic, one of my EJB needs to process data from files. Since it is not recommended to access file system directly from EJB, I think a JCA adapter will be needed. There are some examples for creating JCA adapter,…
Yun
  • 97
  • 1
  • 6
1
vote
1 answer

Exception on JNDI lookup of a resource adapter in jboss 7.1

I deployed a resource adapter (XADisk) in jboss 7.1.0.final and now get an exception on JNDI lookup. I configured the ra.xml and deployed XADisk.rar. Then I added the following to my standalone.xml:
Andreas
  • 338
  • 2
  • 8
1
vote
2 answers

Multiple BPEL/ Mediator payloads how to store in DB using DB adapter

I have huge XML which is XSD define for the same and have complex types which required around > 50 DB tables to store the entire XML. Have one parent table which has reference ID to child tables. Now first I want store the parent table and get the…
balu
  • 11
  • 2
1
vote
1 answer

Pass through QueuManager in JMS API

In MQ, if you have an instance of an existing queue manager, say queuemanager1 that your app has access to. You can send your message by creating a queue that points to a queue of another queue manager, queuemanager2, through queuemanager1. This is…
1
vote
1 answer

ObjectInputStream with CipherInputStream freezing, hanging

I'm programming client-server based Java application and I've got a problem, because it hangs when constructing ObjectInputStream both in client and server. Client: Socket socket = new Socket("localhost", 9999); outCiph = new…
user1227115
  • 843
  • 1
  • 8
  • 11
1
vote
2 answers

In GlassFish, while writing a JCA adapter, is there a way to map anonymous users to an EIS user?

I've created my own JCA->EIS adapter for a legacy system. I'm having trouble authenticating while connecting to the old system. This is fairly difficult to explain. In GlassFish v3.1.1, after you've created your own JCA adapter and installed it,…
Jonathan S. Fisher
  • 8,189
  • 6
  • 46
  • 84
1
vote
0 answers

Glassfish does not stop dependent applications registered with a JCA Resource Adapter when changing a configuration property of the RA

(I already posted this one to the glassfish forum a few days ago, but no luck yet :-) The situation: I have a JCA resource adapter (RA) deployed that is configured via a @ConfigProperty annotation. public class MyResourceAdapter implements…
1
vote
0 answers

How to create a JCA adapter in Jakarta EE 9?

How to create or build a new JCA resource adapter (.rar) to connect to a new data store (in-memory data grid) system and which is compliant to the Jakarta EE 9 specifications to be able to use on the micorservices space .
Tarun Patel
  • 243
  • 9
  • 22
1
vote
1 answer

Is DESKeySpec insecure?

I am aware that DES is considered as an insecure algorithm for encryption at the moment. So does that imply that we should stop using the class DESKeySpec in JCA for specifying a key for encryption? More specifically, is the below code snippet…
1
vote
0 answers

Spring 5.3 deprecates CciTemplate

Spring 5.3 deprecates class CciTemplate, CciDaoSupport, etc: * @deprecated as of 5.3, in favor of specific data access APIs * (or native CCI usage if there is no alternative) */ @Deprecated public class CciTemplate implements CciOperations What…
Andrea
  • 11
  • 1