!--a11y-->
Creating References in the ejb-jar.xml
File 
Create the required references in the META-INF/ejb-jar.xml file.
To edit the ejb-jar.xml file, double click on its name in the project. Specify the following source in it:
<ejb-jar> <description>EJB JAR description</description> <display-name>JavaMail</display-name> <enterprise-beans> <session> <display-name>SendMail</display-name> <ejb-name>SendMail</ejb-name> <home>com.sap.engine.examples.ejb.javamail.SendMailHome</home> <remote>com.sap.engine.examples.ejb.javamail.SendMail</remote> <local-home>com.sap.engine.examples.ejb.javamail.SendMailLocalHome</local-home> <local>com.sap.engine.examples.ejb.javamail.SendMailLocal</local> <ejb-class>com.sap.engine.examples.ejb.javamail.SendMailBean</ejb-class> <session-type>Stateful</session-type> <transaction-type>Container</transaction-type> <resource-ref> <res-ref-name>mail/MailSession</res-ref-name> <res-type>javax.mail.Session</res-type> <res-auth>Container</res-auth> </resource-ref> </session> </enterprise-beans> </ejb-jar> |
When you have finished, continue with Creating Web Project
