Well, that's a though one. We are on the servlet-interest list,
after all.
As compared to most other server side web technologies, I think
that Servlets come out on top. Much better than CGI. Cleaner than
ASP. I would say since you're contrasting Servlets with RMI the larger
difference is in the model.
RMI, while remote and therefore more apt to exceptions, is still
basically your standard programming model. Person starts program, person
interacts with program, person closes program.
Servlets, being web based, are a transactional programming model.
Programs written in this way work better when a large amount of
interaction can be done on the client. Then all of the interaction with
the server is done at once. (Yes, we have sessions, so you can connect
these events into a larger program, but I think that the argument still
holds.) If programming was like eating, RMI would be a dinner, servlets
would be in bar (concentrated) form. :) If you need a rich interaction,
more than a standard browser interface can give you, then RMI (and
possibly applets) are more your answer.
On Tue, 8 Aug 2000, EXT-Summers, Richard G wrote:
> We have been using RMI for the past two years and our NASA customer has
> decided that security is an issue. They have introduced firewalls that
> block all ports with the exception of port 80 & 1099. Since RMI randomly
> selects a port number when a Remote Object is created, the client can never
> access the remote objects interface methods. We have started to look at all
> possible options and Servlet technology is a possibility. I have reviewed
> several tutorials and I know enough about Servlets to be very dangerous.
>
> My question is: What are the advantages / disadvantages to using Servlets?
> I have a great deal of facts concerning the advantages, but I have very
> little arguments against Servlets. Can you briefly supply some
> disadvantages to using Servlets? ... and/or why you would use a Servlet
> verses not using one.
>
> Many Thanks
> RSummers
> ----------------------------------------------------------------------------
> -
> The man who reads nothing at all is better educated than the man who reads
> nothing but newspapers.
>
> -- Thomas Jefferson
>
> Space Systems Division
> Richard G. Summers
> ELMCO, Inc.
> 6000 Technology Drive
> Building 1, Suite N
> Huntsville, AL 35805
> HQ: 256.721.7714
> Phone: 256.961.2278
> Fax: 256.544.4243
> Email: [EMAIL PROTECTED]
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html