1. 미들웨어이야기/05. 상용미들웨어

JEUS Startup class 등록

OSSW(Open Source System SoftWare 2009. 6. 5. 14:07

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