About Question enthuware.oce-ejbd.v6.1.350 :
Moderator: admin
-
- Posts: 5
- Joined: Wed Oct 23, 2013 4:51 pm
- Contact:
About Question enthuware.oce-ejbd.v6.1.350 :
Is a question valid? Because I don't get to do anything alike.
-
- Site Admin
- Posts: 10036
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.1.350 :
I am not sure I understand your question. Can you please explain a bit more so that we can help?
-Paul.
-Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 5
- Joined: Wed Oct 23, 2013 4:51 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.1.350 :
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 {
...
}
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 {
...
}
-
- Site Admin
- Posts: 10036
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.1.350 :
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:
Paul.
HTH,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.
Paul.
If you like our products and services, please help us by posting your review here.
-
- Posts: 5
- Joined: Wed Oct 23, 2013 4:51 pm
- Contact:
Re: About Question enthuware.oce-ejbd.v6.1.350 :
Thank you very much !!!
Who is online
Users browsing this forum: No registered users and 36 guests