Rich Ajax Platform 대표적인 RAP Application(CAS PIA: http://www.cas-pia.de/en/try.html)
목 차 Eclipse RAP란? RAP 설치 및 개발환경 Setup HelloWorld RAP 실행 RAP Architecture Request Life Cycle Start up Themes (css) Branding Exporting (Tomcat) 기타(UICallBack, Session) 실습 참고자료 Eclipse RCP Eclipse RAP
Eclipse RAP란? 2006년 6월 시작 RCP를 웹으로(?) -> RAP(Rich Ajax Platform) 대부분 브라우저 호환성 지원 대부분 웹 컨테이너 지원(Tomcat, WebLogic …) Server UI Callback 지원
Eclipse RAP? 환경 JDK 6.0 Eclipse RCP(3.4.2)(http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/ganymede/SR2/eclipse-rcp-ganymede-SR2-win32.zip) Eclipse RAP(1.2 final RC Build)Update Site : http://download.eclipse.org/rt/rap/1.2/update Tomcat 5.5 WTP(3.0.5)
HelloWorld RAP New PlugIn Project
실행 방법
설정
실행환경 실행 할 플러그인 및 참조해야 할 플러그인 설정한다. 실행 할 Plug-ns을(com.study.rap.sampe)를 선택한 후 -> Add Required Plug-Ins 선택한다. 선택하면 com.study.rap.sampePlug-in이 필요한 플러그인을자동으로 추가한다. Validate Plug-ins 를 클릭하여 이상이 없다는 메시지가 출력되면 정상이다.
Exporting (Tomcat) 필요 Resource(RAP Deployment – Part 2: Deploying as WAR) cvs(dev.eclipse.org)에서 Checkout 한다. org.eclipse.equinox -> server-side -> bundles org.eclipse.equnox.servletbridge ort.eclipse.equnox.http.servletbridge org.eclipse.equnox.http.registry org.eclipse.rap -> releng org.eclipse.rap.demo.feature -> cvs와 연결끊기 -> 자산의 update 프로젝트로 이름 변경
Exporting (Tomcat) Context web.xml
기타 Session 사용 ISessionStore sessionStore = RWT.getSessionStore(); final String sessionId = sessionStore.getId(); HttpSession hs = ss.getHttpSession(); hs.setMaxInactiveInterval( 24 * 60 * 60 ); UICallBack http://www.devx.com/webdev/Article/36101/1763/page/3 GEF http://www.architexa.com/labs/#gef
실습
참고자료 Eclipse RAP Home Using Eclipse Ganymede to develop for the desktop, Web and mobile devices, Part 2: Developing for the Rich Client Platform, the Ganymede way Rich Ajax Platform, Part 2: 애플리케이션 개발하기 Eclipse Rich Ajax Platform (RAP) - Tutorial with Eclipse 3.5 (Galileo) Equnox in a Servlet Container RAP Deployment – Part 2: Deploying as WAR Single Sourcing RAP and RCP PPT 한금이블로그RAP 부분 RAP 개발환경(RAP Development Environment) RAP 시작, 톰켓의 환경 RAP에서 CSS 사용하기
0 comments
Post a comment