Page 1 of 1

About Question enthuware.oce-ejbd.v6.1.350 :

Posted: Wed Oct 23, 2013 5:04 pm
by Flavio
Is a question valid? Because I don't get to do anything alike.

Re: About Question enthuware.oce-ejbd.v6.1.350 :

Posted: Thu Oct 24, 2013 4:34 pm
by admin
I am not sure I understand your question. Can you please explain a bit more so that we can help?
-Paul.

Re: About Question enthuware.oce-ejbd.v6.1.350 :

Posted: Thu Oct 24, 2013 11:18 pm
by Flavio
Sorry, I should have given more details.
The SfSBean didn't implement the SfSBeanRemote Interface. So how does it get to use sctx.getBusinessObject(SfSBeanRemote.class);

Shouldn't throw a IllegalStateException?

@Stateful
@Remote(SfSBeanRemote.class)
public class SfSBean  {
...
}

Re: About Question enthuware.oce-ejbd.v6.1.350 :

Posted: Fri Oct 25, 2013 5:06 am
by admin
No, the bean class is now not required to implement any interface if it uses @Remote or @Local annotations. Please see section 4.9.7 of EJB 3.1 Spec:
The bean class must implement the interface or the interface must be designated as a local or remote business interface of the bean by means of the Local or Remote annotation or in the deployment descriptor.
HTH,
Paul.

Re: About Question enthuware.oce-ejbd.v6.1.350 :

Posted: Mon Oct 28, 2013 3:10 pm
by Flavio
Thank you very much :D !!!