Codice completo

Listato 4. Descrittore XML

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

<ejb-jar id="ejb-jar_1" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd" version="2.1">

  <description><![CDATA[StatelessSessionBean generated by eclipse wtp xdoclet extension.]]></description>
  <display-name>StatelessSessionBean</display-name>
  
  <enterprise-beans>
  
    <session id="Session_ServerTime">
      <description><![CDATA[An EJB named ServerTime]]></description>
      <display-name>ServerTime</display-name>
      
      <ejb-name>ServerTime</ejb-name>
      
      <home>it.html.ejb.session.stateless.ServerTimeHome</home>
      <remote>it.html.ejb.session.stateless.ServerTime</remote>
      <local-home>it.html.ejb.session.stateless.ServerTimeLocalHome</local-home>
      <local>it.html.ejb.session.stateless.ServerTimeLocal</local>
      <ejb-class>it.html.ejb.session.stateless.ServerTimeSession</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
    
    </session>
  
  </enterprise-beans>
  
  <assembly-descriptor id="AssemblyDescriptor_1">
  </assembly-descriptor>

</ejb-jar>