This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
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..,
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.
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.
Joined: Nov 21, 2007
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.