• Title/Summary/Keyword: Java servlets

Search Result 8, Processing Time 0.028 seconds

Automatic Extraction of Dependencies between Web Components and Database Resources in Java Web Applications

  • Oh, Jaewon;Ahn, Woo Hyun;Kim, Taegong
    • Journal of information and communication convergence engineering
    • /
    • v.17 no.2
    • /
    • pp.149-160
    • /
    • 2019
  • Web applications typically interact with databases. Therefore, it is very crucial to understand which web components access which database resources when maintaining web apps. Existing research identifies interactions between Java web components, such as JavaServer Pages and servlets but does not extract dependencies between the web components and database resources, such as tables and attributes. This paper proposes a dynamic analysis of Java web apps, which extracts such dependencies from a Java web app and represents them as a graph. The key responsibility of our analysis method is to identify when web components access database resources. To fulfill this responsibility, our method dynamically observes the database-related objects provided in the Java standard library using the proxy pattern, which can be applied to control access to a desired object. This study also experiments with open source web apps to verify the feasibility of the proposed method.

Automatic Generation of Web-based Database Applications (웹 기반 데이타베이스 응용의 자동 생성)

  • Eum, Du-Heon;Yu, Eun-Ja
    • Journal of KIISE:Databases
    • /
    • v.29 no.3
    • /
    • pp.207-216
    • /
    • 2002
  • Nowadays, we can easily access a remote database as well as a local database with HTML forms. Although implementing a database application with HTML forms is much simpler than implementing it with a proprietary graphical user Interface system, HTML forms and CGI programs still must be coded. We implemented a software tool that automatically generates the SQL statements that create a database for an application, the forms that are used as a user interface, and the Java servlets that retrieve the data requested through the forms. The database tables to be treated and the forms to be generated are determined by the class diagram for the application. Our software tool, which we call WebSiteGen, thus simplifies the implementation of a Web-based database application.

Java Servlets Supporting Users's Sessions (사용자 세션 지원 자바 서블릿)

  • Kim, Jin-Hong;Jeong, Hyeon-Rak;Park, Yang-Su;Lee, Myeong-Jun
    • The Transactions of the Korea Information Processing Society
    • /
    • v.7 no.5
    • /
    • pp.1544-1552
    • /
    • 2000
  • To maintain users' sessions through web browsers, a web server needs facilities for authenticating users and managing their information. Those facilities enable a web server to keep the states of the users, providing services distinguished by the states. As of now, those facilities are provided through non-standardized technologies, leading to the repeated development of similar functionalities through many web programers. In this paper, to solve the problem, we define a new session class containing the information on a user, and present a design and implementation of the Java servlet classes which supply the facilities for authenticating users, managing their sessions, and controling web services according to the groups they belong to. These servlet classes work on any web servers supporting Java servlet such as JavaServer, Apache, and IIS.

  • PDF

A Process to Display Distributed Database Performance Information Using XML in Java Servlets (자바 서블릿에서의 XML을 이용한 분산 데이터베이스 성능정보 표현 방법)

  • 김정출;김용성
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2003.04c
    • /
    • pp.70-72
    • /
    • 2003
  • 응용프로그램사이에 데이터의 이동을 위한 형식으로 XML이 사용되고 있다. XSL 또한 웹 브라우저에서 XML 데이터를 보여주고, 응용프로그램에서 데이터를 제거하거나 추가하기 위한 표준이 되었다. 본 논문에서는 분산 서버의 관계형 데이터베이스의 성능정보를 보이기 위해 DTD를 생성하고, 데이터를 XML형식으로 변환하여, 차트나 그래프로 XSL을 이용하여 보여주는 방법을 제안한다.

  • PDF

Distributed XML Document for E-Commerce (E-Commerce를 위한 XML문서의 분산화)

  • Lee, Sang-Hun;Song, Sang-Hoon;Noh, Yong-Deok
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2002.04b
    • /
    • pp.1135-1138
    • /
    • 2002
  • XML은 인터넷을 기반으로 하는 정보교환의 매개체로서 다양한 응용분야로 확산됨에 따라 전자상거래를 위해 최근에 매우 중요한 기준이 되었으며 많은 소프트웨어 디자이너들은 XML 형식의 정보를 토대로 새로운 시스템을 개발하고 있다. 본 논문은 XML을 처리하기 위해 일반적인 아키텍처를 제안하는데 XML과 XSLT와 HTTP와 Java Servlets 같은 기술을 사용하면서 XML 프로세싱 시스템을 디자인 한다. 본 연구는 일반적이면서도 유연하고, scalable하며, 확장성이 있으며 또한 분산 프레임 환경에 적합하게 디자인을 하고있다. 이러한 아키텍처와 시스템의 주요한 응용은 전자 산업 시스템의 데이터 교환을 지원하는 중요한 것이 되었기에 이에 소개하고자 한다.

  • PDF

