===== EhCache Configuration Code Gen ====== ===== 개요 ===== Code Generation 기능을 사용하여 "Ehcache 설정"을 쉽게 작성할 수 있다. ===== 설명 ===== eGovFrame EhCache Configuration 의 설명은 다음 실행환경 가이드를 참조한다. * [[eGovframework:RTE:FDL:Cache |실행환경 Cache Configuration Guide ]] ===== 사용법 ===== 1. 이클립스 Window > Show View > Other… 를 선택하여 Show View 창을 연다. \\ {{:egovframework:dev4.3:imp:codegen:template:config:codegen_menu.png?500|}} \\ 2. eGovFrame > eGovFrame Templates 를 선택한다. \\ {{:egovframework:dev4:codegen:codegen_egovframe_template_menu.png?300|}} \\ 3. 작성하고자 하는 Configuration의 템플릿을 선택한다. \\ - eGovFrame Templates > Cache > New Ehcache Configuration 선택 \\ {{:egovframework:dev4.3:imp:codegen:template:config:codegen_egovframe_templates_configurations.png?400|New DataSource 선택}} \\ 4. 화면 UI 를 통해 필요한 항목을 입력한 뒤 최종적으로 Finish 버튼을 클릭한다. \\ **XML 방식** 또는 **Java Config 방식** 모두를 지원한다. \\ {{:egovframework:dev4.3:imp:codegen:template:config:cache:ehcache_config.png?600|상세 정보 입력}} \\ 5. 생성된 Configuration 파일을 확인한다. \\ * **XML 방식** \\ {{:egovframework:dev4.3:imp:codegen:template:config:cache:ehcache_config_result_xml.png?800|생성된 Configuration 파일 확인}} \\ * **Java Config 방식** \\ {{:egovframework:dev4.3:imp:codegen:template:config:cache:ehcache_config_result_java.png?800|생성된 Configuration 파일 확인}} \\