일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- PHP
- ibsheet
- Ajax
- appspresso
- swingx
- MFC
- oracle
- MySQL
- JDOM
- GPS
- jsr 296
- Google Map
- Spring
- jQuery
- Struts
- 가우스
- tomcat
- JSON
- WebLogic
- rowspan
- 전자정부프레임워크
- Android
- sencha touch
- node.js
- dock
- 선택적조인
- phonegap
- iBATIS
- PLSQL
- Eclipse
- Today
- Total
목록Developement/Java (204)
Where The Streets Have No Name
참고 : http://cafe.naver.com/eclipseplugin/1975 ApplicationWorkbenchWindowAdvisor의 preWindowOpen 메소드에서 아래와 같이 코드를 추가한다. PlatformUI.getPreferenceStore().setValue(IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS, false);
package rcpview; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.widgets.Shell; import org.eclipse.ui.application.ActionBarAdvisor; import org.eclipse.ui.application.IActionBarConfigurer; import org.eclipse.ui.application.IWorkbenchWindowConfigurer; import org.eclipse.ui.application.WorkbenchWindowAdvisor; public class ApplicationWorkbenchWindowAdvisor e..
eclipse에서 tomcat에서 ibatis를 연동해서 개발시 ibatis의 debug로그를 볼려구 log4j를 설정한 경우 tomcat에서 제공하는 무수한 log메세지가 출력되서 문제가 되는 경우가 있습니다. tomcat의 로그만 skip하는 방법이 logger별 level를 지정하는 방법입니다. # SqlMap logging configuration... log4j.logger.com.ibatis=DEBUG log4j.logger.com.ibatis.common.jdbc.SimpleDataSource=DEBUG log4j.logger.com.ibatis.common.jdbc.ScriptRunner=DEBUG log4j.logger.com.ibatis.sqlmap.engine.impl.SqlMapCl..
https://glassfishplugins.dev.java.net/eclipse34/index.html
https://blog.naver.com/goethe1004/80034140150
http://vicki.tistory.com/301 https://glassfishplugins.dev.java.net/eclipse33/index.html https://jax-ws.dev.java.net/guide/Developing_with_Eclipse.html http://okjsp.tistory.com/1165643552
출처 : http://wiki.javajigi.net/pages/viewpage.action?pageId=156 D:\IDE\Eclipse3.1M5_Pollinate\eclipse.exe -vm JAVA_HOME\jre\bin\javaw -vmargs -Xbootclasspath/a:JAVA_HOME\lib\tools.jar eclipse.exe -vm C:\sqldeveloper\jdk\jre\bin\javaw -vmargs -Xbootclasspath/a:C:\sqldeveloper\jdk\lib\tools.jar eclipse.ini를 수정하는 방법 참고 : http://jdcarlflip.blogspot.com/2008/06/fixing-eclipse-ganymede-startup.html htt..
Refactoring Jdbc Programming from chanwook Park
플러그인 개발 기초 학습, Part 1: 기본 요소 http://www.ibm.com/developerworks/kr/library/os-eclipse-plugindev1/index.html 플러그인 개발 기초 학습, Part 2: 리치 클라이언트 애플리케이션 도입하기 http://www.ibm.com/developerworks/kr/library/os-eclipse-plugindev2/index.html 데스크톱, 웹, 모바일 기기 개발을 위해 이클립스 가니메데 사용하기. Part 1 http://www.ibm.com/developerworks/kr/library/tutorial/os-dw-os-eclipse-ganymede-pt1.html 데스크톱, 웹, 모바일 기기 개발을 위해 이클립스 가니메데 사..
http://kr.geocities.com/kwon37xi/xslt_quickly.html
출처 : http://jace.tistory.com/61가끔 클래스를 못 찾는다는 에러로 인해 삽질을 유발시키는 경우가 많다.loader에 의해 로딩된 클래스를 찾을 수 있는 jsp코드를 올려본다. java.io.*, java.util.*, java.text.* "%> "http://www.w3.org/TR/html401/strict.dtd"> 클래스패스 확인 String pkg = null; java.net.URL classUrl = null; pkg = request.getParameter("pkg"); /*-- if (pkg == nul..
http://www.ibm.com/developerworks/kr/library/tutorial/os-dw-os-ecl-easyant.html
1. SQL Map XML Configuration File1.1 elementmaxRequests 동시에 SQL 문장을 수행할 수 있는 최대 쓰레드 개수 이 개수를 초과한 쓰레드가 수행될 경우 해당 쓰레드는 다른 쓰레드의 수행이 종료될 때 까지 block 된다. 보통 이 값은 maxTransactions의 적어도 10배 정도의 값을 설정한다. 그리고 항상 maxSessions, maxTransactions 보다 큰 값을 설정한다. 종종 동시 요청의 최대 값을 줄임으로써 성능을 증가시킬 수 있다. 디폴트는 512이다. maxSessions 해당 시점에 활성화될 수 있는 세션의 개수 세션은 프로그램에 의해 생성되는 명시적 세션, SqlMapClient 인스턴스 사용으로 인한 자동 세션이 있다. maxTra..
출처 : http://blog.naver.com/zhaong/120047184215 mapped statement의 예제 ex) select * from PRODUCT where PRD_ID = ? 복잡한가? 비록 프로임웍이 당신을 위해 많은 것을 하더라도 간단한 select statement를 위해 너무 많은 추가적인 작업을 하는것 처럼 보인다. 하지만 아래와 같은 축소버전으로도 가능하다. ex) select PRD_ID as id, PRD_DESCRIPTION as description from PRODUCT where PRD_ID = #id# 지금 SQL Map을 행위적인 측면에서 보면 이 statement는 정확하게 같지는 않다. 즉 몇가지 다른점을 가진다. 먼저 후자의 statement는 캐쉬를..
출처 : http://openframework.or.kr/Wiki.jsp?page=UseRemapResultsAtt remapResults 속성은 , , 그리고 에서 사용가능하다. 이것은 선택적인 속성이고 디폴트 값은 false이다. remapResults속성은 쿼리가 칼럼을 동적으로 반환할때 true로 셋팅되어야만 한다. 예를 들면, 다음의 쿼리를 보자. SELECT $fieldList$ FROM table 이 예제에서, 비록 테이블은 언제나 같지만 칼럼명의 목록은 동적이다. SELECT * FROM $someTable$ 이 예제에서, 테이블은 다를수 있다. SELECT내 * 의 사용으로, 결과 칼럼이 다를수 있기 때문이다. 결과 세트(result set) 메타데이터가 평범하지 않은것을 알아보기 위한 ..
[SqlMapConfig.xml 로딩] import java.io.Reader; import com.ibatis.sqlmap.client.*; import com.ibatis.common.resources.*; Reader reader = Resources.getResourceAsReader("sql/SqlMapConfig.xml"); SqlMapClient client = SqlMapClientBuilder.buildSqlMapClient(reader); 소스 : src/sql/에 위치시키면 됨(eclipse상에서 소스위치로 설정된곳) [count(*)같은 숫자값을 리턴받을경우] select count(*) as cnt from UIP_EMPLOYEE resultClass="java.lang.Integ..
http://chanwook.tistory.com/588 http://www.onjava.com/pub/a/onjava/2005/08/10/ibatisdao.html
출처 : http://blog.naver.com/warmpark/120019117770 아래(하나, 둘, 셋 - 5.X)와 같이 하면, JSP에 어떠한 코드를 넣지 않아도 UTF-8을 마음대로 사용가능. 물론 EUC-KR만 사용하길 원한다면 UTF-8을 EUC-KR로 바꾸기만 하면 그만!! 작성자 : 박병훈 Test 환경 - Tomcat : 5.0.28 - JDK : J2SE 1.4.X - DB : MySQL4.1.X (DB가 UTF-8을 사용하도록 설정) - JDBC Driver : mysql-connector-java-3.1.11-bin.jar ( jdbc:mysql://localhost/warmpark?characterEncoding=UTF-8 ) 하나. JSP Page설정 : 페이지에 직접 입력된..
1. servlet reloading옵션 tomcat설치 경로에서 /conf/context.xml에서 로 설정한다. 2. servlet invoker tomcat설치 경로에서 /conf/web.xml에서 invoker org.apache.catalina.servlets.InvokerServlet debug 0 2 invoker /servlet/* 의 주석을 해제한다. 6.0에서는 이렇게 추가해야 에러가 없다