Solved

Server java program on a NT local server?

Posted on 1998-06-17
6
185 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
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
xampp tool 12 56
SequenceInputStream example 3 19
How to configure empty element in XML Document parser? 15 36
Html Table Looping (part 2) 5 27
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

856 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