This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java's network api Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Watch "Java New topic
Author

Java's network api

William H Taylor
Greenhorn

Joined: Apr 22, 2009
Posts: 16
Java has a network api where you can put together a simple server using the server socket class. My question is do you just need an active jvm to run it? How do you go about finding a host for something like that? You would not use servlets and tomcat because it is a server already right?
Marco Ehrentreich
best scout
Bartender

Joined: Mar 07, 2007
Posts: 1280

Hi William,

there are many ways to build client-server-applications and there are a lot of client-server-applications. As always it depends... You should ask yourself what you want to do with this application. Are there any restrictions regarding the server or client side? Or would you provide the client and the server? What kind of information do you plan to exchange between client and server? Etc.....

Of course you can build a server application with the Java socket API. Tomcat is a Servlet container designed to handle Java based web applications. But in the end it acts as a socket based server too.

Marco
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java's network api
 
Similar Threads
ATM
Determining the machines on a network
NX:Contractors database location
B&S: java.net..SocketException: Connection reset java.rmi.UnmarshalException
Download a File From Server