I didn't know that ARDBC plug-in was not supported on 7.x.... :(
Why doesn't it supported??
 
Another question... At the first option that you said... I'll have to write a 
plug-in in C that calls a Java daemon???
How can I do this call??
 
 
Thanks for reply...
Any other tips will be very appreciated...
 
Att,
 
Tadeu Augusto Dutra Pinto
 
 

________________________________

De: Action Request System discussion list(ARSList) em nome de Axton
Enviada: qui 4/9/2008 15:39
Para: [email protected]
Assunto: Re: Passing / Receiving data from a Java Code


** 
The preferred method would be a java ardbc plugin, but this is not possible on 
7.0.x.  The options I see:
- write a java daemon (based on your java api) that accepts and responds to 
requests, then write a filter plugin in c to send/receive requests from that 
daemon.
- fork a java process via set fields run process that returns the values you 
want (gonna be slow and prone to problems since you would have to parse a 
string of data)

I am sure there are many other approaches, but these first two come to mind.  
The first is more intricate but once working will work faster and more reliably 
than the second.

Axton Grams


On Thu, Sep 4, 2008 at 2:06 PM, Tadeu Augusto Dutra Pinto <[EMAIL PROTECTED]> 
wrote:


        ** 
        Hi all,

         

        I have a doubt about how to integrate ARS with out of the box 
products/systems...

        We have to access data from an external database, but this database 
access has an interface implemented in java code... We would like to write a 
plug-in code that communicates with this java interface code (it's really a 
classic java method)... 

        Workflow:

        On a ARS form we wish that when a user type the identificator field for 
a client (Account Number, for example) and press enter, the system bring back 
complementary information about this client (such as Name, Phone Number, Email 
Address, etc...).

        These complementary data will be returned by another mainframe server, 
wrapped by a java method called "getInfoByAccountNumber(String account)".

        I'd like to know what is the best way to implement this request. 

        How can I call a java program that returns information and set this 
information on fields in my current screen???

         

        Any tips will be appreciated!

        Please let's talk a little bit more about this ... If any of you have 
questions about this workflow please reply this email that I will try to 
explain that in details...

        Thanks in advance....

        We are using:

        AR Server 7.0.01 Patch 7

        AR Admin 7.0.00 Patch 1

        AR User 7.0.00 Patch 1

        Oracle Database 10g

        Java 1.3.1

        AR System API 7.0 (arapi70.jar)

        OS Server - Unix AIX 5.3

        OS Client - WinXP

        IDE Java - Eclipse 3.0

        Att,

         
        __Platinum Sponsor: www.rmsportal.com <http://www.rmsportal.com/>  
ARSlist: "Where the Answers Are" html___


__Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to