1 / 21

CIS 365

CIS 365. Vandana Janeja Nov 27 th 2001 Connecting Cobol programs to Other Languages-Visual Basic, Java,HTML. No Main option. Make a DLL instead of an EXE. Java Calling a Cobol program Simplest method:. Create a COBOL program Generate its Executable

terrel
Download Presentation

CIS 365

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIS 365 Vandana Janeja Nov 27th 2001 Connecting Cobol programs to Other Languages-Visual Basic, Java,HTML

  2. No Main option

  3. Make a DLL instead of an EXE

  4. Java Calling a Cobol programSimplest method: • Create a COBOL program • Generate its Executable • Write a Java program with a runtime exec object which calls the COBOL exe file.

  5. Client Server Architecture and COBOL Web Server hosting the Servlet Server Response Object Client Browser Client Request Object Session Object A general HTTP scenario

  6. Three tiered / N- tiered architecture Database Mail Server …… Other Services Application Server Client HTML XHTML Applet Applications Web container Servlets Application Container

  7. HTML forms <form name=form1 mehtod=post action=“myCOB.cgi”> <input type= text name= t1 > <input type=text name=t2> <input type=submit> </form>

  8. HTML form HTML form COBOL CGI program Servlet program Database / Mainframe Database

  9. Client HTML form Web Server Servlet program COBOL CGI program Database

  10. Ref : http://www.ils-international.com/goldmine/webcobol.htm

More Related