Solved

Server java program on a NT local server?

Posted on 1998-06-17
6
181 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now