Results 1 to 5 of 5
Thread: System as a server
- 01-23-2009, 01:39 PM #1
Member
- Join Date
- Jan 2009
- Posts
- 1
- Rep Power
- 0
System as a server
I make a program in swings for lan chat.
It is working fine but in a single pc i have to open more than one CMD and run
the Program.
But i want to ren this program on very system in Lan
for this i have to make a system as aserver becouse without server program client side chat is not going to work
So any buddy Pls help me to make a system like a server.
Mail me on (anilkumar832@gmail.com)
Thanks
- 01-23-2009, 04:03 PM #2
First, servers don't typically have a user interface.
You will have to accept connections and then hand them off to worker threads.
I assume the main class already has a loop to allow it to run indefinitely. After you get the basics working, you will need to add error recovery and resource management.
- 01-24-2009, 07:06 PM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I think it's depends Steve. Most of the server application I've develop have a user interface, just to handling clients behavior. Again, it's depends on the implementation we have to do.
@anil, at the time how your application is works if you don't have a server?
- 01-24-2009, 09:09 PM #4
I see your point. A lot of my servers run either as a Windows service or as a daemon, so no one needs to be logged on for the server to run.
- 01-25-2009, 03:49 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Yep, that's the major advantage we have. Actually it's really helpful to work on with with. One of my application(Actually written in C++) use the command prompt as the UI. So there are lots of ways to work on with.
Similar Threads
-
smtp server configuration with jboss server
By vilas_patil in forum Java ServletReplies: 0Last Post: 01-05-2009, 01:18 PM -
Cannot choose runtime server, "Windows -> Preferences -> Server" does not exist!!
By TennSeven in forum EclipseReplies: 0Last Post: 09-18-2008, 05:07 PM -
Does any file in an FTP server ends up in an HTTP server?
By islamfunny in forum CLDC and MIDPReplies: 4Last Post: 08-15-2008, 04:30 PM -
Web-App server connection - How to hit the particular app server from the web server
By maruthi_s in forum Enterprise JavaBeans (EJB)Replies: 2Last Post: 07-15-2008, 06:11 PM -
One server to another server redirection
By chaudhuri_abhi in forum Java ServletReplies: 1Last Post: 02-11-2008, 07:05 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks