File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java network client application, is it possible??

 
Michael DeChirico
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 378
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 378
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1951
7
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouldn't existing (S)FTP solutions be more convenient, though?
 
Michael DeChirico
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Michael,

Firstly congratulations for giving yourself an opportunity to learn the most powerful language!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic