Testing Conformance of EJB 3 Enterprise Application Servers

Sander de Putter, Serguei Roubtsov, Alexander Serebrenik

2014

Abstract

Enterprise JavaBeans (EJB) is a component technology used for enterprise application development. EJB is currently being implemented by such application servers as GlassFish, OpenEJB, JBoss, WebLogic and Apache Geronimo. Through the entire history EJB claimed its adherence to the “write once, run anywhere” philosophy of Java suggesting that an application developed for and deployed on one application server should be easily portable to a different application server. Therefore, one could have expected different application servers to adhere to the EJB specification. Adherence to this and related Java EE specifications is subject of the “Java EE 6 Full Profile” compatibility testing carried by Oracle. However, anecdotal evidence of discrepancies between the specification and certified implementations such as GlassFish, has been reported in the literature. In this paper we present an approach allowing one to go beyond the level of anecdotal knowledge and test requirements for EJB application servers with focus on portability. We apply the methodology developed to test how well two popular “Java EE 6 Full Profile”-compatible EJB application servers, GlassFish and JBoss, conform to the requirements in the EJB specification. The results are alarming: both application servers failed on a number of tests, violating the specification. Moreover, in GlassFish conformance to a requirement varies depending on whether a local or a remote application is used. Lack of conformance to the EJB specification compromises the portability of the EJB applications, deviates from the portability philosophy of Java, leads to unexpected behaviour, and hinders the learning process of novice EJB developers.

References

  1. Dorda, S. C., Robert, J., and Seacord, R. (1999). Theory and Practice of Enterprise JavaBean™: Portability. Technical Report CMU/SEI-99-TN-005, CMU.
  2. EJB 3.1 Expert Group (2009). EJB 3.1 Expert Group. JSR318 Enterprise JavaBeans, Version 3.1.
  3. Hamilton, M. A. (1996). Java and the shift to net-centric computing. Computer, 29(8):31-39.
  4. International Software Testing Qualifications Board (2011). Certified Tester Foundation Level Syllabus. International Software Testing Qualifications Board. version 2011.
  5. Kounev, S., Weis, B., and Buchmann, A. (2004). Performance tuning and optimization of J2EE applications on the JBoss platform. Journal of Computer Resource Management, 113:40-49.
  6. Krastev, A. and Galletly, J. (2003). Do we really need EJB? In CompSysTech, pages 190-195. ACM.
  7. Mamykina, L., Manoim, B., Mittal, M., Hripcsak, G., and Hartmann, B. (2011). Design lessons from the fastest Q&A site in the West. In CHI, pages 2857-2866. ACM.
  8. Matena, V. and Harper, M. (1998). Enterprise JavaBeans. version 1.
  9. Roeser, T. (2005). Portierbarkeit von J2EEbasierten Applikationen am Beispiel des mobilen Gedächtnishilfesystems MEMOS.
  10. Roubtsov, S. A., Serebrenik, A., Mazoyer, A., and van den Brand, M. G. J. (2011). I2SD: Reverse Engineering Sequence Diagrams from Enterprise Java Beans with Interceptors. In SCAM, pages 155-164. IEEE.
  11. Roubtsov, S. A., Serebrenik, A., Mazoyer, A., van den Brand, M. G. J., and Roubtsova, E. (2013). I2SD: Reverse Engineering Sequence Diagrams from Enterprise Java Beans with Interceptors. IET Sofware, 7(3):1-17.
  12. Serebrenik, A., Roubtsov, S. A., Roubtsova, E. E., and van den Brand, M. G. J. (2009). Reverse engineering sequence diagrams for Enterprise JavaBeans with business method interceptors. In WCRE, pages 269- 273. IEEE.
  13. Sutii, A., Roubtsov, S. A., and Serebrenik, A. (2013). Detecting dependencies in enterprise javabeans with squavisit. In WCRE, pages 485-486. IEEE.
  14. Vasilescu, B., Serebrenik, A., Devanbu, P. T., and Filkov, V. (2014). How social Q&A sites are changing knowledge sharing in open source software communities. In CSCW. ACM.
  15. Xian, F., Srisa-an, W., and Jiang, H. (2006). Investigating throughput degradation behavior of java application servers: a view from inside a virtual machine. In PPPJ, pages 40-49. ACM.
Download


Paper Citation


in Harvard Style

de Putter S., Roubtsov S. and Serebrenik A. (2014). Testing Conformance of EJB 3 Enterprise Application Servers . In Proceedings of the 16th International Conference on Enterprise Information Systems - Volume 3: ICEIS, ISBN 978-989-758-029-1, pages 272-279. DOI: 10.5220/0004864402720279


in Bibtex Style

@conference{iceis14,
author={Sander de Putter and Serguei Roubtsov and Alexander Serebrenik},
title={Testing Conformance of EJB 3 Enterprise Application Servers},
booktitle={Proceedings of the 16th International Conference on Enterprise Information Systems - Volume 3: ICEIS,},
year={2014},
pages={272-279},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0004864402720279},
isbn={978-989-758-029-1},
}


in EndNote Style

TY - CONF
JO - Proceedings of the 16th International Conference on Enterprise Information Systems - Volume 3: ICEIS,
TI - Testing Conformance of EJB 3 Enterprise Application Servers
SN - 978-989-758-029-1
AU - de Putter S.
AU - Roubtsov S.
AU - Serebrenik A.
PY - 2014
SP - 272
EP - 279
DO - 10.5220/0004864402720279