• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question about how to make a html/perl/cgi system available to web and app???

 
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys!
I have the following scenario:
- A web system written in perl/cgi/html/RDBMS (lets call this WEBAPP X)
- A requirement to make this system available by web and application (java)...
- Can't rewrite the web system (WEBAPP X)...
What's the best way to complete this requirement???
I was thinking in something like that:
----------------------
| CLIENT WEB BROWSER |
----------------------
|
|
HTTP
|
|
-------------------
| J2EE WEB SERVER |
-------------------
|
|
------------------
|J2EE APP SERVER |----<SCREEN SCRAPPING>----HTTP----| WEBAPP X |
------------------
|
|
|
RMI
-----------| JAVA APP|

Explaining: It's like the J2EE APP Server will have a SCREEN SCRAPPING tool , that parse the HTML generated by the WEBAPP X for response, and make request to CGI.
The browser client request the J2EE web server that request the J2EE app server that parser the HTML generated by the CGI/PERL/RDBMS.
The same from the JAVA APP but the acess is made direct on the J2EE APP SERVER by RMI...
Is that correct??? Any options???
Many, many thanks for everyone...
Sorry for the long question....
Please, any help will be very appreciated...
[ April 22, 2004: Message edited by: Eduardo Rodrigues ]
 
Eduardo Rodrigues
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maybe I'm thinking in use a EJB stateless to make the request to the web app (CGI/perl/HTML) and parse the response...
The APP will use this EJB directly while the the WEB BROWSER makes the request to the J2EE WEB SERVER (container for servlets) that makes the request to the same EJB in the J2EE APP SERVER...
Please, any help???
 
Eduardo Rodrigues
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Come on people, help me in this issue!
Thanks
 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Eduardo,
I dont think this is a bad approach and cant think about a better approach. In fact I had suggested and implemented the same thing in one of my earlier assignemnts and till date there was no issues reported by the client regarding the basic service level requirements.
-Dhanush.
 
Eduardo Rodrigues
Ranch Hand
Posts: 199
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you very much...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic