Frequent Flyer Subsystem is written in CGI/Perl. And FBN do not want to re-write it. I understand that Web client can directly send request to CGI/Perl script. But The question is how Java Application Client talk to CGI/Perl script?
Also I wanted to know whether to call CGI/Perl script from Java Application Client is a good practice? If not what is the alternative?
calvin zhu
Ranch Hand
Joined: Mar 18, 2002
Posts: 54
posted
0
Just do a google search u will find out how to use this class.
Ramon Gill
Ranch Hand
Joined: May 15, 2003
Posts: 344
posted
0
Why not use connector's?
Ray
Parag Doshi
Ranch Hand
Joined: Jun 29, 2004
Posts: 317
posted
0
Originally posted by Ramon Gill: Why not use connector's?
Ray
Ray, Can you elaborate on it? How can we use connectors if we are not able to change any part of the CGI system? Am I missing something?
Parag
Annie Zhang
Ranch Hand
Joined: Sep 08, 2004
Posts: 31
posted
0
Even though we may have the source code of FFM, I am wondering if using screen scraper is also a good alternative. I assume the interface of FFM is quite stable.
H. Hafer
Ranch Hand
Joined: Aug 23, 2004
Posts: 108
posted
0
Hi folks,
just for the records: why should i know the API for interfacing FFM? It should be enough to know the principle, and that's clear readible in the requirements. I don't believe, we're supposed to provide a detailed interaction with the FFM - that would be a job for the designer. Am I wrong here?
thanks, Harbo
Annie Zhang
Ranch Hand
Joined: Sep 08, 2004
Posts: 31
posted
0
I am sorry the "interface of FFM" is misunderstood to be the API. I meant GUI. That is why makes it a good candidate of screen scraper. I don't care about its API either.
calvin zhu
Ranch Hand
Joined: Mar 18, 2002
Posts: 54
posted
0
Originally posted by Parag Doshi:
Ray, Can you elaborate on it? How can we use connectors if we are not able to change any part of the CGI system? Am I missing something?
Parag
Screen scraper, just like Annie said. Passing 1st exam, I'm sure you know the way, right?
Parag Doshi
Ranch Hand
Joined: Jun 29, 2004
Posts: 317
posted
0
Originally posted by calvin zhu:
Screen scraper, just like Annie said. Passing 1st exam, I'm sure you know the way, right?
I thought Ray was talking abt JCA (connector adapters) rather than screen scrapers. Screen scrapers don't sound like a good idea for the CGI app..its already web enabled, why would I need to circumvent it and go for the mainframe screens? HTTPConnection sounds like a simpler alternative.
Parag
calvin zhu
Ranch Hand
Joined: Mar 18, 2002
Posts: 54
posted
0
Parag, I would think using here HTTPConnection is screen scrapers -- without changing any code on destination and form a http string to emulate the GUI's result. Right?
James Wang
Ranch Hand
Joined: Sep 04, 2003
Posts: 102
posted
0
calvin,
I think you are right, I adopt this method too. if I am wrong, pls help me.