aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Need Server Recomendation for Late Night Studying Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Need Server Recomendation for Late Night Studying" Watch "Need Server Recomendation for Late Night Studying" New topic
Author

Need Server Recomendation for Late Night Studying

Joe Ridener
Ranch Hand

Joined: Jul 16, 2012
Posts: 86
Hello,


I am studying from Sun Core Advanced Features and need a server such as Tomcat (mentioned by name but not the exact version was ever given). The text book is ambiguous as to a specific server... could you please recommend one that is super simple to run in the context of the following text


Alternatively, you can get a lightweight server from
ftp://java.sun.com/pub/jdk1.1/rmi/class-server.zip. That server is not a full-blown web server,
but it is easier to install and has enough functionality to serve class files.
First, move the download directory into the web documents directory of the web server (or
establish a symbolic link).
Next, edit the client.policy file. It must give the client these permissions:
? To connect to ports 1024 and above to reach the RMI registry and the server
implementations;
? To connect to the HTTP port (usually 80 or 8080) to load the stub class files.
Change the file to look like this:
grant
{
permission java.net.SocketPermission
"*:1024-65535", "connect";
permission java.net.SocketPermission
"*:80", "connect";
};
Finally, you are ready to test your setup.
1. Start the web server.
2. Start a new shell. Make sure that the class path is not set to anything. Change to a
directory that contains no class files. Then start the RMI registry.


Can you please direct me to a server for serving class files for simple RMI practice tonight.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Server Recomendation for Late Night Studying