JEUS 5점대에서는 기존에 servlet_engine에 등록되던 Startup class 가 JEUS Manager의 <lifecycle-invocation> 으로 변경되었습니다. 등록하는 방법은 아래와 같습니다.
JEUS 3.x 에서는 container.xml에
<StartupClass>
<StartupMethod>
ServletThreadInfo:: startup (java.lang.String)</StartupMethod>
<StartupParameters>chyeo_servlet_engine1</StartupParameters>
</StartupClass>
<ShutdownClass>
<ShutdownMethod>ServletThreadInfo::shutdown()</ShutdownMethod>
<ShutdownParameters></ShutdownParameters>
</ShutdownClass>
JEUS 4.x 에서는 WEBMain.xml에
<startup-class>
<startup-method>
ServletThreadInfo:: startup (java.lang.String)</startup-method>
<startup-parameter>chyeo_servlet_engine1</startup-parameter>
</startup-class>
<shutdown-class>
<shutdown-method>ServletThreadInfo::shutdown()</shutdown-method>
<shutdown-parameter></shutdown-parameter>
</shutdown-class>
</startup-class>
JEUS 5.x 에서는 JEUSMain.xml에
<lifecycle-invocation>
<class-name>ServletThreadInfo</class-name>
<invocation>
<invocation-method>
<method-name>startup</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</invocation-method>
<invocation-argument>chyeo_servlet_engine1</invocation-argument>
<invocation-type>BOOT</invocation-type>
</invocation>
</lifecycle-invocation>
'1. 미들웨어이야기 > 05. 상용미들웨어' 카테고리의 다른 글
WebtoB JEUS 연동 (0) | 2009.06.05 |
---|---|
JEUS Class Loader (0) | 2009.06.05 |
DB2 Net Driver 와 App Driver (0) | 2009.06.05 |
Oracle oci 와 thin 간단 비교 (0) | 2009.06.05 |
JEUS가 사용하는 JDBC Driver Type (0) | 2009.06.05 |