• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Communication between Java and Mainframe System

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ,
I am using Java Socket programming to communicate with Mainframe system. Just I am connecting the Mainframe system using Socket class in java. After that interacting the Mainframe system with java input and output stream. But I don't know how it is working ? . Can you please explain how it is working , how mainframe system accept my request (input stream) and how it is response (output stream) . Also can I use any other technology instead of socket programming. Please tell me . Thanks..,

Thanks and Regards,
SureshKumar K
 
Marshal
Posts: 79969
396
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Too difficult for "beginning Java" Moving
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

K.Suresh Kumar wrote:Can you please explain how it is working , how mainframe system accept my request (input stream) and how it is response (output stream) .



In general terms, it works in the same way your web browser interacts with the internet. The mainframe is running a program that accepts socket connections and can communicate according to a specified protocol, like a web server. Your application is like a web browser. It connects to the mainframe, sends commands and data and receives one or more responses, depending on the protocol. I would need to know more about your application and the protocol to delve deeper.

K.Suresh Kumar wrote:
Also can I use any other technology instead of socket programming. Please tell me . Thanks..,



It depends on what your mainframe supports. IBM has made great strides in keeping their mainframes relevant in the .net age. Current mainframes can run Linux in addition to standard mainframe OS's (z/OS and the like) and therefore can support any application Linux supports. Mainframes can also run familiar applications like WebSphere Application Server, DB2, and Oracle, so that opens up web services, JDBC, EJB's and RMI to name a few.
 
Campbell Ritchie
Marshal
Posts: 79969
396
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think I was mistaken moving this thread. It wasn't in "beginning" in the first place. Sorry. If anybody thinks it ought to be moved back, that's all right by me.
 
K.Suresh Kumar
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Joe Ess for your kind information . Yes, My Mainframe system working like a web browser. Now I am look into my application I let you know more details soon. Also I asked second question as "can I use any other technology instead of socket programming." . I mean to say MQ Series or JMS or anything I can use instead of socket programming. If you any have idea on this please tell me.

Thanks,
SureshKumar K
 
Joe Ess
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

K.Suresh Kumar wrote: I mean to say MQ Series or JMS or anything I can use instead of socket programming. If you any have idea on this please tell me.



Again, it depends on what your mainframe supports. WebSphere Application Server can run on some mainframes and MQ Series can be deployed on Websphere.
 
K.Suresh Kumar
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Joe Ess. First I will analyze my application and the mainframe system after that I have any queries than I will ask. Thanks.

Thanks and Regards,
SureshKumar K
 
please buy this thing and then I get a fat cut of the action:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic