CounterLocal | This is an EJB 3 local business interface A local business interface may be annotated with the @Local annotation, but it's optional. | code | html |
CounterRemote | This is an EJB 3 remote business interface A remote business interface must be annotated with the @Remote annotation | code | html |
CounterImpl | This is an EJB 3 style pojo stateful session bean Every stateful session bean implementation must be annotated using the annotation @Stateful This EJB has 2 business interfaces: CounterRemote, a remote business interface, and CounterLocal, a local business interface Per EJB3 rules when the @Remote or @Local annotation isn't present in the bean class (this class), all interfaces are considered local unless explicitly annotated otherwise. | code | html |