In below article the autor explains in some words how works EJB technology, particularly about EJB transaction management Full article
@Stateless
public class MyFirstEjbBean implements MyFirstEjb {
@EJB
private MySecondEjb other;
public void firstEjb(){
other.secondEjb();
}
}
@Stateless
public class MySecondEjbBean implements MySecondEjb {
public void secondEjb(){
}
}
Sem comentários:
Enviar um comentário