HSQL(in-memoryDB) 사용시 Context 설정은 아래와 같다. HSQL 을 빈으로 등록하기 위해 를 사용한다. HSQL 은 inMemory 방식으로 어플리케이션이 시작되면 메모리에 새롭게 생성되고 반대로 어플리케이션이 종료되면 메모리에서 제거된다. Maven Dependency는 아래와 같다. org.hsqldb hsqldb 2.3.2 'http://hsqldb.org/doc/guide/' Spring DataSource 설정은 아래와 같음 (eGovframework)
ContextLoaderListener()Create a new ContextLoaderListener that will create a web application context based on the "contextClass" and "contextConfigLocation" servlet context-params. ContextLoaderListener(WebApplicationContext context)Create a new ContextLoaderListener with the given application context. Method Summary1. contextDestroyed(ServletContextEvent event)Close the root web application con..
Html tag 필터를 담당. @RequestParam에 Map을 사용할 경우에는 Filter 가 되지 않음. ModelAttribute를 사용하시거나HTMLTagFilterRequestWrapper 클래스에서public Map getParameterMap()를 오버라이드로 필터처리하는 로직을 추가하면 가능. 싱글쿼터의 경우 기본으로 처리 하지 않음. http://www.egovframe.go.kr 참고
1. Decompiler JadClipse 다운로드 http://jadclipse.sourceforge.net/wiki/index.php/Main_Page Jad 다운로드 https://varaneckas.com/jad/ 다운받은 파일은 Eclipse plugins 폴더에 복사해 넣는다. C:${설치경로}\eclipse\plugins\net.sf.jadclipse_3.3.0.jar 이후 cmd 콘솔을 사용해 eclipse 를 아래와 같이 구동한다. > cd \> cd ${설치경로}\eclipse\eclipse -clean 1.1 Window > Preferences 선택General > Editor > File Associations 선택File types:*.class 선택하고Associated edi..
Spring Bean 생성과 소멸시 Method 를 정의 할 수 있다. 기본 Xml 설정파일을 통해 init-method 와 destory-method 구성을 할 수 있다. 그들은 Spring Bean life Cycle 의 일부 이다. 초기화 Method 는 Bean 생성 직후 호출되어지며 소멸 Method 는 killing the Bean 전에 호출된다. 하지만 열거한 interface 를 통한 Callback Method 를 사용하는것은 권장하지 않는다. 대신 Xml 설정을 통해 구현하는데 훨신 유연하기 때문이다. :https://github.com/pratikdimble/Spring_Life_Cycle_Init_Destroy_Using_Annotation :http://nrhan.tistory.c..
설치가 맞는 표현인지는 모르겠으나 자의적 해석이므로 ㅎㅎ 설치에 앞서 gGov 아키텍쳐 구성을 읽어두면 좋을듯 하다. (http://www.egovframe.go.kr/EgovEnvRun.jsp?menu=1&submenu=3&leftsub=1) 일단 다운로드는 http://www.egovframe.go.kr 여기에서 거두절미 하고 그냥 표준프레임워크 통합다운로드 클릭 하고 64bit 버전으로 다운로드. 다운로드 사이즈가 1.5G 에 가깝군요. 다운받는동안 Tomcat8 (8.5.29) 도 다운로드 받아둡니다. 배포내역을 간단하게 정리하자면 Eclipse Neon.3 Release (4.6.3) JAVA 8 Maven 3.3.9 Spring( spring framework 4.2.4 spring secur..
- Total
- Today
- Yesterday
- 3.7.0
- Jad
- init-method
- ContextLoaderListener
- embedded-database
- RequestParam
- jadclise
- egov
- annotation
- In-Memory
- spring
- egovframework
- Decompile
- HSQL
- destory-method
- 전자정부프레임워크
- 표준프레임워크
- hsqldb
- plug-in
- configration
- Eclipse
- HTMLTagFilter
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |