File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet or RMI....?? Confused..

 
Vishwas Hegde
Ranch Hand
Posts: 212
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am really confused... I need to do one of the following project
1. web server
2. mail server
3.proxy server
4.print server
and the thing is i dont know ANY THING abt sevlets or RMI. Some people say its better to do using RMI and some people say Servlets. Please tell me what to do... which one is easier??
Hey and one more thing... i installed jsdk2.1 but i am not able to run the servlet programs.
Please tell me in detail abt compiling and running sevlet program. And also tell me from where can i get the latest version of jsdk. I tried to download it from java.sun.com but it says some error occured while transferring the file..!!!
i have saved all my servlet programs under "prog " dir ie c:\prog> - - -
Waiting for your reply
Regards
Vishwas
SCJP 1.4
 
Ali Gohar
Ranch Hand
Posts: 572
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to read about the Servlets and RMI first, then you will be able to judge which is suitable for you.
 
Java Programmer
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Vishwas Hegde:
Hi,
You have to run tomcat server or Websphere server on your machine.
to check this you can type in your browser http://localhost:8080 in case of Tomcat server it will provide you help
I am really confused... I need to do one of the following project
1. web server
2. mail server
3.proxy server
4.print server
and the thing is i dont know ANY THING abt sevlets or RMI. Some people say its better to do using RMI and some people say Servlets. Please tell me what to do... which one is easier??
Hey and one more thing... i installed jsdk2.1 but i am not able to run the servlet programs.
Please tell me in detail abt compiling and running sevlet program. And also tell me from where can i get the latest version of jsdk. I tried to download it from java.sun.com but it says some error occured while transferring the file..!!!
i have saved all my servlet programs under "prog " dir ie c:\prog> - - -
Waiting for your reply
Regards
Vishwas
SCJP 1.4
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Java Programmer",
Welcome to the JavaRanch!
We're light on rules 'round these parts, but two that we take seriously are the 'Be Nice' rule and the Display Name Rule.
We require that your display name is two words: your first name, a space, then your last name. Obviously fictitious names (like the one you are using) are not allowed.
Please check out the rules page, then edit your profile selecting a valid display name. Accounts with invalid display names get deleted.
Thanks for your time!
Dave.
 
wally fer
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To run servlet you need servlet container....
Download Tomcat and install it.
After installing run this http://localhost:8080/ on your browser..if there is a home page that indicates your web server is working fine.
Contact me after that ....
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic