LJ Archive

Listing 3. ejb-jar.xml, the Deployment Descriptor for Our Calculator

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

<ejb-jar>
   <description>ATF Calculator Session
    Bean</description>
   <display-name>Calculator Session Bean</display-name>
   <enterprise-beans>
      <session>
         <ejb-name>Calculator</ejb-name>
         <home>il.co.lerner.calculator.

         <remote>il.co.lerner.calculator.

         <ejb-class>il.co.lerner.calculator.

         <session-type>Stateless</session-type>
         <transaction-type>Bean</transaction-type>
      </session>
   </enterprise-beans>
</ejb-jar>
LJ Archive