Interceptors for Java']Java Remote Method Invocation

被引:3
|
作者
Narasimhan, N [1 ]
Moser, LE [1 ]
Melliar-Smith, PM [1 ]
机构
[1] Univ Calif Santa Barbara, Dept Elect & Comp Engn, Santa Barbara, CA 93106 USA
来源
关键词
interceptor; !text type='Java']Java[!/text] Remote Method Invocation; Dynamic Proxy; middleware;
D O I
10.1002/cpe.575
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
An interceptor is a software mechanism that provides the hooks that are needed to introduce additional code dynamically into the execution path of an application. By exploiting interceptors, developers can enhance and potentially modify the behavior of an application at runtime without having to revise or recompile the application code. We have identified three distinct interception points for the Java Remote Method Invocation (JavaRMI) model, at the proxy level, the transport level and the shared library level of the JavaRMI model. The interceptors implemented at these interception points employ the DynamicProxy API, the RMISocketFactory API, and a library mediation approach, respectively. Our interceptor implementations are novel in that they are transparent to the application, add nominal latency overheads and are easy to deploy, requiring only minimal modifications to the application. We describe how the interceptors can be exploited to introduce additional services (such as logging and profiling mechanisms) to the JavaRMI runtime. In particular, we describe the use of interceptors in the Aroma System to enhance the existing JavaRMI model with support for fault-tolerance through the consistent replication of JavaRMI objects. Copyright (C) 2001 John Wiley & Sons, Ltd.
引用
收藏
页码:755 / 774
页数:20
相关论文
共 50 条
  • [1] Interceptors for Java']Java™ remote method invocation
    Li, W
    Parson, D
    PDPTA'2001: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, 2001, : 850 - 856
  • [2] Asynchronous remote method invocation in Java']Java
    Taveira, WF
    Valente, MTD
    Bigonha, MAD
    Bigonha, RD
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2003, 9 (08) : 761 - 775
  • [3] Optimizing remote method invocation in Java']Java
    Sysala, T
    Janecek, J
    13TH INTERNATIONAL WORKSHOP ON DATABASE AND EXPERT SYSTEMS APPLICATIONS, PROCEEDINGS, 2002, : 29 - 33
  • [4] Remote procedure calls and Java']Java remote method invocation
    Waldo, J
    IEEE CONCURRENCY, 1998, 6 (03): : 5 - 7
  • [5] Security enhancement of Java']Java Remote Method Invocation
    Zalewski, Dominik
    DepCos-Relcomex 2006, 2006, : 223 - 230
  • [6] Performance studies of remote method invocation in Java']Java
    Koutsogiannakis, G
    Savva, M
    Chang, JM
    CONFERENCE PROCEEDINGS OF THE 2002 IEEE INTERNATIONAL PERFORMANCE, COMPUTING, AND COMMUNICATIONS CONFERENCE, 2002, : 1 - 8
  • [7] Asynchronous remote method invocation (ARMI) mechanism for Java']Java
    Raje, RR
    Williams, JI
    Boyles, M
    CONCURRENCY-PRACTICE AND EXPERIENCE, 1997, 9 (11): : 1207 - 1211
  • [8] Efficient implementations of Java']Java Remote Method Invocation (RMI)
    Krishnaswamy, V
    Walther, D
    Bhola, S
    Ahamad, M
    PROCEEDINGS OF THE FOURTH USENIX CONFERENCE ON OBJECT-ORIENTED TECHNOLOGIES AND SYSTEMS: COOTS, 1998, : 19 - 35
  • [9] An efficient implementation of Java']Java's Remote Method Invocation
    Maassen, J
    van Nieuwpoort, R
    Veldema, R
    Bal, HE
    Plaat, A
    ACM SIGPLAN NOTICES, 1999, 34 (08) : 173 - 182
  • [10] Improvement of object serialization in Java']Java Remote Method Invocation
    Ma, Hei Ning Helen
    Yang, Lan
    SNPD 2006: SEVENTH ACIS INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING ARTIFICIAL INTELLIGENCE, NETWORKING, AND PARALLEL/DISTRIBUTED COMPUTING, PROCEEDINGS, 2006, : 35 - +