Forums Register Login

Java network client application, is it possible??

+Pie Number of slices to send: Send
Well, it's my turn to show my ignorance about java.

I have been trying to teach myself java, more due to a curiosity than an explicit need. My biggest problem is trying to establish a common point of reference.

You see I have been writing computer software for a living since 1968 (yeah I am a real dinosaur) but the software I have been writing has been operating system related (for big IBM mainframes) and written in assembler a few years ago I had to learn C (well enough to implement RSA's crypto software into a mainframe application) but now I have been tasked with a challenge.

I have been asked to develop a tcp/ip based application which has a server component running on an ibm mainframe which can accept file browse requests for data (which resides on the mainframe) from an application which is running on a distributed platform (pc for a lack of a better term).

My question is, does the java language provide the ability to develop and deploy an application which functions as the client application in this scenario?

If this is possible where might I look for the necessary tutorials to develop and implement such an application?

I have done this sort of client/server app in the mainframe environment many times in the past but this is my first foray in to the world of distributed computing and I am stumbling around in the dark.

Any help/direction would be real appreciated?

Thanks.

JD
[ August 21, 2008: Message edited by: Michael DeChirico ]
+Pie Number of slices to send: Send
This should be possible.

Google for "java network programming" and you should find lots of resources.

Once you have the server application running on the main frame you could create a TCP connection to it using the Socket class from the java.net package.

Check how it's done using this link

P.S. You should also click on the notepad like link on your post and change the subject to a meaningful one so that others can use it as a reference in the future.
+Pie Number of slices to send: Send
Heck, I told you I was a dinosaur!

First, thanks for the reply, you pointed me in the right direction!

Next, thanks for the info on how to change the subject line!

Thanks for the help!

JD
+Pie Number of slices to send: Send
Hope it helps and glad to be of help.

If you come across problems during the implementation I'll try to help out.
keep posting..
+Pie Number of slices to send: Send
Wouldn't existing (S)FTP solutions be more convenient, though?
+Pie Number of slices to send: Send
The true nature of the application is as follows.

I have an app that runs on the mainframe it creates a series of datafiles that a user can access by logging on to an interactive app that runs on the mainframe and then browsing the various datafiles.

What I have been asked to do is to write a "server" app that runs on the mainframe and waits for request from a "client" app that i have to write that runs on the pc.

Yes, I could use ftp to transfer the data from the mainframe to the client, however this would impose a burden on the end user in that they would have to figure out what file they wanted to see, then invoke a ftp client to transfer the file (after they got through a stiff security interface) and store it on their pc and then browse it.

It boils down to making the user do as little as possible and keeping them as insulated as possible from the actual source of the data.

JD
[ August 21, 2008: Message edited by: Michael DeChirico ]
+Pie Number of slices to send: Send
Hi Michael,

Firstly congratulations for giving yourself an opportunity to learn the most powerful language!!!
A tiny monkey bit me and I got tiny ads:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1104 times.
Similar Threads
HELP: Muilt-Threaded Server
Moving from java/J2EE to EAI
Environment setup/configuration
Resources for WAS
Oracle JCert Certification
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:19:55.