aa Contact Us aa Home aa About Us aa news aa Free Books aa Books




SERVLETS AND RMI

   
J2EE
Subcategories


J2EE
aa Connectors
aa EJB
aa Java Mail
aa JDBC
aa JMS
aa JMX
aa JNDI
aa JSP
aa JTA
aa JTS
aa IDL
aa RMI/IIOP
aa Servlets
aa XML/JAX/JDOM
a INTEROPERABILITY
aa CCM
aa COM
aa CORBA
aa XML
aa WebServices

OTHER
aa J2EE Certification
aa J2EE Design
aa J2EE Performance
aa Java Data Objects

JAVA NETWORK
aa JavaOlympus
aa J2EEOlympus
aa JSPOlympus
aa J2meOlympus







Java Servlets and Serialization with RMI JavaTM RMI (remote method invocation) technology makes it very easy to create web-based applets that perform powerful server-side operations, such as accessing a database or communicating with remote server applications. However, a number of RMI limitations make its use in Internet-based applets impractical.
Creating a JDBC Servlet as RMI server The purpose of this topic is to help you become acquainted with using the Java Servlet API, and at the same time acquainting you with using JBuilder’s built-in RMI support. This tutorial takes you through the steps of extending the capabilities of a servlet to provide RMI services for client agents. This will give servlet developers a wider option of distributing objects’ responsibilitiesCORBA.
Creating a Simple HTTP/RMI/CORBA Test Applet The purpose of this topic is to help you become acquainted with invoking a servlet from an applet using the HTTP, RMI, or CORBA transport. This example continues from Example: creating a JDBC servlet as RMI server and Example: creating a JDBC servlet as CORBA server.
Networking our whiteboard with servlets Find out how to easily replace the RMI and sockets networking layers with servlets.
Comparing RMI, Sockets, Servlets, EJB We are looking at different methods to implement two-way communication for sending Java objects from one computer to another and back. Java offers Remote Method Invocation (RMI), the object-oriented Java version of Sun's Remote Procedure Call (RPC) protocol. Another possibility is to simply use a normal socket, and send objects over a plain TCP connection. Finally, instead of implementing your own server process, listening at some port, you might want to use Servlets instead, and use true HTTP protocol to send data back and forth (which supposedly should allow you to cross even the most restrictive types of firewalls by making use of an HTTP proxy). Finally, we also use an EJB Session Bean.
Using RMI with Apache Jserv One of the greatest advantages which Jserv brings to Apache is ability to leverage the large number of API's available to Java. Remote Method Invocation (RMI) delivers several significant benefits to the servlet solution. The primary benefit of using RMI with servlets is that it significantly expands the variety of datasources which Apache can serve to the browser. Furthermore, RMI's simplifies code on the client side of the RMI connection (the servlet), and also allows for load distribution.

    SERVLETS
Introduction

Architecture

Servlets and JavaBeans

Servlets and Forms

Servlets and JDBC

Servlets and Cookies

Servlets Debugging

HTTP Tunneling

Servlets and Sessions

Servlets Security

Inter-Servlet Communication

Servlets and JSP

Servlets as Web Services

Wireless Servlets

Servlets and JMS

Servlets and EJB

Servlets and CORBA

Servlets and RMI

Servlets and XML

Servlets and XSLT

Servlets Design Patterns

Servlets and EMail

Servlets and Tomcat

Servlets Testing

Servlets Performance

Servlets Frameworks

Servlets Web Applications

    SERVLETS
HOME PAGE:
Servlets

FAQ:
JGURU
Java Index FAQ

WHITE PAPERS:
EJB
J2EE
Filters
White Paper Index

BEST SITES:
CoolServlets
Jcorporate
Servlets.com
ServletSource
bea developers
jMiddleware
Servletforum
IBM Java

SPECS:
Servlets

DOCS:
J2EE Tech Overview
J2EE
J2EE Glossary
J2EE Case Studies
J2EE Compatability
J2EE Design Patterns
J2EE Overview


javax.ejb
javax.naming
javax.naming.directory
java.rmi
javax.rmi
javax.servlet
javax.servlet.http
javax.servlet.jsp
javax.servlet.jsp.tagext
javax.transaction
javax.transaction.xa
java.sql
javax.sql
java.security
javax.jms
javax.mail
javax.xml.parsers
org.w3c.dom
org.xml.sax
org.omg.CORBA


DOWNLOADS:
Servlets

NEWSGROUPS:
com.lang.java

SUN SERVLETS ARCHIVE:
Sun Servkets Archive

ARTICLES:
Servlet Articles 1
Servlet Articles 2
Servlet Engines
Sun Articles

TUTORIALS:
Servlets 1
Servlets 2
J2EE Tutorial 1
J2EE Tutorial 2
J2EE Tutorial 3
Advance Java
J2SE Tutorial
online training
J2EE Patterns
audiocasts

FORUMS:
JGURU
Sun J2EE forum

USER GROUPS:
Java User Groups

BOOKS:
Free Servlets Books
Servlets Books