I am having problems accessing a session with a bean state (SFSB) from an application client. I am using JBoss 5.0.1.GA. The application client and EJB are both packaged in an EAR that is being deployed, and I have other application clients that work without problems. So far, I have used the stateless beans (SLSB) session, but as I understand it, the differences between SLSB and SFSB should not affect how they can be accessed from the application client.
Class structure / interfaces:
@Local public interface A {...}
@Stateless public class ABean implements A {...}
@Remote public interface B {...}
@Stateful public class BBean implements B {
@EJB private A anInstanceOfA;
@PostConstruct private void init() {
this.anInstanceOfA.someMethod();
}
}
"appclient-launcher", " JBoss 5" . "BBean" , someMethod() () ABean init(). InvalidStateException ( " : null" ) ( ). bean bean, ( , , , ). , SFSB - ( JSF managed-bean) .
- ? SFSB ?
. [# JBAS-4317] , , JBoss 5.0.0.Beta3, , .