Development of Template for Automatic Generation of Presentation Layer in J2EE-Based Web Applications

J2EE기반의 웹 애플리케이션을 위한 프리젠테이션 계층 자동생성 템플릿 개발

  • 유철중 (전북대학교 컴퓨터과학과) ;
  • 채정화 (전북대학교 전산통계학과) ;
  • 김송주 (전북대학교 전산통계학과) ;
  • 장옥배 (전북대학교 전자정보공학부)
  • Published : 2003.04.01

Abstract

Web applications based on J2EE($Java^{TM}$ 2 Platform, Enterprise Edition) were occurred for solution to overcome the limitations in time and space that the former applications had. Recently, lots of solutions using frameworks are being suggested to develope applications more quickly and efficiently. In this paper, we propose the template for several processes and types, which should be taken in presentation layer of web applications. This idea was based on the fact that web applications developers can concentrate on their specific tasks with independent manner in layered architecture. This template is XML-typed document that shows information about presentation layer of Web applications, which the user wants to compose. This template is inputted to the code generator. After then, the code generator generates skeleton code in presentation layer automatically after parsing information of XML documents. It means that we can develope Web applications more efficiently, by constructing skeleton code which inherits from hot spot classes of framework. Using this template and code generator, developer can develop Web applications with little practice and also is easy to cooperate with other developers to develop them just in time with distributing the standard development process.

J2EE(Jav $a^{™}$ 2 Platform, Enterprise Edition) 기반의 웹 애플리케이션은 기존의 애플리케이션이 갖는 시간적.공간적 제약을 극복하는 대안으로 대두되었다. 최근 웹 애플리케이션을 보다 빠르고 효율적으로 개발하기 위한 해결책으로 프레임워크를 이용하는 방안들이 다양하게 제기되고 있다. 본 논문에서는 계층구조를 갖는 웹 애플리케이션을 각 계층의 개발자들이 따로 프로그램을 개발할 수 있다는 점에 착안하여 프리젠테이션 계층에서 담당해야 할 여러 처리와 그 유형을 템플릿으로 제시하여 웹 애플리케이션의 프리젠테이션 계층을 보다 빠르게 개발할 수 있도록 한다. 이 템플릿은 사용자가 작성하고자 하는 웹 애플리케이션의 프리젠테이션 계층에 대한 정보를 나타내는 것으로 XML 형태의 문서이며, 이것을 입력받은 코드 생성기는 사용자 정보를 파싱한 후 주어진 웹 애플리케이션 프레임워크를 바탕으로 프리젠테이션 계층의 골격 코드를 자동 생성한다. 이것은 코드 생성기를 이용하여 프레임워크의 핫스팟 클래스들을 상속받은 골격 코드를 빠르게 생성할 수 있어 보다 효율적으로 웹 애플리케이션을 개발할 수 있음을 의미한다. 본 템플릿과 코드 생성기를 사용함으로써 개발자는 적은 학습량으로 웹 애플리케이션을 개발할 수 있고, 표준화시킨 개발 과정을 내포함으로써 다른 개발자와의 협력작업을 용이하게 하여 웹 애플리케이션을 적시에 개발할 수 있다.

Keywords

References

  1. H. W. Gellersen and M. Gaedke, 'Object-Oriented Web Application Development,' IEEE Internet Computing, Vol. 3, pp. 60-68, Jan.-Feb, 1999 https://doi.org/10.1109/4236.747323
  2. A. Ginige and S. Murugesan, 'Web Engineering: An Introduction,' IEEE Multimedia, Vol. 8, pp. 14-18, Jan.-Mar. 2001 https://doi.org/10.1109/93.923949
  3. J2EE Blue Team, 'Designing Enterprise Applications,' 2000
  4. A. Saimi, T. Syomura, H. Suganuma and I. Ishida, 'Presentation Layer Framework of Web Application Systems with Server-side Java Technology,' COMPSAC 2000, The Annual International, pp. 473-478, 2000 https://doi.org/10.1109/CMPSAC.2000.884769
  5. Rossi, D. Schwabe and A. Garrido, 'Design Reuse in Hypermedia Applications Development,' 1997 https://doi.org/10.1145/267437.267444
  6. Mohamed E. Fayad, Douglas C. Schmidt and Ralph E. Johnson, 'Building Application Frameworks,' Wiley Computer Publishing, pp. 496-497, 1997
  7. J. Conallen, 'Building Web Applications with UML,' Addison-Wesley Publishing Company, 1999
  8. Understanding JavaServer Pages Model 2 Architecture, http://www.javaworld.com/
  9. Barracuda: Open Source Presentation Framework, http://barracuda.enhydra.org/, 2001
  10. Struts: Open Source Presentation Framework, http://jakarta.apache.org/struts/index.html
  11. Turbine: Open Source Presentation Framework, http://jakarta.apache.org/turbine
  12. Web Macro: Open Source Presentation Framework, http://www.webmacro.org
  13. Velocity: Open Source Presentation Framework, http://jakarta.apache.org/velocity
  14. Source Code for Roja Framework and Sample Project, http://rojaware.wo.to
  15. V. Tam, W. K. Foo, and R. K. Gupta, 'A Fast and Flexible Framework of Scripting for Web Application Development: A Preliminary Experience Report,' 2000