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 条
  • [21] Performance Evolution of Java']Java Remote Method Invocation and Mobile Agent Techniques in Context of Distributed Environment
    Tiwari, Vivek
    Lenka, S. K.
    Gupta, Shailendra
    Tiwari, Renu
    2010 INTERNATIONAL CONFERENCE ON NETWORKING AND INFORMATION TECHNOLOGY (ICNIT 2010), 2010, : 303 - 308
  • [22] Tuning branch predictors to support virtual method invocation in Java']Java
    Vijaykrishnan, N
    Ranganathan, N
    PROCEEDINGS OF THE FIFTH USENIX CONFERENCE ON OBJECT-ORIENTED TECHNOLOGIES AND SYSTEMS (COOTS '99), 1999, : 217 - 228
  • [23] Web-based simulation in Simjava']java using Remote Method Invocation
    Page, EH
    Moose, RL
    Griffin, SP
    PROCEEDINGS OF THE 1997 WINTER SIMULATION CONFERENCE, 1997, : 468 - 474
  • [24] Building a distributed K-Means model for Weka using remote method invocation (RMI) feature of Java']Java
    Sudarsan, V.
    Sugumar, R.
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2019, 31 (14):
  • [25] Remote observing with Java']Java
    Shukla, H
    Scott, S
    Weaver, S
    ASTRONOMICAL DATA ANALYSIS SOFTWARE AND SYSTEMS VIII, 1999, 172 : 95 - 98
  • [26] An object-oriented invocation layer for the Java']Java message service
    Jank, K
    Oberhauser, R
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2003: OTM 2003 WORKSHOPS, 2003, 2889 : 57 - 69
  • [27] Java']JavaParty - transparent remote objects in Java']Java
    Philippsen, M
    Zenger, M
    CONCURRENCY-PRACTICE AND EXPERIENCE, 1997, 9 (11): : 1225 - 1242
  • [28] Distributed chemical computing using ChemStar: An open source Java']Java remote method invocation architecture applied to large scale molecular data from PubChem
    Karthikeyan, M.
    Krishnan, S.
    Pandey, Anil Kumar
    Bender, Andreas
    Tropsha, Alexander
    JOURNAL OF CHEMICAL INFORMATION AND MODELING, 2008, 48 (04) : 691 - 703
  • [29] Implementing simple replication protocols using CORBA portable interceptors and Java']Java serialization
    Bennani, T
    Blain, L
    Courtes, L
    Fabre, JC
    Killijian, MO
    Marsden, E
    Taïani, F
    2004 INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS, PROCEEDINGS, 2004, : 549 - 554
  • [30] Reverse Engineering Sequence Diagrams for Enterprise Java']JavaBeans with Business Method Interceptors
    Serebrenik, Alexander
    Roubtsov, Serguei
    Roubtsova, Ella
    van den Brand, Mark
    16TH WORKING CONFERENCE ON REVERSE ENGINEERING (WCRE 2009), 2009, : 269 - +