June 2018
Intermediate to advanced
596 pages
12h 39m
English
To create a session bean with the no-interface view, create a POJO and annotate it with the appropriate EJB annotation type and @LocalBean. For example, we can create a local stateful Student bean as follows:
import javax.ejb.LocalBean;
import javax.ejb.Singleton;
@Singleton
@LocalBean
public class Student {
...
}
Read now
Unlock full access