A Technique for Extracting EJB Components from Servlets (서블릿에서 EJB 컴포넌트 추출을 위한 기법)

  • 김동관;김철홍;정효택
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2001.10a
    • /
    • pp.517-519
    • /
    • 2001
  • 클래스 라이브러리, 설계 패턴, 프레임워크 등의 재사용 기술과 더불어 근래 들어 소프트웨어 컴포넌트 기술이 크게 각광을 받았다. 산업계에서도 Microsoft사 중심의 COM+와 Sun사 중심의 Enterprise Java Bean (EJB) [1]이 대두되 있으며 있따른 제품들이 출시되 있다. 소프트웨어의 재사용 단위가 객체에서 컴포넌트로 이동함으로써 기존 객체 중심의 개발 방법론, 모델링 및 개발도구들이 컴포넌트 개념을 포함하며 발전하 있다. 본 논문은 컴포넌트 추출에 초점을 두 있다. 서블릿[2] 프로그램에서 EJB 컴포넌트 추출을 위한 기법을 제공한다. 서블릿기반으로 개발된 웹 프로그램을 분석하여 재사용 가능한 EJB 컴포넌트를 추출하여 차후 유사만 어플리케이션 개발 시 활용하고자 한다. 서블릿의 메소드들을 분석하여 메소드 특성에 따라 session bean [1] 또는 entity bean [11의 메소드로 변환한다. 제안된 컴포넌트 추출 과정을 기술하 Unified Modeling Language(UML)[3] 기반의 추출 모듈에 대한 분석, 설계 다이어그램을 제공한다.

  • PDF

An Automatic Extraction Scheme of Dependency Relations between Web Components and Web Resources in Java Web Applications (자바 웹 앱에서 웹 컴포넌트와 웹 자원의 의존 관계를 자동으로 추출하는 기법)

  • Oh, Jaewon;Lee, Seunghyun;Kim, Ah Hyoung;Ahn, Woo Hyun
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.22 no.3
    • /
    • pp.458-470
    • /
    • 2018
  • As the requirements of web apps become complex and rapidly changing, the maintenance of web apps becomes more important. However, web apps have a problem that more often than not there is not enough documentation to understand and maintain them. Thus, their effective maintenance requires models that represent their internal behavior occurring when they dynamically generate web pages. Previous works identify web components (such as JSPs and Servlets) as participants in the behavior but not web resources (such as images, CSS files, and JavaScript files). Moreover, they do not identify dependency relations between web components and web resources. This paper dynamically analyzes Java web apps to extract such dependency relations, which are included in our graph model for page generation. Case studies using open-source web apps show the applicability of the proposed approach.

The e-Business Component Construction based on Distributed Component Specification (분산 컴포넌트 명세를 통한 e-비즈니스 컴포넌트 구축)

  • Kim, Haeng-Gon;Choe, Ha-Jeong;Han, Eun-Ju
    • The KIPS Transactions:PartD
    • /
    • v.8D no.6
    • /
    • pp.705-714
    • /
    • 2001
  • The computing systems of today expanded business trade and distributed business process Internet. More and more systems are developed from components with exactly reusability, independency, and portability. Component based development is focused on advanced concepts rater than passive manipulation or source code in class library. The primary component construction in CBD. However, lead to an additional cost for reconstructing the new component with CBD model. It also difficult to serve component information with rapidly and exactly, which normalization model are not established, frequency user logging in Web caused overload. A lot of difficult issues and aspects of Component Based Development have to be investigated to develop good component-based products. There is no established normalization model which will guarantee a proper treatment of components. This paper elaborates on some of those aspects of web application to adapt user requirement with exactly and rapidly. Distributed components in this paper are used in the most tiny size on network and suggest the network-addressable interface based on business domain. We also discuss the internal and external specifications for grasping component internal and external relations of user requirements to be analyzed. The specifications are stored on Servlets after dividing the information between session and entity as an EJB (Enterprise JavaBeans) that are reusable unit size in business domain. The reusable units are used in business component through query to get business component. As a major contribution, we propose a systems model for registration, auto-arrange, search, test, and download component, which covers component reusability and component customization.

  • PDF