<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="http://rss.egloos.com/style/blog.xsl" type="text/xsl" media="screen"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
	<title>if ( love.isGone() ) then ...</title>
	<link>http://zoonoo.egloos.com</link>
	<description>It's better to burn out than fade away...</description>
	<language>ko</language>
	<pubDate>Wed, 28 Oct 2009 07:03:10 GMT</pubDate>
	<generator>Egloos</generator>
	<image>
		<title>if ( love.isGone() ) then ...</title>
		<url>http://pds2.egloos.com/logo/200611/10/22/c0059522.jpg</url>
		<link>http://zoonoo.egloos.com</link>
		<width>80</width>
		<height>80</height>
		<description>It's better to burn out than fade away...</description>
	</image>
  	<item>
		<title><![CDATA[ Spring 2.5 servlet mapping - 다른예 ]]> </title>
		<link>http://zoonoo.egloos.com/5154283</link>
		<guid>http://zoonoo.egloos.com/5154283</guid>
		<description>
			<![CDATA[ 
  <p><strong>web.xml<br></strong><br>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>&lt;web-app version="2.5" xmlns="<a href="http://java.sun.com/xml/ns/javaee">http://java.sun.com/xml/ns/javaee</a>"<br>&nbsp;xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"<br>&nbsp;xsi:schemaLocation="<a href="http://java.sun.com/xml/ns/javaee">http://java.sun.com/xml/ns/javaee</a> <a href="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd</a>"&gt;</p><p>&nbsp;&lt;!-- Enables clean URLs with JSP views e.g. /welcome instead of /app/welcome --&gt;<br>&nbsp;&lt;filter&gt;<br>&nbsp;&nbsp;&lt;filter-name&gt;UrlRewriteFilter&lt;/filter-name&gt;<br>&nbsp;&nbsp;&lt;filter-class&gt;org.tuckey.web.filters.urlrewrite.UrlRewriteFilter&lt;/filter-class&gt;<br>&nbsp;&lt;/filter&gt;</p><p>&nbsp;&lt;filter-mapping&gt;<br>&nbsp;&nbsp;&lt;filter-name&gt;UrlRewriteFilter&lt;/filter-name&gt;<br>&nbsp;&nbsp;&lt;url-pattern&gt;/*&lt;/url-pattern&gt;<br>&nbsp;&lt;/filter-mapping&gt;<br>&nbsp;&nbsp;<br>&nbsp;&lt;!-- Handles all requests into the application --&gt;<br>&nbsp;&lt;servlet&gt;<br>&nbsp;&nbsp;&lt;servlet-name&gt;Spring MVC Dispatcher Servlet&lt;/servlet-name&gt;<br>&nbsp;&nbsp;&lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;<br>&nbsp;&nbsp;&lt;init-param&gt;<br>&nbsp;&nbsp;&nbsp;&lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;<br>&nbsp;&nbsp;&nbsp;&lt;param-value&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;/WEB-INF/spring/*.xml<br>&nbsp;&nbsp;&nbsp;&lt;/param-value&gt;<br>&nbsp;&nbsp;&lt;/init-param&gt;<br>&nbsp;&nbsp;&lt;load-on-startup&gt;1&lt;/load-on-startup&gt;<br>&nbsp;&lt;/servlet&gt;<br>&nbsp;&nbsp;<br>&nbsp;&lt;!-- Maps all /app requests to the DispatcherServlet for handling --&gt;<br>&nbsp;&lt;servlet-mapping&gt;<br>&nbsp;&nbsp;&lt;servlet-name&gt;Spring MVC Dispatcher Servlet&lt;/servlet-name&gt;<br>&nbsp;&nbsp;&lt;url-pattern&gt;/app/*&lt;/url-pattern&gt;<br>&nbsp;&lt;/servlet-mapping&gt;<br>&nbsp;<br>&lt;/web-app&gt;<br>-----------------------------------------------------------------------------<br><strong>mvc-config.xml</strong><br><br>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>&lt;beans xmlns="<a href="http://www.springframework.org/schema/beans">http://www.springframework.org/schema/beans</a>"<br>&nbsp;xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"<br>&nbsp;xmlns:context="<a href="http://www.springframework.org/schema/context">http://www.springframework.org/schema/context</a>"<br>&nbsp;xsi:schemaLocation="<br>&nbsp;&nbsp;<a href="http://www.springframework.org/schema/beans">http://www.springframework.org/schema/beans</a> <a href="http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">http://www.springframework.org/schema/beans/spring-beans-2.5.xsd</a><br>&nbsp;&nbsp;<a href="http://www.springframework.org/schema/context">http://www.springframework.org/schema/context</a> <a href="http://www.springframework.org/schema/context/spring-context-2.5.xsd">http://www.springframework.org/schema/context/spring-context-2.5.xsd</a>"&gt;</p><p>&nbsp;&lt;!-- HANDLER MAPPING RULES --&gt;<br>&nbsp;<br>&nbsp;&lt;!-- Maps requests to @Controllers based on @RequestMapping("path") annotation values<br>&nbsp;&nbsp; If no annotation-based path mapping is found, Spring MVC proceeds to the next HandlerMapping (order=2 below). --&gt;<br>&nbsp;&lt;!-- 실제로 이 예제에선 사용되지 않는다. --&gt;<br>&nbsp;&lt;bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"&gt;<br>&nbsp;&nbsp;&lt;property name="order" value="1" /&gt;<br>&nbsp;&lt;/bean&gt;<br>&nbsp;<br>&nbsp;&lt;!-- Maps requests to @Controllers based on controller class name convention; e.g. a request for /hotels or a /hotels sub-resource maps to HotelsController<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If no class mapping is found, Spring MVC sends a 404 response and logs a pageNotFound warning. --&gt;<br>&nbsp;&nbsp;&nbsp; &lt;!-- 예제는 이것을 사용 --&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&lt;bean class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping"&gt;<br>&nbsp;&nbsp;&lt;property name="order" value="2" /&gt;<br>&nbsp;&lt;/bean&gt;</p><p>&nbsp;&lt;!-- REGISTERED HANDLER TYPES --&gt;</p><p>&nbsp;&lt;!-- Enables annotated @Controllers; responsible for invoking an annotated POJO @Controller when one is mapped. --&gt;<br>&nbsp;&lt;bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter" /&gt;</p><p>&nbsp;&lt;!--&nbsp; VIEW RESOLUTION AND RENDERING --&gt;<br>&nbsp;<br>&nbsp;&lt;!-- Resolves view names to protected .jsp resources within the /WEB-INF directory --&gt;<br>&nbsp;&lt;bean class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;<br>&nbsp;&nbsp;&lt;property name="prefix" value="/WEB-INF/pages/"/&gt;<br>&nbsp;&nbsp;&lt;property name="suffix" value=".jsp"/&gt;<br>&nbsp;&lt;/bean&gt;<br>&nbsp;<br>&lt;/beans&gt;<br>-----------------------------------------------------------------------------<br><strong>app-config.xml</strong><br><br>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>&lt;beans xmlns="<a href="http://www.springframework.org/schema/beans">http://www.springframework.org/schema/beans</a>"<br>&nbsp;xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"<br>&nbsp;xmlns:context="<a href="http://www.springframework.org/schema/context">http://www.springframework.org/schema/context</a>"<br>&nbsp;xsi:schemaLocation="<br>&nbsp;&nbsp;<a href="http://www.springframework.org/schema/beans">http://www.springframework.org/schema/beans</a><br>&nbsp;&nbsp;<a href="http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">http://www.springframework.org/schema/beans/spring-beans-2.5.xsd</a><br>&nbsp;&nbsp;<a href="http://www.springframework.org/schema/context">http://www.springframework.org/schema/context</a><br>&nbsp;&nbsp;<a href="http://www.springframework.org/schema/context/spring-context-2.5.xsd">http://www.springframework.org/schema/context/spring-context-2.5.xsd</a>"&gt;<br>&nbsp;<br>&nbsp;&lt;!-- Scans within the base package of the application for @Components to configure as beans --&gt;<br>&nbsp;&lt;!-- base-pacakage 의 하위 패키지에서 어노테이션을 사용한 클래스를 자동으로 등록한다<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 따라서 &lt;bean id=".." class=".."/&gt;를 설정할 필요가 없다.<br>&nbsp; --&gt;<br>&nbsp;&lt;context:component-scan base-package="com.zoo.bookstore"/&gt;<br>&nbsp;<br>&lt;/beans&gt;<br><br></p><br/><br/>tag : <a href="/tag/spring" rel="tag">spring</a>			 ]]> 
		</description>
		<category>spring</category>

		<comments>http://zoonoo.egloos.com/5154283#comments</comments>
		<pubDate>Wed, 28 Oct 2009 06:40:55 GMT</pubDate>
		<dc:creator>CHillo</dc:creator>
	</item>
	<item>
		<title><![CDATA[ Grails URL Mapping ]]> </title>
		<link>http://zoonoo.egloos.com/5154279</link>
		<guid>http://zoonoo.egloos.com/5154279</guid>
		<description>
			<![CDATA[ 
  Grails는 Controller에 package를 지정하여 사용할 수 없는 단점이 있다.<br>따라서 RESTFul 타입의 개발이나 기능별 모듈화가 필요할 경우에는<br>URL 매핑을 사용하여 해결하여야한다.<br>(사용예는 아래의 링크를 참조)<a href="http://grails.org/URL+mapping"><br><br>http://grails.org/URL+mapping</a><br/><br/>tag : <a href="/tag/grails" rel="tag">grails</a>			 ]]> 
		</description>
		<category>grails</category>

		<comments>http://zoonoo.egloos.com/5154279#comments</comments>
		<pubDate>Wed, 28 Oct 2009 06:29:47 GMT</pubDate>
		<dc:creator>CHillo</dc:creator>
	</item>
	<item>
		<title><![CDATA[ Spring 2.5 servlet mapping ]]> </title>
		<link>http://zoonoo.egloos.com/5153057</link>
		<guid>http://zoonoo.egloos.com/5153057</guid>
		<description>
			<![CDATA[ 
  <div><b>dispatcher-servlet.xml</b></div><div><br />
</div><div>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</div><div>&lt;beans xmlns="http://www.springframework.org/schema/beans"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; xmlns:p="http://www.springframework.org/schema/p"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; xmlns:aop="http://www.springframework.org/schema/aop"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; xmlns:tx="http://www.springframework.org/schema/tx"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd</div><div>&nbsp;&nbsp; &nbsp; &nbsp; http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd</div><div>http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd"&gt;</div><div><br />
</div><div>&nbsp;&nbsp; &nbsp;&lt;!-- ControllerClassNameHandlerMapping 는 요청 url의 앞부분이 pathPrefix에 해당한다면 basePackage 내의 클래스중 url에 해당하는 controller를 실행한다.&nbsp;</div><div>&nbsp;&nbsp; &nbsp;예를 들어 요청이 /sample/demo.html일 경우 com.springrest.web.controller.demo 패키지의 DemoController를 수행한다. --&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;bean id="demoMapping" class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping"&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="pathPrefix" value="sample"/&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="basePackage" value="com.springrest.web.controller.demo"/&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/bean&gt;</div><div><br />
</div><div>&nbsp;&nbsp; &nbsp;&lt;bean id="adminMapping" class="org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping"&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="pathPrefix" value="admin"/&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="basePackage" value="com.springrest.web.controller.user"/&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/bean&gt;</div><div><br />
</div><div>&nbsp;&nbsp; &nbsp;&lt;!--</div><div>&nbsp;&nbsp; &nbsp;Most controllers will use the ControllerClassNameHandlerMapping above, but</div><div>&nbsp;&nbsp; &nbsp;for the index controller we are using ParameterizableViewController, so we must</div><div>&nbsp;&nbsp; &nbsp;define an explicit mapping for it.</div><div>&nbsp;&nbsp; &nbsp;--&gt;</div><div><br />
</div><div>&nbsp;&nbsp; &nbsp;&lt;bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="mappings"&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;props&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;prop key="index.html"&gt;indexController&lt;/prop&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/props&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/bean&gt;</div><div>&nbsp;&nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;&lt;bean id="viewResolver"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;class="org.springframework.web.servlet.view.InternalResourceViewResolver"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p:prefix="/WEB-INF/jsp/"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p:suffix=".jsp" /&gt;</div><div>&nbsp;&nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp;&lt;bean name="indexController"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;class="org.springframework.web.servlet.mvc.ParameterizableViewController"</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p:viewName="index" /&gt;</div><div><br />
</div><div><br />
</div><div>&nbsp;&nbsp; &nbsp;&lt;!-- ControllerClassNameHandlerMapping 의 영향을 받는다 --&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;bean id="demoController" class="com.springrest.web.controller.demo.DemoController"/&gt;</div><div><br />
</div><div><br />
</div><div>&nbsp;&nbsp; &nbsp;&lt;!-- MultiActionController 사용 예 ../user/list.html --&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;bean id="methodNameResolver" class="org.springframework.web.servlet.mvc.multiaction.InternalPathMethodNameResolver"/&gt;</div><div><br />
</div><div>&nbsp;&nbsp; &nbsp;&lt;bean id="userController" class="com.springrest.web.controller.user.UserController"&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;!-- 기본적으로 프로퍼티명에 해당하는 bean id가 있을경우 자동으로 바인딩된다 --&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;!--property name="methodNameResolver" ref="methodNameResolver"/--&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/bean&gt;</div><div><br />
</div><div>&nbsp;&nbsp; &nbsp;&lt;!-- 요청url에 따라 자동으로 view name을 찾는다. 이 경우 ../user/add.html 의 경우 /WEB-INF/jsp/admin/user/add.jsp 로 이동 --&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;bean id="viewNameTranslator" class="org.springframework.web.servlet.view.DefaultRequestToViewNameTranslator"/&gt;</div><div>&lt;/beans&gt;</div><div><br />
</div><div><b>applicationContext.xml</b></div><div><br />
</div><div><b><div><span class="Apple-style-span" style="font-weight: normal;">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&lt;beans xmlns="http://www.springframework.org/schema/beans"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; xmlns:p="http://www.springframework.org/schema/p"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; xmlns:aop="http://www.springframework.org/schema/aop"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; xmlns:tx="http://www.springframework.org/schema/tx"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd"&gt;</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp;</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp;&lt;!--bean id="propertyConfigurer"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p:location="/WEB-INF/jdbc.properties" /&gt;</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp;</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp;&lt;bean id="dataSource"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;class="org.springframework.jdbc.datasource.DriverManagerDataSource"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p:driverClassName="${jdbc.driverClassName}"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p:url="${jdbc.url}"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p:username="${jdbc.username}"</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;p:password="${jdbc.password}" /--&gt;</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp;</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&nbsp;&nbsp; &nbsp;&lt;!-- ADD PERSISTENCE SUPPORT HERE (jpa, hibernate, etc) --&gt;</span></div><div><span class="Apple-style-span" style="font-weight: normal;"><br />
</span></div><div><span class="Apple-style-span" style="font-weight: normal;"><br />
</span></div><div><span class="Apple-style-span" style="font-weight: normal;">&lt;/beans&gt;</span></div><div><span class="Apple-style-span" style="font-weight: normal;"><br />
</span></div><div><span class="Apple-style-span" style="font-weight: normal;"><br />
</span></div><div>web.xml</div><div><span class="Apple-style-span" style="font-weight: normal;"><br />
</span></div><div><span class="Apple-style-span" style="font-weight: normal;"><div>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</div><div>&lt;web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;context-param&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;param-value&gt;/WEB-INF/applicationContext.xml&lt;/param-value&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/context-param&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;listener&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;listener-class&gt;org.springframework.web.context.ContextLoaderListener&lt;/listener-class&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/listener&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;servlet&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;load-on-startup&gt;2&lt;/load-on-startup&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/servlet&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;servlet-mapping&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;servlet-name&gt;dispatcher&lt;/servlet-name&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;url-pattern&gt;*.html&lt;/url-pattern&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/servlet-mapping&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;session-config&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;session-timeout&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;30</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/session-timeout&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/session-config&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;welcome-file-list&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;welcome-file&gt;redirect.jsp&lt;/welcome-file&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/welcome-file-list&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/web-app&gt;</div><div><br />
</div></span></div></b></div><br/><br/>tag : <a href="/tag/spring" rel="tag">spring</a>			 ]]> 
		</description>
		<category>spring</category>

		<comments>http://zoonoo.egloos.com/5153057#comments</comments>
		<pubDate>Mon, 26 Oct 2009 16:46:32 GMT</pubDate>
		<dc:creator>CHillo</dc:creator>
	</item>
	<item>
		<title><![CDATA[ RoR, Grails, Zero, Spring Roo... ]]> </title>
		<link>http://zoonoo.egloos.com/5152455</link>
		<guid>http://zoonoo.egloos.com/5152455</guid>
		<description>
			<![CDATA[ 
  <span style="FONT-SIZE: 130%"><strong>RoR&nbsp;</strong></span><div>&nbsp;&nbsp;- <strong>검증된 프레임워크, 가볍고 빠르며 개발이 용이하다<br></strong>&nbsp;&nbsp;- 훌륭한 IDE 제공 : Aptana (Eclipse기반)&nbsp;<a href="http://www.radrails.org/" target="_blank">http://www.radrails.org/</a></div><div><br><br></div><div><span style="FONT-SIZE: 130%"><strong>Grails</strong></span></div><div>&nbsp;&nbsp;- <strong>꾸준한 발전, Java기반 Rad프레임워크중 현재 가장 유용하다</strong>.<br>&nbsp; - groovy, gsp등 스크립트 언어의 사용으로 개발이 빠르다.</div><div>&nbsp;&nbsp;- Rails와 사용법이 비슷하다.<br>&nbsp; - <strong>controller나 page에 package/sub-folder를 사용할 수 없어 모듈화된 대형프로그램 개발에는 부적합.</strong></div><div>&nbsp;&nbsp;- IDE는 보통 :&nbsp;</div><div>&nbsp;&nbsp; &nbsp;STS Integration (Eclipse기반)&nbsp;<a href="http://www.grails.org/STS+Integration">http://www.grails.org/STS+Integration</a></div><div>&nbsp;&nbsp; &nbsp;NetBeans Integration&nbsp;<a href="http://www.grails.org/NetBeans+Integration">http://www.grails.org/NetBeans+Integration</a></div><div><br><br><div><span style="FONT-SIZE: 130%"><strong>Roo</strong></span></div><div>&nbsp;&nbsp;- <strong>Grails의 단점을 개선하였다 - 패키지 사용가능, 사용이 용이한 자체콘솔, maven 통합.<br></strong>&nbsp; - Spring의 대부분의 모듈이 통합되어있다 (Spring-Security등)<br>&nbsp;&nbsp;- <strong>아직 rc버전이다.</strong><br></div></div><div><br><br><span style="FONT-SIZE: 130%"><strong>Zero (sMesh)</strong></span></div><div>&nbsp;&nbsp;- <strong>가장빠른 개발 속도, 훌륭한 아키텍처 및 지원 - RESTFul service 등.<br></strong>&nbsp; - groovy, php 등 다중 스크립트 언어 사용가능</div><div><strong>&nbsp;&nbsp;- 완전한 오픈소스가 아니다</strong></div><div>&nbsp;&nbsp;- 웹기반 통합 IDE 제공&nbsp;</div><div><br><br></div><div><strong><br></strong>&nbsp;</div><div><br></div><div><br></div><div><br></div><br/><br/>tag : <a href="/tag/RoR" rel="tag">RoR</a>,&nbsp;<a href="/tag/Grails" rel="tag">Grails</a>,&nbsp;<a href="/tag/Zero" rel="tag">Zero</a>,&nbsp;<a href="/tag/Roo" rel="tag">Roo</a>			 ]]> 
		</description>
		<category>RoR</category>
		<category>Grails</category>
		<category>Zero</category>
		<category>Roo</category>

		<comments>http://zoonoo.egloos.com/5152455#comments</comments>
		<pubDate>Mon, 26 Oct 2009 05:08:14 GMT</pubDate>
		<dc:creator>CHillo</dc:creator>
	</item>
	<item>
		<title><![CDATA[ Hibernate, Log4J 설정 예 ]]> </title>
		<link>http://zoonoo.egloos.com/5151307</link>
		<guid>http://zoonoo.egloos.com/5151307</guid>
		<description>
			<![CDATA[ 
  <div><b>Hibernate</b></div><div><br />
</div><div>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</div><div>&lt;!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"&gt;</div><div>&lt;hibernate-configuration&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;session-factory&gt;</div><div><font class="Apple-style-span" color="#999999">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;!--</font></div><div><font class="Apple-style-span" color="#999999">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.dialect"&gt;org.hibernate.dialect.DerbyDialect&lt;/property&gt;</font></div><div><font class="Apple-style-span" color="#999999">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.connection.driver_class"&gt;org.apache.derby.jdbc.ClientDriver&lt;/property&gt;</font></div><div><font class="Apple-style-span" color="#999999">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.connection.url"&gt;jdbc:derby://localhost:1527/pm6&lt;/property&gt;</font></div><div><font class="Apple-style-span" color="#999999">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.connection.username"&gt;app&lt;/property&gt;</font></div><div><font class="Apple-style-span" color="#999999">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.connection.password"&gt;app&lt;/property&gt;</font></div><div><font class="Apple-style-span" color="#999999">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;--&gt;</font></div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.session_factory_name"&gt;hibernate/SessionFactory&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.connection.datasource"&gt;java:comp/env/PM6-DS&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.dialect"&gt;org.hibernate.dialect.DerbyDialect&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.show_sql"&gt;true&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.format_sql"&gt;true&lt;/property&gt;</div><div><br />
</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.transaction.factory_class"&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;org.hibernate.transaction.CMTTransactionFactory &nbsp; &nbsp; &nbsp; &nbsp;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.transaction.manager_lookup_class"&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;org.hibernate.transaction.SunONETransactionManagerLookup</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="jta.UserTransaction"&gt;java:comp/UserTransaction&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.current_session_context_class"&gt;jta&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.transaction.auto_close_session"&gt;true&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&lt;property name="hibernate.transaction.flush_before_completion"&gt;true&lt;/property&gt;</div><div>&nbsp;&nbsp; &nbsp;&lt;/session-factory&gt;</div><div><br />
</div><div>&nbsp;&nbsp; &nbsp;....</div><div><br />
</div><div>&lt;/hibernate-configuration&gt;</div><div><br />
</div><div><br />
</div><div>Log4J</div><div><br />
</div><div><div>### direct log messages to stdout ###</div><div>log4j.appender.stdout=org.apache.log4j.ConsoleAppender</div><div>log4j.appender.stdout.Target=System.out</div><div>log4j.appender.stdout.layout=org.apache.log4j.PatternLayout</div><div>log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %c{1}:%L - %m%n</div><div><br />
</div><div>### set log levels - for more verbose logging change 'info' to 'debug' ###</div><div><br />
</div><div>log4j.rootLogger=warn, stdout</div><div><br />
</div><div>log4j.logger.org.hibernate=info</div><div>#log4j.logger.org.hibernate=debug</div><div><br />
</div><div>### log HQL query parser activity</div><div>#log4j.logger.org.hibernate.hql.ast.AST=debug</div><div><br />
</div><div>### log just the SQL</div><div>#log4j.logger.org.hibernate.SQL=debug</div><div><br />
</div><div>### log JDBC bind parameters ###</div><div>log4j.logger.org.hibernate.type=info</div><div>#log4j.logger.org.hibernate.type=debug</div><div><br />
</div><div>### log schema export/update ###</div><div>log4j.logger.org.hibernate.tool.hbm2ddl=debug</div><div><br />
</div><div>### log HQL parse trees</div><div>#log4j.logger.org.hibernate.hql=debug</div><div><br />
</div><div>### log cache activity ###</div><div>#log4j.logger.org.hibernate.cache=debug</div><div><br />
</div><div>### log transaction activity</div><div>#log4j.logger.org.hibernate.transaction=debug</div><div><br />
</div><div>### log JDBC resource acquisition</div><div>#log4j.logger.org.hibernate.jdbc=debug</div><div><br />
</div><div>### enable the following line if you want to track down connection ###</div><div>### leakages when using DriverManagerConnectionProvider ###</div><div>#log4j.logger.org.hibernate.connection.DriverManagerConnectionProvider=trace</div><div><br />
</div></div>			 ]]> 
		</description>

		<comments>http://zoonoo.egloos.com/5151307#comments</comments>
		<pubDate>Sat, 24 Oct 2009 22:16:36 GMT</pubDate>
		<dc:creator>CHillo</dc:creator>
	</item>
	<item>
		<title><![CDATA[ GlassFish 관련 Articles ]]> </title>
		<link>http://zoonoo.egloos.com/5150489</link>
		<guid>http://zoonoo.egloos.com/5150489</guid>
		<description>
			<![CDATA[ 
  <a href="http://weblogs.java.net/blog/sekhar/archive/2009/03/weblogic_to_gla.html">http://weblogs.java.net/blog/sekhar/archive/2009/03/weblogic_to_gla.html</a>&nbsp;- WebLogic에서 GlassFish로 마이그레이션<br/><br/>tag : <a href="/tag/GlassFish" rel="tag">GlassFish</a>			 ]]> 
		</description>
		<category>GlassFish</category>

		<comments>http://zoonoo.egloos.com/5150489#comments</comments>
		<pubDate>Fri, 23 Oct 2009 18:55:18 GMT</pubDate>
		<dc:creator>CHillo</dc:creator>
	</item>
	<item>
		<title><![CDATA[ Hibernate 관련 Articles ]]> </title>
		<link>http://zoonoo.egloos.com/5150196</link>
		<guid>http://zoonoo.egloos.com/5150196</guid>
		<description>
			<![CDATA[ 
  <a href="http://www.techfaq360.com/tutorial/hibernate.jsp">http://www.techfaq360.com/tutorial/hibernate.jsp</a>&nbsp;-&nbsp;Hibernate Tutorial with Code Examples<div><a href="https://www.hibernate.org/328.html">https://www.hibernate.org/328.html</a>&nbsp;Generic DAO</div><div><a href="https://www.hibernate.org/43.html">https://www.hibernate.org/43.html</a>&nbsp;Open Session in View</div><div><a href="https://www.hibernate.org/42.html">https://www.hibernate.org/42.html</a>&nbsp;Sessions &amp; Transactions</div><div><a href="http://docs.jboss.org/hibernate/stable/core/reference/en/html/tutorial.html#tutorial-firstapp-configuration">http://docs.jboss.org/hibernate/stable/core/reference/en/html/tutorial.html#tutorial-firstapp-configuration</a>&nbsp;Tutorial (configuration)</div><br/><br/>tag : <a href="/tag/hibernate" rel="tag">hibernate</a>			 ]]> 
		</description>
		<category>hibernate</category>

		<comments>http://zoonoo.egloos.com/5150196#comments</comments>
		<pubDate>Fri, 23 Oct 2009 13:05:28 GMT</pubDate>
		<dc:creator>CHillo</dc:creator>
	</item>
	<item>
		<title><![CDATA[ EJB에서 Hibernate 사용시 주의사항. ]]> </title>
		<link>http://zoonoo.egloos.com/5150176</link>
		<guid>http://zoonoo.egloos.com/5150176</guid>
		<description>
			<![CDATA[ 
  <b>1. SessionFactory는 JNDI를 통해 활용한다.</b><br />
<div><br />
</div><div>hibernate.cfg 파일의 session-factory 태그에 name 속성이 있을 경우&nbsp;</div><div>자동으로 JNDI에 등록된다.</div><div><br />
</div><div>&lt;session-factory name="java:hibernate/SessionFactory"&gt;</div><div><br />
</div><div>이후 JNDI 룩업을 통해 활용한다. (HibernateUtil 클래스를 생성하면 편리함)</div><div><br />
</div><div>...</div><div><div>Context ctx = new InitialContext();</div><div>SessionFactory sf = &nbsp;(SessionFactory) ctx.lookup("java:hibernate/SessionFactory");</div><div>Session ss = sf.getCurrentSession();</div><div>...</div><div><br />
</div><div><br />
</div><div><b>2. Session은 SessionFactory.getCurrentSession()으로 얻는다.</b></div><div><b><br />
</b></div><div>openCurrentSession() 이나 commit(), close()를 사용하지 않고 컨테이너에서 관리하도록 한다.</div></div><br/><br/>tag : <a href="/tag/hibernate" rel="tag">hibernate</a>			 ]]> 
		</description>
		<category>hibernate</category>

		<comments>http://zoonoo.egloos.com/5150176#comments</comments>
		<pubDate>Fri, 23 Oct 2009 12:54:35 GMT</pubDate>
		<dc:creator>CHillo</dc:creator>
	</item>
	<item>
		<title><![CDATA[ Hibernate 설정 관련 FAQ ]]> </title>
		<link>http://zoonoo.egloos.com/5150124</link>
		<guid>http://zoonoo.egloos.com/5150124</guid>
		<description>
			<![CDATA[ 
  <span class="Apple-style-span" style="font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 11px; line-height: normal; "><h2 style="color: rgb(0, 0, 0); font: normal normal normal 16px/normal Helvetica, Arial, sans-serif; font-weight: bold; margin-top: 15px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span style="color: rgb(204, 0, 0); ">Config</span>uration</h2><a name="A13"></a><h3 style="color: rgb(0, 0, 0); font: normal normal bold 12px/normal Helvetica, Arial, sans-serif; margin-top: 15px; margin-bottom: -5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Whats the easiest way to&nbsp;<span style="color: rgb(204, 0, 0); ">config</span>ure&nbsp;<span style="color: rgb(204, 0, 0); ">Hibernate</span>&nbsp;in a plain Java application (without using JNDI)?</h3><p style="line-height: 14px; ">Build a&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); ">SessionFactory</tt>&nbsp;from a&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); "><span style="color: rgb(204, 0, 0); ">Config</span>uration</tt>&nbsp;object. See the tutorials in the reference documentation.</p><a name="A14"></a><h3 style="color: rgb(0, 0, 0); font: normal normal bold 12px/normal Helvetica, Arial, sans-serif; margin-top: 15px; margin-bottom: -5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">Whats the easiest way to&nbsp;<span style="color: rgb(204, 0, 0); ">config</span>ure&nbsp;<span style="color: rgb(204, 0, 0); ">Hibernate</span>&nbsp;in a&nbsp;<span style="color: rgb(204, 0, 0); ">J2EE</span>&nbsp;application (using JNDI)?</h3><p style="line-height: 14px; ">Build a&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); ">SessionFactory</tt>&nbsp;from a&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); "><span style="color: rgb(204, 0, 0); ">Config</span>uration</tt>&nbsp;object. See the tutorials in the reference documentation. Specify a name for the&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); ">SessionFactory</tt>&nbsp;in the&nbsp;<span style="color: rgb(204, 0, 0); ">config</span>uration file, so it will be bound automatically to this name in JNDI.</p><a name="A15"></a><h3 style="color: rgb(0, 0, 0); font: normal normal bold 12px/normal Helvetica, Arial, sans-serif; margin-top: 15px; margin-bottom: -5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">How do I&nbsp;<span style="color: rgb(204, 0, 0); ">config</span>ure&nbsp;<span style="color: rgb(204, 0, 0); ">Hibernate</span>&nbsp;as a JMX service in JBoss</h3><p style="line-height: 14px; ">See&nbsp;<a href="https://www.hibernate.org/66.html" style="text-decoration: none; color: rgb(136, 136, 136); ">Using&nbsp;<span style="color: rgb(204, 0, 0); ">Hibernate</span>&nbsp;with JBoss</a>.</p><a name="A16"></a><h3 style="color: rgb(0, 0, 0); font: normal normal bold 12px/normal Helvetica, Arial, sans-serif; margin-top: 15px; margin-bottom: -5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">How do I use&nbsp;<span style="color: rgb(204, 0, 0); ">Hibernate</span>&nbsp;in an EJB 2.1 session bean?</h3><blockquote style="font-family: sans-serif, Arial, Helvetica; font-size: 11px; margin-top: 0px; margin-right: 0px; "><p style="line-height: 14px; ">1. Look up the SessionFactory in JNDI.</p><p style="line-height: 14px; ">2. Call getCurrentSession() to get a Session for the current transaction.</p><p style="line-height: 14px; ">3. Do your work.</p><p style="line-height: 14px; ">4. Don't commit or close anything, let the container manage the transaction.</p></blockquote><a name="A17"></a><h3 style="color: rgb(0, 0, 0); font: normal normal bold 12px/normal Helvetica, Arial, sans-serif; margin-top: 15px; margin-bottom: -5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">How do I&nbsp;<span style="color: rgb(204, 0, 0); ">config</span>ure logging?</h3><p style="line-height: 14px; "><span style="color: rgb(204, 0, 0); ">Hibernate</span>&nbsp;uses the Apache commons-logging abstraction layer to support whichever logging framework you hapen to be using. See</p><p style="line-height: 14px; "><a href="http://jakarta.apache.org/commons/logging.html" style="text-decoration: none; color: rgb(0, 94, 182); ">http://jakarta.apache.org/commons/logging.html</a></p><p style="line-height: 14px; ">To&nbsp;<span style="color: rgb(204, 0, 0); ">config</span>ure log4j you need to do two things:</p><blockquote style="font-family: sans-serif, Arial, Helvetica; font-size: 11px; margin-top: 0px; margin-right: 0px; "><p style="line-height: 14px; ">1. put log4j.jar in your classpath</p><p style="line-height: 14px; ">2. put log4j.properties in your classpath</p></blockquote><p style="line-height: 14px; ">There is an example&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); ">log4j.properties</tt>&nbsp;in the&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); "><span style="color: rgb(204, 0, 0); ">hibernate</span>-x.x</tt>&nbsp;directory. Just change&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); ">INFO</tt>&nbsp;to&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); ">DEBUG</tt>&nbsp;to see more messages (and move it into the classpath).</p><p style="line-height: 14px; ">To use JDK1.4 logging, do three things:</p><blockquote style="font-family: sans-serif, Arial, Helvetica; font-size: 11px; margin-top: 0px; margin-right: 0px; "><p style="line-height: 14px; ">1. remove log4j.jar from the classpath</p></blockquote><blockquote style="font-family: sans-serif, Arial, Helvetica; font-size: 11px; margin-top: 0px; margin-right: 0px; "><p style="line-height: 14px; ">2. run under JDK1.4 ;)</p></blockquote><blockquote style="font-family: sans-serif, Arial, Helvetica; font-size: 11px; margin-top: 0px; margin-right: 0px; "><p style="line-height: 14px; ">3.&nbsp;<span style="color: rgb(204, 0, 0); ">config</span>ure logging via the properties file specified by the&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); ">java.util.logging.<span style="color: rgb(204, 0, 0); ">config</span>.file</tt>&nbsp;system property (this property defaults to&nbsp;<tt style="font-size: 11px; font-family: monospace; color: rgb(0, 0, 0); ">$JAVA_HOME/jre/lib/logging.properties</tt>)</p></blockquote><a name="A18"></a><h3 style="color: rgb(0, 0, 0); font: normal normal bold 12px/normal Helvetica, Arial, sans-serif; margin-top: 15px; margin-bottom: -5px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">How do I&nbsp;<span style="color: rgb(204, 0, 0); ">config</span>ure the cache?</h3><p style="line-height: 14px; ">See the Performance Tuning chapter in the reference documentation.</p></span><br/><br/>tag : <a href="/tag/hibernate" rel="tag">hibernate</a>,&nbsp;<a href="/tag/log4j" rel="tag">log4j</a>			 ]]> 
		</description>
		<category>hibernate</category>
		<category>log4j</category>

		<comments>http://zoonoo.egloos.com/5150124#comments</comments>
		<pubDate>Fri, 23 Oct 2009 12:15:59 GMT</pubDate>
		<dc:creator>CHillo</dc:creator>
	</item>
	<item>
		<title><![CDATA[ commons-logging, log4j 관련 링크 ]]> </title>
		<link>http://zoonoo.egloos.com/5149649</link>
		<guid>http://zoonoo.egloos.com/5149649</guid>
		<description>
			<![CDATA[ 
  <a href="http://jacking75.cafe24.com/Log4J/"><b>http://jacking75.cafe24.com/Log4J/</b></a><b>&nbsp;- log4j 설명</b><div><div><a href="http://wiki.apache.org/logging-log4j/Log4jXmlFormat"><b>http://wiki.apache.org/logging-log4j/Log4jXmlFormat</b></a><b>&nbsp;- log4j.xml 설명</b><br />
<div><a href="http://log4e.jayefem.de/content/view/35/31/">http://log4e.jayefem.de/content/view/35/31/</a>&nbsp;- commons logging / jdk 1.4 logger 연동</div><div><a href="http://commons.apache.org/logging/guide.html#Quick Start">http://commons.apache.org/logging/guide.html#Quick Start</a>&nbsp;/ commons logging 설명<br />
<div><br />
</div></div></div></div><br/><br/>tag : <a href="/tag/log4j" rel="tag">log4j</a>,&nbsp;<a href="/tag/commons-logging" rel="tag">commons-logging</a>			 ]]> 
		</description>
		<category>log4j</category>
		<category>commons-logging</category>

		<comments>http://zoonoo.egloos.com/5149649#comments</comments>
		<pubDate>Fri, 23 Oct 2009 01:19:51 GMT</pubDate>
		<dc:creator>CHillo</dc:creator>
	</item>
</channel>
</rss>
