Similarly, a servlet can be made an RMI server. Note that both servlets, once loaded, may be directly accessed by direct URL invocations via a Web browser. Implementing a servlet as a bean simply means designing a servlet that adheres to the JavaBeans design pattern. Any changes to the configuration of servlet beans take place immediately.
Beans add persistence to servlets.
A servlet bean can be serialized and its dynamic state can be preserved. This way the state of a servlet can be preserved between its incarnations. The Java Web Server from Sun Microsystems, Inc. inherently provides support for servlet beans by assuming that all servlets are beans. They have started replacing CGI as a means for creating dynamic Web content. However, the Java Servlet API and related tools are still evolving.