Java's implementation of Remote Method Invocation (RMI) is easy to use and
powerful. Java makes setting up an RMI server an almost trivial task because
the JVM handles complex tasks such as networking and object serialization.
Once running, connecting client applications to the RMI server is also a
breeze.
There are numerous examples and how-to articles for client-to-server
communication (http://java.sun.com/developer/onlineTraining/rmi), but what
about the other way? Is it possible for an RMI server to actively communicate
with all the clients that are connected to it without the client initiating
the conversation? In other words, is distributed notification possible? The
purpose of this article is to demonstrate that yes, it is possible. (The
source code for this art... (more)
One of the great things about the Java programming language is the Open
Source community that provides great applications at little or no cost. An
example of this is Apache Tomcat, which provides a solid Web server for
development using servlet or JSP technology. Now that Web Service technology
is maturing there's a potential for a whole scenario of applications to take
advantage of a Sw... (more)
Tomcat is a great reference implementation of the Java EE specification and
is intended for desktop use by developers who are starting to learn about
Java EE or those who work on enterprise applications and need an EE server
for development. However because Tomcat is free it finds its way into
production environments. In this environment there are features of Tomcat
that don't pass secur... (more)