Show TOC Start of Content Area

Procedure documentation Editing the ejb-j2ee-engine.xml  Locate the document in its SAP Library structure

Use

Use this procedure to edit the ejb-j2ee-engine.xml deployment descriptor.

Procedure

...

       1.      From the META-INF folder of the HelloJobProject, open the ejb-j2ee-engine.xml.

       2.      Update the file as shown in the sample below.

You have to specify JobQueue as the destination name, and JobQueueFactory as the connection factory name as shown in the code sample below.

Syntax

<?xml version="1.0" encoding="UTF-8"?>

<ejb-j2ee-engine xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

  <enterprise-beans>

    <enterprise-bean>

      <ejb-name>HelloJobBean</ejb-name>

      <jndi-name> HelloJobBean </jndi-name>

      <message-props>

        <destination-name>JobQueue</destination-name>

        <connection-factory-name>JobQueueFactory</connection-factory-name>

      </message-props>

    </enterprise-bean>

  </enterprise-beans>

</ejb-j2ee-engine>

       3.      Save the file.

Next Step

Creating and Editing the job-definition.xml

 

End of Content Area