Abstract
The collocated invocation overhead of Enterprise JavaBeans (EJB) 1.1 remote interfaces is often a severe problem, in particular with distributed application architectures like J2EE where collocated calls among beans frequent. EJB 2.0 introduces local interfaces as a solution to the collocation overhead and related problems, based on the implicit assumption that EJB components can be clustered. This paper evaluates the use and usefulness of local interfaces, taking the approach to analyze which role EJB components from typical state-of-the-art applications play in clusters. It is shown that, under frequent conditions, components intended to be cluster-internal must be made cluster facades, and possibly have both remote and local interfaces, or the cluster size increases dramatically. The consequence is that an improved application performance, for which local interfaces have been introduced, can often be attained only at the cost of an increased system complexity and programming effort.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
D. Alur, J. Crupi, D. Malks: Core J2EE Patterns; Prentice Hall, Upper Saddle River NJ, 2001
A. Black, N. Hutchinson, E. Jul, H. Levy, L. Carter: Distribution and Abstract Types in Emerald. IEEE Transactions on Software Engineering, 13(1), Jan. 87
A. Colyer, A. Clement, S. Longhurst: Applying enterprise JavaBeans — Architecture and Design; Proc. Net.ObjectDays2000, Net.ObjectDaysForum, Illmenau, 2000
E. Gamma, R. Helm, R. Johnson, J. Vlissides: Design Patterns: Elements of Reusable Object-Oriented Software; Addison-Wesley, 1995
R. Monson-Haefel: Enterprise JavaBeans, O’Reilly, Sebastopol, 2001
R. Orfali, D. Harkey: Client/Server Programming with Java and Corba; John Wiley & Sons, Chicester, UK, 1999
Sun Microsystems, Enterprise JavaBeans Specification Version 1.1, http://www.java.sun.com
Sun Microsystems, Enterprise JavaBeans Specification Version 2.0, http://www.java.sun.com
Special section on CORBA; Communications of the ACM, Vol.41, No 10, October 1998
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Schmid, H.A. (2003). On the Use of Enterprise Java Beans 2.0 Local Interfaces. In: Coen-Porisini, A., van der Hoek, A. (eds) Software Engineering and Middleware. SEM 2002. Lecture Notes in Computer Science, vol 2596. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-38093-0_10
Download citation
DOI: https://doi.org/10.1007/3-540-38093-0_10
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-07549-3
Online ISBN: 978-3-540-38093-1
eBook Packages: Springer Book Archive