Despite the fact that EJB (Enterprise Java Beans) is a widely used technology, research in the area of performance modelling of EJB application servers is quite sparse. This paper will describe how Workbench
TM, an advanced simulation modelling tool, can be used to build a scalable model of a multi-server EJB system that allows users to input variables that describe interactions and their constituent methods, as well as system parameters. The model will output the average time for each given user interaction and allow users to seek system improvements by changing the system parameters and workloads.
IntroductionThe Java 2 Platform Enterprise Edition has demonstrated its use as an important standard for developing component-based multi-tier enterprise applications. The J2EE platform simplifies enterprise applications by basing them on standardized, modular components and providing a complete set of services to those components by handling many details of application behavior automatically, without complex programming [1]. A set of APIs is defined in J2EE to enable quick and efficient application building as well as a run-time infrastructure to host them. A key component of J2EE, Enterprise JavaBeans (EJB), has established itself as one of the leading architectures for developing and deploying secure, scalable and reliable applications.As the use of such systems in Web-based, e-commerce environments expands, the need to model the performance of these systems becomes ever more important in facilitating optimal architectural design choices and system parameterisation. The goal of this paper is to describe a model that has been developed to simulate an EJB system in terms of its input parameters and to see what effect these inputs have on the response times for given interactions.The modelling environment used is Hyperformix Workbench TM 4.0. Workbench TM is a general Discrete Event (DE) simulator with an extensive set of high-level simulation operations as well as a rich set of statistical and queuing functions. As Workbench TM is particularly well suited to specifying and evaluating complex systems involving a high degree of concurrent processing, it is ideally suited to modelling an EJB system [2]. This paper will be split into the following sections. Section 2 provides some background on EJB. Section 3 describes the Workbench TM simulation software used, discusses the parameters that are input to the model and outlines how the model runs and what its outputs are. Section 4 describes the experiments that were run and Section 5 draws some conclusions and identifies some future research directions.
EJB EnvironmentEJB defines a model for the deployment of reusable EJB components that can be assembled into a secure, scalable and reliable application that can run on any EJB-compliant application server.The goal of this technology is to provide users with the following features:• Platform Independence -Regardless of the underlying operating system, protocol or enterprise middleware services the EJB application ...