본문 바로가기

Programming

ExtJs and Flash 웹 페이지를 만들다보면 레이어드 팝업에 대한 고민을 한번쯤 하게된다. 그냥 팝업으로 구현 할것인가? 레이어드 팝업으로 뺄것인가? 더군다나 ExtJS 같은 UI Framework 도입 이전의 과도기 라면 더더욱 구현하기 애매할 것이다. ... ... 두가지 모두 구현해본 결과 결론은 UI Framework 도입 이전 이라도 부분적으로 UI Framework 의 힘들 빌리는것이 좀더 구현하기 수월하다는 것이다. 그만큼 구조화된 레이어드 팝업을 새로 구현하는것은 쉽지 않은 일이다. 잘 정의된 레이어드 팝업이 포함해야할 기능은 아래와 같다. 1. Resizable 2. Flsah 탑재가능 3. Event Driven ExtJS 를 이용해 이러한 기능을 만족시키는 코드는 아래와 같다. Ext.ux.FlashPlu.. 더보기
Log4J 를 이용한 대용량 Logging 방법 DailyRollingAppender 매일매일 Log file 을 날짜를 붙여서 백업하는 방식이다. 나름 쓸만하지만 2003 에서 권한문제로 Rolling 이 잘 되지 않는 경우가 있다. 또, DailyRollingAppender 를 사용할 경우 MaxFileSize MaxBackupIndex 위 두개의 설정을 사용할 수 없다. 사용한다면 (No such property [maxFileSize]) 와 같은 에러를 만나게 될것이다. 위 두설정을 못쓴다면 대용량 서버에서 로그파일이 너무 커지거나 로그파일 개수가 너무 많아지는 결과를 초래 할수 있다. 그래서 꼭 Daily Rolling 이 필요하지 않다면 RollingFileAppender 를 사용하는것도 괜찮을듯 하다. 아래는 예제 이다. # file Ap.. 더보기
Spring DM 튜토리얼 An Introduction to OSGi on the Server Side Spring and OSGi - A Perfect Match? Spring OSGi JIRA [TSE] Spring-OSGI with Adrian Colyer OSGi Alliance 스프링 DM 레퍼런스: http://static.springframework.org/osgi/docs/current/reference/html/ 스프링 DM 서버 사용자 가이드: http://static.springsource.com/projects/dm-server/1.0.x/user-guide/html/index.html 스프링 DM 서버 개발자 가이드: http://static.springsource.com/projects/dm-server/.. 더보기
Tomcat Keystore 파일 설정 및 기타 SSL Certificate Installation :: Tomcat Web Server SSL Certificate Installation in Tomcat Installing The Certificates to the Keystore Download your Certificate files from your DigiCert Web-PKI Customer Account to the directory where your keystore (keystore.key) was saved during the CSR creation process. The certificate must be installed to this exact keystore. If you try to install it to a differ.. 더보기
JAVA 관련 사이트 JDK 1.4 한글 도움말(javastudy) : http://www.javastudy.co.kr/api/api1.4/ J2EE 한글 도움말 : http://xrath.com/devdoc/j2ee-1.3.1/ko/api/index.html servlet api : http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/index.html - 2.3 http://jakarta.apache.org/tomcat/tomcat-5.5-doc/servletapi/index.html - 2.4 jsp2.0 api : http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jspapi/index.html - 2.0 JDK 5.0 한글 도움.. 더보기
Maven plug-in Setting Maven eclipse plug-in 은 M2Eclipse 이다. Software Update URL 은 http://m2eclipse.sonatype.org/update/ 이다. -hazard- 더보기
Eclipse Ganymede 3.4.1 Proxy Setting window > preferences > general > network connections manual proxy configuration 이 설정을 사용하면 help > software updates.. 를 방화벽 내부에서 사용할 수 있다. -hazard- 더보기
Ruby and Regular Expression Ruby 는 Regular Expression 을 지원한다. 생각보다 편리하다. 단, 직관적임은 언제나 놀라운 편리함을 제공하지만 그에대한 대가로, Syntax의 혼동을 불러일으킨다. 주의할것! + -> 1개이상 * -> 0개이상 ? -> 0또는 1개 | -> 좌변 혹은 우변 . -> 한개의 글자 ^ ->줄의 맨앞 $ ->줄의 맨뒤 \A -> 지정된 문자열의 맨처음 \Z -> 지정된 문자열의 맨뒤(\n 없을때) \z -> 지정된 문자열의 맨뒤 \b -> word boundary \B -> nonword boundary 계속... -hazard- 더보기