What's the difference between the "name" attribute and the "objectName" attribute in org.jboss.annotation.ejb.Service? Given they are both optional what is the default name?
The name attribute is the EJB name, analogous to the name attribute of @Stateless. The objectName attribute is the JMX MBean name of the Service delegate which handles JMX calls to the Service bean.