Re: Passing / Receiving data from a Java Code
ARDBC is supported in 7.0.x, it just has to be written in C. Not until 7.1 does the plugin server support java based plugins (ardbc, area, filter, etc.). "How can I do this call??" That's all up to you and how you write the programs; IPC, network socket, ... Axton Grams On Thu, Sep 4, 2008 at 2:49 PM, Tadeu Augusto Dutra Pinto < [EMAIL PROTECTED]> wrote: > 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: arslist@ARSLIST.ORG > 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" > ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
Re: Passing / Receiving data from a Java Code
In ARS version 7.0.x the plugin(s) are written in C. In 7.1.x plugins can be written in C or Java. A 3rd option would be to write a intermediate web service (on a web server somewhere) that takes your request and executes the java call and returns the data back to Remedy. Fred -Original Message- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Tadeu Augusto Dutra Pinto Sent: Thursday, September 04, 2008 1:49 PM To: arslist@ARSLIST.ORG Subject: RES: Passing / Receiving data from a Java Code 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: arslist@ARSLIST.ORG 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, ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
Re: Passing / Receiving data from a Java Code
While I agree with Axton that the Java based ARDBC plugin is the "best" approach. However, given the v7.0 restriction on the question... I think a DVF with Active links to pass date in/out of the "Data Visualization Field" DVF might also work as a reasonable option for a client side integration? ( I do note that the poster did not mention a v7.x Mid-Tier, and that would be required for this to be an option. ) However, that version of Java 1.3.1 is really old. I am not sure that will work. You may need to move forward to 1.4. (or maybe even 1.5). HTH. Oh.. and Axton said the _java_ ARDBC plugin was not supported on 7.0.x. There is a C based ARDBC plugin that you could implement. (If you write C.) -- Carey Matthew Black Remedy Skilled Professional (RSP) ARS = Action Request System(Remedy) Love, then teach Solution = People + Process + Tools Fast, Accurate, Cheap Pick two. On Thu, Sep 4, 2008 at 2:39 PM, Axton <[EMAIL PROTECTED]> wrote: > ** > 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 ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"
RES: Passing / Receiving data from a Java Code
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: arslist@ARSLIST.ORG 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"
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 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"
Passing / Receiving data from a Java Code
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, ___ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"