Solved

Server java program on a NT local server?

Posted on 1998-06-17
6
186 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Way to decrease size of apk file 9 104
Adding multiple JVM environments to RedHat 6 7 69
Bot application - advice 3 58
Java Inheritance super keyword use 8 32
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
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:

735 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