ejb-jar.xml example
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<enterprise-beans>
<!-- ******************************************************************-->
<!-- *********************** BIZ session Start *************************-->
<!-- ******************************************************************-->
<!-- ##################### IHrm_dinner_applBean session Start #################-->
<session>
<description>IHrm_dinner_applBean</description>
<display-name>IHrm_dinner_applBean</display-name>
<ejb-name>IHrm_dinner_applBean</ejb-name>
<local-home>hrm.ejb.biz.IHrm_dinner_applHome</local-home>
<local>hrm.ejb.biz.IHrm_dinner_appl</local>
<ejb-class>hrm.ejb.biz.IHrm_dinner_applBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<!-- Employ Service -->
<session>
<description>IEsCertApplListBean</description>
<display-name>IEsCertApplListBean</display-name>
<ejb-name>IEsCertApplListBean</ejb-name>
<local-home>hrm.ejb.biz.IEsCertApplListHome</local-home>
<local>hrm.ejb.biz.IEsCertApplList</local>
<ejb-class>hrm.ejb.biz.IEsCertApplListBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<description>HrmEsCertAppBean</description>
<display-name>HrmEsCertAppBean</display-name>
<ejb-name>HrmEsCertAppBean</ejb-name>
<local-home>hrm.ejb.biz.HrmEsCertAppHome</local-home>
<local>hrm.ejb.biz.HrmEsCertApp</local>
<ejb-class>hrm.ejb.biz.HrmEsCertAppBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<ejb-local-ref>
<ejb-ref-name>IEsCertApplListBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>hrm.ejb.biz.IEsCertApplListHome</local-home>
<local>hrm.ejb.biz.IEsCertApplList</local>
<ejb-link>IEsCertApplListBean</ejb-link>
</ejb-local-ref>
<ejb-local-ref>
<ejb-ref-name>SysApplAppBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>sys.ejb.biz.SysApplAppHome</local-home>
<local>sys.ejb.biz.SysApplApp</local>
<ejb-link>mseatJAR/enterprise/sys-ejb.jar#SysApplAppBean</ejb-link>
</ejb-local-ref>
</session>
</enterprise-beans>
<!-- ============================================================================-->
<!-- container-transaction -->
<!-- ============================================================================-->
<assembly-descriptor>
<!-- ##################### IHrm_dinner_applBean session container-transaction #####################-->
<container-transaction>
<method>
<ejb-name>IHrm_dinner_applBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ICmPromLangBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ICmPromPrizeBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ICmPromPunishmentBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ICmPromYearBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmWorkTimeBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmOtFixBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmOtFixInstantBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmOtAddBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmDupControlBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmApplBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmShiftManBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripStdInBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripInBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripOutBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripOutDtlBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripOutAdjBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripStdOutBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmCardDataBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmCardDataTempBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmCardDataErrBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmDailyBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmPersonalCardBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmCardExceptionBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ICmPromEduBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IHrm_workrequestBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<!-- benkey end //-->
<!-- 2011.05 IHrmCardApplBean session container-transaction -->
<container-transaction>
<method>
<ejb-name>IHrmCardApplBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
<ejb-jar>
<enterprise-beans>
<!-- ******************************************************************-->
<!-- *********************** BIZ session Start *************************-->
<!-- ******************************************************************-->
<!-- ##################### IHrm_dinner_applBean session Start #################-->
<session>
<description>IHrm_dinner_applBean</description>
<display-name>IHrm_dinner_applBean</display-name>
<ejb-name>IHrm_dinner_applBean</ejb-name>
<local-home>hrm.ejb.biz.IHrm_dinner_applHome</local-home>
<local>hrm.ejb.biz.IHrm_dinner_appl</local>
<ejb-class>hrm.ejb.biz.IHrm_dinner_applBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<!-- Employ Service -->
<session>
<description>IEsCertApplListBean</description>
<display-name>IEsCertApplListBean</display-name>
<ejb-name>IEsCertApplListBean</ejb-name>
<local-home>hrm.ejb.biz.IEsCertApplListHome</local-home>
<local>hrm.ejb.biz.IEsCertApplList</local>
<ejb-class>hrm.ejb.biz.IEsCertApplListBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
<session>
<description>HrmEsCertAppBean</description>
<display-name>HrmEsCertAppBean</display-name>
<ejb-name>HrmEsCertAppBean</ejb-name>
<local-home>hrm.ejb.biz.HrmEsCertAppHome</local-home>
<local>hrm.ejb.biz.HrmEsCertApp</local>
<ejb-class>hrm.ejb.biz.HrmEsCertAppBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<ejb-local-ref>
<ejb-ref-name>IEsCertApplListBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>hrm.ejb.biz.IEsCertApplListHome</local-home>
<local>hrm.ejb.biz.IEsCertApplList</local>
<ejb-link>IEsCertApplListBean</ejb-link>
</ejb-local-ref>
<ejb-local-ref>
<ejb-ref-name>SysApplAppBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>sys.ejb.biz.SysApplAppHome</local-home>
<local>sys.ejb.biz.SysApplApp</local>
<ejb-link>mseatJAR/enterprise/sys-ejb.jar#SysApplAppBean</ejb-link>
</ejb-local-ref>
</session>
</enterprise-beans>
<!-- ============================================================================-->
<!-- container-transaction -->
<!-- ============================================================================-->
<assembly-descriptor>
<!-- ##################### IHrm_dinner_applBean session container-transaction #####################-->
<container-transaction>
<method>
<ejb-name>IHrm_dinner_applBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ICmPromLangBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ICmPromPrizeBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ICmPromPunishmentBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ICmPromYearBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmWorkTimeBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmOtFixBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmOtFixInstantBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmOtAddBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmDupControlBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmApplBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmShiftManBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripStdInBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripInBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripOutBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripOutDtlBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripOutAdjBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmBizTripStdOutBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmCardDataBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmCardDataTempBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmCardDataErrBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmDailyBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmPersonalCardBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IOdmCardExceptionBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>ICmPromEduBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>IHrm_workrequestBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<!-- benkey end //-->
<!-- 2011.05 IHrmCardApplBean session container-transaction -->
<container-transaction>
<method>
<ejb-name>IHrmCardApplBean</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
댓글
댓글 쓰기
질문이나 의견은 요기에 남겨주세요 ^^,,