| phillip.s.powell@gmail.com 2007-04-25, 7:08 pm |
| I've been reading up on Applet/Servlet communication (
http://www.unix.org.ua/orelly/java-...let/ch10_01.htm ) in the
hopes of someday updating my very strange chatroom (an amalgam of JSP,
PHP, servlets, XML and stuff I can't even identify), and I noticed
that there are several methods for passing data between client applet
and remote servlet including:
1) HTTP
2) non-HTTP Socket
3) RMI
I also noticed the advantages and di vantages of using each one and
honestly, I can't decide what is best and what should I avoid.
The basic premise is a simple messaging chatroom applet with HTML-
enabled messages (with limited HTML capability for obvious security
reasons) passed onto a remote host servlet back and forth until you're
done.
What experiences might you have had that would ensure that the best-
practice method would be either HTTP, non-HTTP Socket or RMI?
Even moreso, should I even be using applets at all?
Just wondering at this point, nothing implemented as of yet
Thanks
Phil
|