CORBA supports the passing of service-context information implicitly with requests and replies over remote object interface invocation. Without instrumenting the underlying protocol, Java RMI can't easily support transparent service-context propagation. This article describes a simple and efficient design approach for supporting such capability over RMI. In building RMI-based distributed applications, such an approach can serve as a basic building block for implementing infrastructure-level functions, such as transaction, security, and replication.
- Posted by: Dion Almaer
- Posted on: January 16 2005 22:59 EST
Read more: Service-context propagation over RMI
- Service-context propagation over RMI by Konstantin Ignatyev on January 17 2005 16:18 EST
- JXInsight 3.0.7 - Released with PortableInterceptors Tracing by William Louth on January 17 2005 16:37 EST
- net.sf.extrmi - RMI interceptor framework and FT-RMI (Jgroups) by WENBO ZHU on May 27 2005 01:10 EDT
Maybe it just is not necessary to rebuild CORBA with RMI( and WS)?
Lets invent a new catchy name for CORBA and start using this mature and well-architected technology!
Just thought that it would be relevant to post that today JInspired released 3.0.7 of JDBnsight / JXInsight with CORBA PortableInterceptor support. Previously the product provided distributed tracing and profiling via VisiBroker's own interceptor framework.
Release Notes: http://www.jinspired.com/products/jdbinsight/downloads/releasenotes.html
Within the installation there is a samples directory containing CORBA client and server applications where JXInsight trace service contexts are passed transparently between Java processes via PortableInterceptors.
The benefits of JXInsight's eXtensible distributed tracing is that users can collect JVMPI counters across multiple Java processes during the routing of a client request. Our console allows the user to select a trace within a client and immediately see all processes the trace appeared in as well as providing statistics associated with memory allocation, clock time, cpu time, gc, blocking and waiting. Additionally JDBC transactions in remote CORBA processes are also associated with client traces. This means that a user can start and stop a profile session for a use case and within the console immediately understand the database transaction execution behavior in their distributed environment.
JXInsight Product Architect
"J2EE tuning, testing and tracing with JXInsight"
A complete framework to support protocol-independent Portable Interceptor over RMI, as described in the referenced article, is released at sourceforge as "extrmi" v0.2.2:
A Jgroups based FT-RMI is also available as a pre-built interceptor library. The design follows the FT-CORBA standards, and provides strict VSYNC based multicast/replication support, as well as object group and replica state management support.
The framework design is further described in
Comments/trials are welcome.