Browse > Article
http://dx.doi.org/10.7472/jksii.2015.16.2.85

An Automatic Testing Method for EJB Components based on In-Container Testing Strategy  

Kuk, Seung-Hak (2-TICN, Agency for Defense Development)
Kim, Hyeon Soo (Dept. of Computer Science & Engineering, Chungnam National University)
Publication Information
Journal of Internet Computing and Services / v.16, no.2, 2015 , pp. 85-98 More about this Journal
Abstract
Component technologies which enable quickly and effectively to develop software have begun to come into the spotlight since early 1990s. Currently, a number of software development works are performed on the J2EE/EJB environment. However component testing is a very complicated task, in addition it requires more efforts than the previous Java class testing. Thus many developers do not perform sufficiently testing works. In this paper we propose an automatic testing method for EJB components based on the in-container testing strategy and implement a testing tool. Since our method builds automatically the test environment for EJB components, it is possible for developers or testers to save their time and efforts at the test preparation phase. Therefore we are convinced that the reliability of EJB components can be increased through sufficient testings with our method.
Keywords
EJB Component; Component Test; Test Automation; Test Environment;
Citations & Related Records
연도 인용수 순위
  • Reference
1 E. J. Weyuker, "Testing Component-Based Software: A Cautionary Tale", IEEE Software, vol. 15, issue. 5, 1998, http://dx.doi.org/10.1109/52.714817   DOI
2 Y. S. Ma, et. al., "Framework for Third Party Testing of EJB Component Software", Proc. of 8th Asia Pacific Software Engineering Conference, pp.431-434, 2001, http://dx.doi.org/10.1109/APSEC.2001.991511   DOI
3 Sun Microsystems Inc., The $J2EE^{TM}$ Tutorial for the $Sun^{TM}$ ONE Platform, http://java.sun.com/j2ee/1.3/docs/tutorial/doc/
4 Sun Microsystems Inc., Enterprise $JavaBeans^{TM}$ Specification, Version 2.0, http://download.oracle.com/otndocs/jcp/7294-ejb-2.0-fr2-spec-oth-JSpec/
5 MockEJB, http://mockejb.sourceforge.net/
6 JUnit, http://www.junit.org/
7 Cactus, http://attic.apache.org/projects/jakarta-cactus.html
8 JunitEE, http://sourceforge.net/projects/junitee/
9 Scott W. Ambler, "A J2EE Testing Primer", http://www.drdobbs.com/a-j2ee-testing-primer/184414736
10 Scott Stirling, "Testing J2EE applications", JavaWorld, Aug. 2004, http://www.javaworld.com/article/2072923/testing-debugging/testing-j2ee-applications.html
11 Rod Johnson, "Expert One-on-One J2EE Design and Development", Wrox, 2002, http://www.wrox.com/WileyCDA/WroxTitle/Expert-One-on-One-J2EE-Design-and-Development.productCd-0764543857.html
12 T. Mackinnon, S. Freeman, P. Craig, "Endo-Testing: Unit Testing with Mock Objects", in Extreme Programming Examined, Addison-Wesley, 2001, http://www.ccs.neu.edu/research/demeter/related-work/extreme-programming/MockObjectsFinal.PDF
13 C. N. Oh, K. H. Lee, "Performance Measuring Method of Enterprise JavaBeans(EJB)", Proc. of KIISE Fall Conference, 2000, http://www.dbpia.co.kr/Article/450355
14 H. J. Song, E. M. Choi, "Automated Generation of Wrapper to Test Components", Journal of KIISE: Software and Applications, vol. 32, no. 8, 2005, http://www.dbpia.co.kr/Article/505858
15 H. J. Yoon, B. J. Choi, "A Testing Technique for Customized EJB Component", Journal of KIISE: Software and Applications, vol. 28, no. 3, 2001, http://www.dbpia.co.kr/Article/452067
16 J. S. Kim, J. S. Kang, Y. S. Ma, Y. R. Kwon, "Component-based Software Testing Tool Using Test Data Generated From UML Models in XMI", Proc. of KIISE Spring Conference, 2002, http://www.dbpia.co.kr/Article/453905
17 S. H. Edwards, "A framework for practical, automated black-box testing of component-based software", Journal of Software Testing, Verification and Reliability, 2001, http://dx.doi.org/10.1002/stvr.224   DOI   ScienceOn
18 A. Orso, M. J. Harrold, D. Rosenblum, G. Rothermel, M. L. Soffa, H. S. Do, "Using Component Metacontentto Support the Regression Testing of Component-Based Software", Proc. of the IEEE Int'l Conference on Software Maintenance, Nov 2001, http://cse.unl.edu/-grother/papers/icsm01b.pdf
19 J. Grundy, G. Ding, "Automatic Validation of Deployed J2EE Components Using Aspect", Proc. of the IEEE Int'l Conference on Automated Software Engineering, 2002, http://dx.doi.org/10.1109/ASE.2002.1114993   DOI
20 M. Strembeck, U. Zdun, "Scenario-based Component Testing Using Embedded Metadata", Proc. of the Workshop on Testing of Component-based Systems, 2004, http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.84.9220&rep=rep1&type=pdf
21 JTB: Java Tree Builder, https://java.net/projects/jtb