The MyBatis data mapper framework makes it easier to use a relational database with object-oriented applications. This document explain about MyBatis basic concept.
The MyBatis data mapper framework makes it easier to use a relational database with object-oriented applications. This document explain about MyBatis basic concept.
Scala, Spring-Boot, JPA를 활용한 웹 애플리케이션 개발 과정에 대해 다룬다. Spring-Boot와 JPA 조합만으로도 생산성 있는 웹 애플리케이션 개발이 가능하다. 이 조합만으로도 충분히 의미가 있지만 여기에 Scala라는 약간은 불편한 듯 보이는 언어를 도입함으로써 얻을 수 있는 즐거움을 공유한다. Spring-Boot + JPA 조합에 Scala를 적용하면서의 좌충우돌 경험담을 전한다.
Oct’16 saw a jump in amount invested in VC/PE deals in India. Reported deal amount was USD1450m, making October only the second month in 2016 with billion dollar plus investment. This amount was invested over 34 transactions, another 38 chose not to disclose invested amount.
Deal count for the month was 72, taking ytd deal count to 690, 3% down over ytd 2015. The difference in invested amount is much sharper. Cumulative investment in ytd 2016 is USD 7.8B, 35% less over the USD12B which was reported in the same period in 2015.
Reported investment was boosted by 3 large deals. The top one was a USD1B transaction in real estate, where Brookfield Asset Management picked up a folio of commercial and retail properties from Mumbai’s Hiranandani Developers. TVS Logistics attracted USD155m of investment from Canada’s CPDQ, while garment maker Arvind Brands took in USD110m from domestic PE firm Multiples Alternate Asset Management.
This document lists basic useful information on Indian real estate sector. Essentially quick facts, recent developments, key numbers, and names and brief description of some eco system entities
Scala, Spring-Boot, JPA를 활용한 웹 애플리케이션 개발 과정에 대해 다룬다. Spring-Boot와 JPA 조합만으로도 생산성 있는 웹 애플리케이션 개발이 가능하다. 이 조합만으로도 충분히 의미가 있지만 여기에 Scala라는 약간은 불편한 듯 보이는 언어를 도입함으로써 얻을 수 있는 즐거움을 공유한다. Spring-Boot + JPA 조합에 Scala를 적용하면서의 좌충우돌 경험담을 전한다.
Oct’16 saw a jump in amount invested in VC/PE deals in India. Reported deal amount was USD1450m, making October only the second month in 2016 with billion dollar plus investment. This amount was invested over 34 transactions, another 38 chose not to disclose invested amount.
Deal count for the month was 72, taking ytd deal count to 690, 3% down over ytd 2015. The difference in invested amount is much sharper. Cumulative investment in ytd 2016 is USD 7.8B, 35% less over the USD12B which was reported in the same period in 2015.
Reported investment was boosted by 3 large deals. The top one was a USD1B transaction in real estate, where Brookfield Asset Management picked up a folio of commercial and retail properties from Mumbai’s Hiranandani Developers. TVS Logistics attracted USD155m of investment from Canada’s CPDQ, while garment maker Arvind Brands took in USD110m from domestic PE firm Multiples Alternate Asset Management.
This document lists basic useful information on Indian real estate sector. Essentially quick facts, recent developments, key numbers, and names and brief description of some eco system entities
모티브 :
웹 페이지에서 일어나는 사용자의 단일 액션에 대응하는 일련의 프로세스를 하나의 클래스에서 구현한다. 일련의 프로세스는 사용자가 서버에 요청을 하기 위해서 클릭을 한다거나 입력을 하고 요청을 하고 그에 따른 서버 측에서 처리가 이루어지고 처리 결과를 다시 사용자의 브라우저에 통보를 하고 브라우저는 결과를 통해 사용자에게 결과를 인식 시키는 일련의 작업을 말합니다.
목적 및 장점 :
1. CRUD(Create, Read, Update, Delete) 인터랙션에 대한 처리와 시스템 장애에 대한 빠른 문제 파악과 대응
조건 :
1. XHR Wrapped클래스가 존재하여야 한다. (prototype.js, dojo, jQuery, etc)
2. XHR 오브젝트를 이용한 데이터 처리가 있어야 한다.
3. 요청을 위한 단계와 응답에 대한 처리 단계가 간단하고 명료해야 한다.
제약 :
1. 복잡한 UI 처리 및 CRUD이외의 처리가 다소 병행되어 진다면 클래스 혹은 객체가 무거워질 수 있다.
단점 :
1. 특정한 인터랙션 위한 패턴으로 확장(extend) 및 소스 재사용 면에서 용이하지 못함
spark 1.6을 기준으로 spark sql에 대해서 개략적으로 설명한 자료입니다. 발표 자료가 친절하지 않으나 한글로 된 자료가 없길래 혹시나 도움 되시는 분들이 있을까 하여 공유합니다.
발표자료 보다는 마지막 페이지의 참고자료들을 읽어보시기를 권장 드립니다.
출처만 남겨주시면 자유롭게 가져가셔서 사용하셔도 무방합니다.
스프링군살없이세팅하기(The way to setting the Spring framework for web.)EunChul Shin
깔끔하게 스프링 프레임워크 세팅하는 것에 대한 이야기 입니다.
군살없이 프레임워크를 세팅한다는 의미와 이유, 그리고 스프링 기본 설정 및 설정들의 역할에 대해서 정리해 보았습니다.
This presentation is about Spring framework.
I want to talk about the way to setting the spring framework as tidy in this presentation.
갑을병정 산업구조에서 갑돌이의 잦은 요구사항 변경 통보를 받아보셨을 겁니다. 사람들에게 받은 스트레스를 풀려고 '그래! 난 개발자닌깐' 하고 자리에 앉아서 코드를 짜는데 반복적인 작업을 하다보면 ‘내가 이걸 왜 하고 있나’ 라는 생각까지 들기도 합니다.
안드로이드 작업을 하다보면 다음과 같은 반복적인 작업을 하는 것을 느꼈을 겁니다.
반복적인 보일러(Boiler)코드를 줄일 수 있는 오픈소스를 소개하고자 합니다.
Metaworks is Metadata Oriented Application Framework
which is Inspired from the Adaptive Object Models and OMG Reflection, MDA.
The main approach is
Application Component Generation on the fly from metadata
Now Metaworks version 3 Is A POJO framework that
encourages the Domain-Driven Design and
Especially for developing model-driven applications (UML, BPMN, etc)
11. 웹 애플리케이션 개발 프레임워크 보안 프레임워크 SQL & OR Mapper 프레임워크 DI (Dependency Injection) & AOP (Aspected Oriented Programming) 프레임워크 디스플레이 레이아웃 프레임워크 SOA 프레임워크 리포팅 프레임워크 … 배포 및 형상 관리 프레임워크 자바 기반의 오픈 소스 프레임워크 개요 프레임워크란
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27. public class MyAction { ... public String execute() throws Exception { ... return "success"; } } 액션 클래스의 프로토타입 Struts2 란
46. 액션 인보케이션 액션 매퍼 액션프록시 필터 디스패처 태그 서브시스템 HTML, Dojo, Forms, etc 템플릿 JSP, FreeMarker, Velocity, etc HttpServletResponse 인터셉터 1 리절트 인터셉터 3 인터셉터 2 인터셉터 3 인터셉터 1 인터셉터 2 액션 환경설정관리자 struts.xml HttpServletRequest 액션 프록시 / 액션 인보케이션 Struts2 아키텍쳐
47.
48. 필터 디스패처 proxy = ActionProxyFactory.getFactory().createActionProxy() proxy.execute() 액션 프록시 invocation.invoke() 액션 인보케이션 interceptor() invokeActionOnly() executeResult() 인터셉터 인터셉터 인터셉터 리절트 액션 액션 프록시 / 액션 인보케이션 작업 흐름 Struts2 아키텍쳐
49. ActionProxy invocation.invoke() ActionInvocation invoke() { if (interceptors.hasNext()) { interceptor.interceptor(this); } else { invokeActionOnly(); } if (!executed) { executeResult(); } Interceptor interceptor(invocation) { … return invocation.invoke(); } 액션 프록시 / 액션 인보케이션 호출 구조 Struts2 아키텍쳐
50.
51. 액션 컨텍스트 시퀀스 다이어그램 Struts2 아키텍쳐 :ActionContext :ActionProxy :ActionInvocation 1. getContext() ActionProxy 가 실행될 때 ThreadLocal 로부터 ActionContext 를 얻고 이를 저장한다 . 2. return 4. return 3. getInvocationContext() ActionProxy 는 ActionInvocation 을 위해 ActionContext 를 얻고 ThreadLocal 상에 이를 설정한다 . 5. setContext(aContext) 6. invoke() 7. setContext(aContext) ActionInvocation 이 리턴된 후 , ThreadLocal 상의 예전 ActionContext 를 설정한다 .
113. <action name= " logon" class= " example .SecurityAction " method="logon> <result> logon.jsp </result> </action> 액션 이름 리절트 (type 생략 시 기본값은 dispatcher 타입 사용 name 생략 시 기본값은 success 리절트 코드 사용 ) 리절트 페이지 정의 액션 클래스 액션 메소드 (method 속성 생략 시 execute() 사용 ) 액션 설정 환경설정
114. <action name= " logon" class= " example .SecurityAction " method= " logon " > <interceptor-ref name="basicStack"> <result type="redirect-action">menu</result> <result name="input">/example/logon.jsp</result> </action> 액션 이름 다른 액션을 리절트로 사용 JSP 를 리절트로 사용 액션에 인터셉터 스택 적용 액션 클래스 액션 메소드 다중 리절트 정의 액션 설정 예 환경설정
115.
116.
117.
118.
119.
120.
121.
122.
123. # 리소스 번들 파일 label.sample = 이 것은 properties 파일 안의 메시지입니다 . // 액션 클래스 public class MyAction extends ActionSupport { private String message; public String execute() throws Exception { message = getText(" label.sample ")); return SUCCESS; } ... } #JSP <s:text name=" label.sample "/> <s:submit key=" label.sample "/> <s:property value=" %{getText(‘label.sample’)} "/> 리소스 번들 사용 예 환경설정
124. 액션 리소스 번들 부모 클래스 리소스 번들 인터페이스 리소스 번들 모델 드리븐의 모델 리소스 번들 패키지 리소스 번들 글로벌 리소스 번들 리소스 번들 검색 순서 환경설정
125.
126.
127.
128. welcome.jsp - Home Page example.com 광고 배너 1 검색 최신 뉴스 . . search.cgi - Search Results 검색 결과 . . . . . 광고 배너 2 메타 데이터 바디 내용 메타 데이터 example.com: {title} 메뉴 . 홈 . 뉴스 . 검색 . 공지 copyright 2007 example.com welcome.jsp - Home Page example.com: Home Page 메뉴 . 홈 . 뉴스 . 검색 . 공지 copyright 2007 example.com example.com 검색 최신 뉴스 . . 광고 배너 1 search.cgi - Search Results example.com: Search Results 메뉴 . 홈 . 뉴스 . 검색 . 공지 copyright 2007 example.com 검색 결과 . . . . . 광고 배너 2 decorator 에 의해서 레이아웃을 구성 . 최종 페이지를 생성한다 . decorator 에 의해서 레이아웃을 구성한다 . 최종 페이지를 생성한다 . decorator 에 정의된 레이아웃 . Sitemesh 작업 개념도 플러그인