http://chineseinput.net/에서 pinyin(병음)방식으로 중국어를 변환할 수 있습니다.
변환된 중국어를 복사하여 사용하시면 됩니다.
자바 웹 앱에서 웹 컴포넌트와 웹 자원의 의존 관계를 자동으로 추출하는 기법
오재원,이승현,김아형,안우현,Oh, Jaewon,Lee, Seunghyun,Kim, Ah Hyoung,Ahn, Woo Hyun 한국정보통신학회 2018 한국정보통신학회논문지 Vol.21 No.3
웹 앱의 요구사항이 복잡해지고 빠르게 변화하고 있어, 웹 앱의 유지보수가 더욱더 중요해지고 있다. 그렇지만, 웹 앱은 문서화가 충분하게 이루어지지 않아 유지보수가 어렵다. 그래서 효과적인 웹 앱의 유지보수를 위해 웹 페이지 생성 시 일어나는 내부 행위를 추상화한 모델을 추출할 필요가 있다. 기존 연구는 상호 작용하는 웹 컴포넌트(JSP, 서블릿 등)를 식별하지만, 웹 자원(이미지, CSS 파일, 자바스크립트 파일 등)을 식별하지 못하거나, 웹 컴포넌트와 웹 자원 사이의 의존 관계를 추출하지 못한다. 본 논문은 자바 웹 앱을 동적 분석하여 이러한 의존 관계를 추출하고, 그래프 모델로 표현하는 방법을 제안한다. 그리고 오픈 소스 웹 앱을 대상으로 실험하여 제안하는 기법의 활용 가능성을 검증한다. 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.
오재원,안우현,김태공,Oh, Jaewon,Ahn, Woo Hyun,Kim, Taegong 한국정보통신학회 2017 한국정보통신학회논문지 Vol.21 No.11
웹 앱에는, 서로 다른 웹 페이지를 웹브라우저에 로드할 때 동일 데이터가 반복적으로 획득되고 처리되어 화면상에 표시되는 문제가 있다. 본 논문은 이 문제를 해결하기 위해 자바 웹 앱을 재구조화하는 기법을 제안하고 평가한다. 자바 웹 앱을 MVC(Model-View-Controller) 아키텍처 관점에서 동적 분석하고 컴포지트 뷰 패턴을 활용하여 중복해서 사용되는 데이터를 식별한다. 이를 토대로 페이지 요청 시 중복 데이터가 로드되지 않도록 앱을 재구조화한다. 재구조화를 통해 MVC 아키텍처에 부합하며 성능이 향상된 웹 앱을 생성한다. 이렇게 재구조화된 웹 앱은 기존 웹 앱의 응답 시간을 데스크톱 PC, 모바일 기기에서 각각 38%, 55% 개선하였다. 아울러 오픈 소스 웹 앱을 이용한 사례 연구를 통해 제안하는 기법의 적용 가능성을 보였다. Web apps have a problem that they cause same data to be repetitively retrieved, processed, and displayed when web browsers load different web pages. To resolve the problem, this paper presents and evaluates a new method for restructuring of Java web apps. This approach dynamically analyzes Java web apps from the MVC (Model-View-Controller) architecture point of view and identifies redundant data by using the composite view pattern. Then the input apps are restructured in order not to load the redundant data when users make requests for new pages. This restructuring generates new web apps that conform to the MVC architecture and improve the performance of input web apps. The experimental results showed that when compared to legacy web apps, the restructured apps' response time was reduced on desktop PCs and mobile devices by 38% and 55%, respectively. In addition, case studies using open-source web apps showed the applicability of the proposed approach.
단일 페이지 AJAX 애플리케이션을 위한 템플릿 기반 웹 애플리케이션 재공학 기법
오재원 ( Jaewon Oh ),최현철 ( Hyeon Cheol Choi ),임승호 ( Seung Ho Lim ),안우현 ( Woo Hyun Ahn ) 한국정보처리학회 2012 정보처리학회논문지. 소프트웨어 및 데이터 공학 Vol.1 No.1
템플릿 기반 웹 애플리케이션(TWA)은 웹 페이지들의 공통부분을 단일 코드 파일(템플릿)로, 각 페이지에 특화된 부분은 별도의 파일로 관리한다. HTTP 요청이 발생하면 이 두 종류 파일을 동적으로 조합하여 웹 페이지를 생성한다. 이를 통해 사용자에게 일관된 UI을 제공하며 코드 중복을 제거해 유지보수성을 향상시킨다. 그러나 TWA는 사용자의 요청 시 현재 페이지에서 바뀌어야 할 부분이 일부지만 페이지 전환이 이루어져 갱신이 불필요한 데이터까지 전송되고 처리되는 문제가 있다. 본 논문은 Java 기반 TWA를 대상으로 이 문제를 해결한다. 제안 기법은 페이지 전환을 제거하기 위해 HTML에 있는 하이퍼링크를 AJAX를 이용하는 JavaScript 이벤트 핸들러로 변환한다. 또한 갱신에 필요한 데이터만 반환하기 위해 JSP, Servlet 코드에서 템플릿 전송 코드를 제거한다. 따라서 이 기법은 페이지 전환으로 발생하는 네트워크와 CPU 부하를 감소시키며, 비동기적인 페이지 업데이트로 사용자의 체감 성능을 향상시킨다. 성능 검증을 위해 전형적인 TWA를 대상으로 이 기법을 적용하였다. 성능 측정 결과 기존 TWA보다 응답시간을 최대 87% 개선하였다. Web pages in a template-based web application (TWA) are automatically populated using a template shared by the pages with contents specific to the pages. So users can easily obtain information guided by a consistent structure of the template. Reduced duplicated code helps to increase the level of maintainability as well. However, TWA still has the interaction problem of classic web applications that each time a user clicks a hyperlink a new page is loaded, although a partial update of the page is desirable. This paper proposes a reengineering technique to transform the multi-page structure of legacy Java-based TWA to a single page one with partial page refresh. In this approach, hyperlinks in HTML code are refactored to AJAX-enabled event handlers to achieve the single page structure. In addition, JSP and Servlet code is transformed in order not to send data unnecessary for the partial update. The new single page consists of individual components that are updateable independently when interacting with a user. Therefore, our approach can improve interactivity and responsiveness towards a user while reducing CPU and network usage. The measurement of our technique applied to a typical TWA shows that our technique improves the response time of user requests over the TWA in the range from 1 to 87%.
다물체 동역학을 이용한 해상 풍력 발전 구조 해석 기법 개발
오재원(Jaewon Oh),배대성(Daesung Bae),조희제(Huije Cho),임채환(Chaewhan Rim),송진섭(Jinseop Song) 한국자동차공학회 2012 한국자동차공학회 학술대회 및 전시회 Vol.2012 No.11
Dynamics analysis of a floating wind turbine system is coupled with aero-elastic dynamics, hydro dynamics, multi body dynamics and control system. The aero-elastic dynamics code has been developed by NREL(National Renewable Energy Laboratory, USA). The hydro dynamics code has been developed by KIMM(Korea Institute of Machinery & Materials) and SNU(Seoul National University). Those codes have been merged on the commercial multi-body dynamics software of DAFUL made in VM(Virtual Motion). A wind turbine system consists of blade, hub, power train, nacelle, tower, platform, mooring. The blade and tower are modeled as multi-body system to apply an aero force and elastic force. Pitch and generator torque are controlled with PID controller. Added mass, damping, restoring, mooring and buoyancy forces are applied on the platform. This analysis method is verified by NREL OC3 model and FAST, developed in NREL. As a result, the two results agree well enough to verify the reliability.