Reputation: 723
I have my application ear .Now inside this ear I have two parts . First EJB module Second Web Module packaged inside the war. So my Ear root looks like
EAR
---EJB Modules
---WAR Modules
Now I have a requirement to call one of the ejb from one of the war client. Is there any way other than remote EJB call to do the same.
Upvotes: 0
Views: 285
Reputation: 236
@Named
@SessionScoped
public class WarManagedBean{
@EJB
private EjbBean ejbBean;
public void method(){
//Using of EJB
}
}
Upvotes: 0