• Post Reply Bookmark Topic Watch Topic
  • New Topic

java talking with cobol  RSS feed

 
Alan Foligatti
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
should implement an architecture that includes a client web-form
and gui awt in java, powered by information coming from a
engine written in Cobol.

What framework do you recommend for interfacing java and cobol?
In order to handle requests from the client (java) to and from the server (cobol).
I emphasize that the client can be a browser or awt gui interface.

Thank you in advance for the advice
you can give me.

Thank you.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you mention a "web form", I'm assuming that means that there's web server involved somewhere? One solution might be to enhance the web server by a REST API for the AWT app, thus making the web server the middle tier for both browser and Java app. It could then talk to the Cobol machine using whatever technolofy that machine supports - raw sockets? REST over HTTP? ... ?
 
Alan Foligatti
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just at present there is client-server architecture, where the server is not cobol web. The idea is to redefine the interfaces (view) to the user using java awt or technology or better would be via web, thereby integrating a web / application server, which communicates with the server cobol business. my indecision is what Laier used to communicate between web server and server cobol.
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alan Foligatti wrote:What framework do you recommend for interfacing java and cobol?

Well, there is this page from the Big Blue site itself; however, it is nearly 7 years old.

I guess the main question is: is this merely a data feed, or is there command logic involved? (ie, does your Java client have to "ask questions" of your COBOL engine)

If it's just the first, I suspect that there are several utilities around for translating mainframe EBCDIC sockets or streams to standard Unix ones, because they've been communicating for many years now. Not so sure about Windows, but you could probably set up a simple pipeline at the server end pretty easily. Indeed, whatever the requirements are, it might be worth setting up a simple "middleware box" at the server end anyway.

Winston
 
Alan Foligatti
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the advice, I have been helpful!
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alan Foligatti wrote:Thanks for the advice, I have been helpful!

You're welcome. It has to be said that I haven't dealt with your problem for a very long time - and certainly not with Java.

Winston
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!