Tuesday, February 2, 2010

WLI processes: some useful configuration

in build/processoutput/WEB-INF you will find:

wli-processes.xml

with things like:

<proc:ProcessManifest xmlns:proc="http://www.bea.com/wli/management/processmanifest">
    <proc:project name="ACME_INTEG_WEB">
        <proc:ProcessDefinitions>
            <proc:Process ejbModuleName="ACME_INTEG_WEB_WLI_ComponentBeans" URI="/ACME_INTEG_WEB/processes/installmentWithDiscountInfo/ViewInstallmentWithDiscount.java" SVUID="0" stateless="true"/>
            <proc:Process ejbModuleName="ACME_INTEG_WEB_WLI_ComponentBeans" URI="/ACME_INTEG_WEB/processes/ViewMonthlyChargesProcess.java" SVUID="0" stateless="true"/>
            <proc:Process ejbModuleName="ACME_INTEG_WEB_WLI_ComponentBeans" URI="/ACME_INTEG_WEB/processes/UpdatePrepaidSubscriberProcess.java" SVUID="0" stateless="true"/>
            <proc:Process ejbModuleName="ACME_INTEG_WEB_WLI_ComponentBeans" URI="/ACME_INTEG_WEB/processes/UpdatePostpaidSubscriberProcess.java" SVUID="0" stateless="true"/>


and wli-subscriptions.xml

    <man:project projectUri="ACME_INTEG_WEB">
        <man:subscriptions jpdUri="/ACME_INTEG_WEB/processes/installmentWithDiscountInfo/ViewInstallmentWithDiscount.jpd"/>
        <man:subscriptions jpdUri="/ACME_INTEG_WEB/processes/ViewMonthlyChargesProcess.jpd"/>
        <man:subscriptions jpdUri="/ACME_INTEG_WEB/processes/UpdatePrepaidSubscriberProcess.jpd"/>
        <man:subscriptions jpdUri="/ACME_INTEG_WEB/processes/UpdatePostpaidSubscriberProcess.jpd"/>
        <man:subscriptions jpdUri="/ACME_INTEG_WEB/processes/UpdatePostpaidCustomerProcess.jpd"/>
        <man:subscriptions jpdUri="/ACME_INTEG_WEB/processes/UpdateInstallmentDiscount.jpd"/>



and wlw-manifest.xml



    <con:project name="ACME_INTEG_WEB">
        <con:async-request-queue>ACME_INTEG_WEB.queue.AsyncDispatcher</con:async-request-queue>
        <con:async-request-error-queue>ACME_INTEG_WEB.queue.AsyncDispatcher_error</con:async-request-error-queue>
        <con:top-level-component component-type="JPD" class-name="processes.installmentWithDiscountInfo.ViewInstallmentWithDiscount">
            <con:external-callbacks/>
            <con:security-roles>
                <con:role-name/>
            </con:security-roles>
        </con:top-level-component>
        <con:top-level-component component-type="JPD" class-name="processes.ViewMonthlyChargesProcess">
            <con:external-callbacks/>
            <con:security-roles>
                <con:role-name/>
            </con:security-roles>
        </con:top-level-component>

No comments: