목록Develop/JAVA (3)
infection...
pom.xml 에 jersy client 추가 com.sun.jersey jersey-client ${jersey.version} maven install 후 import com.sun.jersey.api.client.Client; import com.sun.jersey.api.client.ClientResponse; import com.sun.jersey.api.client.WebResource; Client client = Client.create(); MultivaluedMap queryParams = new MultivaluedMapImpl(); queryParams.add("grant_type", "client_credentials"); WebResource webResource = client..
mybatis를 쓰면서 실행쿼리문을 콘솔에서 확인하고 싶은데 알아본 것은 log4jdbc다.하지만 log4jdbc는 메이븐을 지원하지 않아 좀 더 찾아본 결과 log4jdbc-remix가 있었다. pom.xml org.lazyluke log4jdbc-remix 0.2.7 jdbc.propertiesjdbc.driverClass=net.sf.log4jdbc.DriverSpyjdbc.url=jdbc:log4jdbc:oracle:thin:@..... log4j.xml mybatis-context.xml ... 출처 : https://code.google.com/p/log4jdbc-remix/ 외
[XMPP] Openfire 플러그인 개발하기1. 들어가기 Openfire는 XMPP 프로토콜을 지원하는 메시징 서버이다. 그리고 새로운 기능을 추가하고 Admin Console에 UI를 추가할 수 있도록 플러그인 방식을 지원하고 있다. 이 문서는 Openfire를 리눅스 서버에 설치해서 실행하고 윈도우 환경에서 플러그인을 개발하는 과정을 간략히 정리한 것이다. 2. 개발 및 운영 환경 2.1 개발 환경 Windows 7 (64-bit) JDK 1.6.0_45 (64-bit) Ant 1.7.1 Openfire 3.8.1 소스 2.2 운영 환경 Ubuntu 12.04 LTS (64-bit) JDK 1.6.0_45 (64-bit) Openfire 3.8.1 3. Openfire 설치 및 실행 3.1 다운로드..