분류 전체보기 221

Eclipse RCP (Rich Client Platform) - 9.의존성 주입과 Eclipse

9. Dependency injection and Eclipse : 의존성 주입과 Eclipse 9.1. Define class dependencies in Eclipse : Eclipse 에서 class dependencies 정의 Eclipse의 programming model 은 Java Specification Request 330 (JSR330)에 따라 constructor, method, field injection을 지원합니다. Eclipse는 또한, dependency injection을 목적으로, 추가적인 annotation을 지원합니다. 가장 중요한 annotation은 Eclipse의 class dependencies를 정의하기 위한 Annotaion에서 다루고, 다른 더 특별한 an..

Eclipse RCP (Rich Client Platform) - 8.실습 : model fragments를 통한 part descriptor 기여

8. Exercise: Contributing a part descriptor via model fragments : 8. 실습 : model fragments를 통한 part descriptor 기여 이 실습에서, part descriptor에 model fragment를 만들어봅시다. Eclipse IDE 나 RCP application의 extend에 사용할 수 있는 방식으로 이 part descriptor를 build 할 겁니다. 8.1. Create a new plug-in : 새 plug-in 만들기 Create a simple plug-in project named com.vogella.contribute.parts. The following description abbreviates the..

Eclipse RCP (Rich Client Platform) - 6.실습: Eclipse RCP application 만들기 + 7.

6. Exercise: Creating an Eclipse RCP application : 실습 : Eclipse RCP application 만들기 이 실습에서, 당신은 표준 Eclipse plug-in을 만듭니다. 이후에, 당신은 생성된 plug-in을 Eclipse RCP application으로 변경합니다. 이 plug-in은 당신의 user interface components의 basis로 사용됩니다. 정보 : 만약 당신이 다른 project를 전에 생성한 경우, 그것을 workspace에서 모두 닫거나 삭제하길 권장합니다. side effect를 피하기 위해 말이죠. project를 닫기 위해선, 우클릭 후 content menu에서 Close를 선택하면 됩니다. 삭제하기 위해서는 우클릭 후..

Eclipse RCP (Rich Client Platform) - 5.다른 plug-ins으로 부터 application model 확장하기

5. Extending the application model from other plug-ins : 다른 plug-ins으로 부터 application model 확장하기 5.1. Contributions 모든 plugin-ins 는 '다음'을 통해 application model에 contribute 할 수 있습니다. : - Static contribution : text file을 통한 기여입니다.; 이 확장(extension)은 fragment 혹은 model fragment로 불립니다. - Dynamic contribution : Java class들을 통한 기여입니다; 이 확장(extension)은 processor 혹은 model processor로 불립니다. 이 model contribut..

Eclipse RCP (Rich Client Platform) - 4.Eclipse application 구조 설명

4. Describing the structure of an Eclipse application : (Eclipse application 구조 설명) - runtime에서, Eclipse application 구조는 application model로 설명됩니다. - 이 모델은 individual model elements인 application의 부분과, 그 계층 관계를 포함합니다. - 몇몇은 user 눈으로 확인 할 수 있습니다. ex) window, parts(view & editor), menu, toolbar... - 다른 element는 직접적으로 user에게 보이지 않습니다. ex) handler, commands, key bindings.... - 각 model element는 attribu..

Eclipse RCP (Rich Client Platform) - 3.마법사를 통해 RCP application 만들기

3. Exercise: Create an RCP application with the wizard 연습 : 마법사를 통해 RCP application 만들기 exercise에서 template base의 Eclipse RCP application을 만들어봅니다. 그리고 IDE를 통해 실행해봅니다. 3.1. Create project : project 만들기 File > New > Other…​ > Plug-in Development > Plug-in Project를 통해 project를 생성합니다. 이름은 com.example.e4.rcp로 해봅니다. 아래 화면과 동일하게 세팅해 주세요 이후 Next를 누릅니다. 아래 빨간 네모박스를 체크해 줍니다. 그리고 Next 또 Next를 눌러줍니다.(Finish..

Eclipse RCP (Rich Client Platform) - 2.설치

2. Installation : 설치 2.1. Download the Eclipse SDK : Eclipse SDK 다운받기 아래 링크에서, 최신 Release의 Eclipse SDK build를 받으세요. 가장 최신 것으로 다운받으면 됩니다. http://download.eclipse.org/eclipse/downloads/ 여러 개의 압축파일이 있는데, 사용자의 Platform에 따라 뭘 받아야 할 지, 다를 수 있습니다. Windows : zip Linux : tar.gz Mac : dmg(Disk Image) e4 tool은 Eclipse RCP와 Eclipse IDE plug-ins를 개발하기에 아주 유용한 툴입니다. suggested Eclipse SDK download에 있습니다. 다른 Ec..

관리페이지 만들기 1

-1. Spring + Maven + MSSQL + Tomcat셋팅 0. DB 만들기 - 웹의 실물은 DB이다. - DB를 먼저 만들자 1. dto 만들기 - DB column 명과 일치시켜야 한다. 1.1 - mybatis mapper 등록 => 쿼리 내용 등록 - mybatis config 등록 => DTO 등록 2. DAO Interface 만들기 - CRUD를 셋팅한다(create,read,update,delete) 3. DAO IMPL만들기 - 위 Interface를 구체화 시켜서 구현한다. 4. Service 만들기 - CRUD를 셋팅한다(create,read,update,delete) 5. Service Impl 만들기 - DAO 연결한다 - DAO의 method(CRUD)를 Service ..