wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Java network client application, is it possible?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java network client application, is it possible??" Watch "Java network client application, is it possible??" New topic
Author

Java network client application, is it possible??

Michael DeChirico
Greenhorn

Joined: Jul 31, 2008
Posts: 16
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 ]
Gamini Sirisena
Ranch Hand

Joined: Aug 05, 2008
Posts: 357
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.
Michael DeChirico
Greenhorn

Joined: Jul 31, 2008
Posts: 16
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
Gamini Sirisena
Ranch Hand

Joined: Aug 05, 2008
Posts: 357
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..
Jelle Klap
Bartender

Joined: Mar 10, 2008
Posts: 1794
    
    7

Wouldn't existing (S)FTP solutions be more convenient, though?


Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Michael DeChirico
Greenhorn

Joined: Jul 31, 2008
Posts: 16
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 ]
sumeeth tewar
Greenhorn

Joined: Aug 12, 2008
Posts: 4
Hi Michael,

Firstly congratulations for giving yourself an opportunity to learn the most powerful language!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java network client application, is it possible??