• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Screen Scraper with HTML

 
Aurelio Calegari
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

I have the following scenario:

- A CGI, Perl, HTML application that must not be changed but must integrate with my brand new J2EE application.

I could access directly this CGI app database to do what I need, but at this point it does not appear to be the best solution. I assume that some business rules are executed along with CGi/PERL app and I have no way to change it, so it's my understanding to to keep that system consistent I should access it through its interface.

From all documentation I have they mention screen scrapers as a solution for replacing Mainframes terminals, but I didn't see anything regarding the use of this approach to 'legacy' web systems...

Any thoughts?

Regards
 
saurabh suman
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aurelio ,
I have read somewhere and had gone to the sites also. There are few players in this area which used to provide the screen scrapper kind of functionality to integrate CGI with java. Try searching that on net.

Saurabh
 
Makesh Kumar Ramakrishnan
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why don't you submit a HTTP request to the Perl/CGI application from your new application? If you submit a HTTP request, then you would get HTTP response, you can do the parsing to find out the needed information. In that way you don't need to change the existing application. But you can use it with the new application.

Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic