Re: JCA
ale bra <[email protected]> Tue, 29 Jun 2004 15:10:06 +0000
| Newsgroups | gmane.comp.java.sun.connector |
|---|---|
| Message-ID | <[email protected]> |
Thanks a lot for the reply!
I already read that article, but I do not want to use WSIF and WSDL!
In a presentation I downloaded from IBM (rmp presentation) it was said that
there were 2 ways of doing intergration towards an EIS :
1) tool generated (WSAD)
2)hand-coded.
I'd like to implemente the hand-coded one!
There was a sample code like this :
Context ctx = new InitialContext();
ConnectionFactory cf;
cf = (ConnectionFactory) ctx.lookup("java:comp/env/CICSConnFactory");
ECIConnectionSpec ecs = new ECIConnectionSpec ();
Connection conn;
conn = cf.getConnection(ecs);
Interaction interact;
interact = conn.createInteraction();
ECIInteractionSpec interactSpec = new ECIInteractionSpec ();
interactSpec.setInteractionVerb(ECIInteractionSpec.SYNC_SEND_RECEIVE);
interactSpec.setFunctionName("XXXXX");
GenericRecord rec = new
GenericRecord(("abcde").getBytes("IBM037"));
interact.execute(interactSpec, rec);
That's exactly what I wanted, I could use my CustomRecord.getBytes() to
create that GenericRecord...but I can't find GenericRecord!!
Thanks
Cheers
Alex
>From: Graham Charters <[email protected]>
>Reply-To: "A public list for J2EE Connector architecture interest."
><[email protected]>
>To: [email protected]
>Subject: Re: JCA
>Date: Tue, 29 Jun 2004 15:06:49 +0100
>
>Hi Alex,
>
>There is an article series on developerWorks which covers CCF->JCA
>migration. The most relevant article appears to be part 3:
>http://www-106.ibm.com/developerworks/websphere/library/techarticles/0403_searle/0403_searle3.html
>
>I hope this helps.
>
>
>Regards,
>
>Graham.
>
>
>
>
>
>
>
> ale bra
> <[email protected]
> OM> To
> Sent by: "A [email protected]
> public list for cc
> J2EE Connector
> architecture Subject
> interest." JCA
> <CONNECTOR-INTERE
> [email protected]>
>
>
> 29/06/2004 14:41
>
>
> Please respond to
> "A public list
> for J2EE
> Connector
> architecture
> interest."
>
>
>
>
>
>
>Hi all, I have to use my CCF Records (com.ibm.record.CustomRecord) in JCA
>interactions towards CICS.
>Is there any type of Record (JCA compliant) who can take the byte[] I get
>from
>CustomRecord as input argument?
>
>How can I do to use JCA with my "old" records??
>
>Help appreciated, thanks in advance
>
>Alex
>
>_________________________________________________________________
>Chiacchiera con gli amici online, prova MSN Messenger!
>http://www.msn.it/downloadmessenger/
>
>===========================================================================
>To unsubscribe, send email to [email protected] and include in the body
>of the message "signoff CONNECTOR-INTEREST". For general help, send email
>to
>[email protected] and include in the body of the message "help".
>
>===========================================================================
>To unsubscribe, send email to [email protected] and include in the body
>of the message "signoff CONNECTOR-INTEREST". For general help, send email
>to
>[email protected] and include in the body of the message "help".
_________________________________________________________________
Chiacchiera con gli amici online, prova MSN Messenger!
http://www.msn.it/downloadmessenger/
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff CONNECTOR-INTEREST". For general help, send email to
[email protected] and include in the body of the message "help".