Solved

Server java program on a NT local server?

Posted on 1998-06-17
6
184 Views
Last Modified: 2010-03-30
I've found an exemple of server java program in "Java in a Nutshell"
I want to test it on an NT Local Area Network and use it for my own program.
Please explain me how to implant this server program on my LAN.

I will try to give you more informations about my problem:
I have a client which is an applet.
My server program is a thread.
Do you think that I can run it on the server machine?
What can I do for run it automatically.


thibal : thibal@caramail.com
0
Comment
Question by:thibal
  • 4
6 Comments
 

Author Comment

by:thibal
ID: 1223302
Edited text of question
0
 
LVL 6

Expert Comment

by:gadio
ID: 1223303
What sort of a server is that? Is there a client program there as well? If you do all you have to do is run the server on one machine (asuming that you have a jdk enviroment installed there), find its IP, and run the client on another machine (on jdk or a browser) and give it the IP (usualy in a URL format eg: http://123.123.123). If you will give some more details you will get more exact directions.
0
 

Author Comment

by:thibal
ID: 1223304
Edited text of question
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:thibal
ID: 1223305
Edited text of question
0
 
LVL 3

Accepted Solution

by:
msmits earned 50 total points
ID: 1223306
Basically you can run the server program on any machine in your network. The thing is that the client applets need to know what machine to connect to, i.e. the IP number and the port of the server program, to connect to the socket the server is serving.
To run it automatically you need to turn the server program into a NT service. I believe that M$ has facilities for this in their VM. Another way is to use the program srvany.exe from the resource kit, which turns any program into a service, so it will be able to start automatically.

0
 

Author Comment

by:thibal
ID: 1223307
thank you for your answer!
No I will try what you explain.
    thibal
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question