Solved

Server java program on a NT local server?

Posted on 1998-06-17
6
189 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
Independent Software Vendors: 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

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…
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 will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

636 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