• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need Server Recomendation for Late Night Studying

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic