I am trying to follow the JavaMail API http://www.oracle.com/webfolder/technetwork/tutorials/obe/java/javamail/javamail.html. At the beginning, it asks me to add EJB Component.
I also have maven spring on my project.
How do I add it to my project?
As described in the documentation, add an EJB facet to your module:
As a result, a new EJB facet is created. Its settings are shown on the EJB Facet page in the right-hand part of the dialog.