SpecA class doesn't have any interface in its implements clause, nor any
@Remote/_at_Local annotation, so the appserver cannot figure out its
business interface. Note that the default local business interface
doesn't include any inherited interfaces. When SpecA extends Default,
the latter is not treated as an EJB; it is just a POJO superclass.
-cheng
glassfish_at_javadesktop.org wrote:
> Hi
>
> I have a statelss session bean that implements a local interface and then my other stateless session beans now will extend it..
> so
> @Local
> public interface localA{
> public void default()
> }
>
> @Stateless
> public class Default implements localA
> {
> public void default(){
> //something
> }
> }
>
> @Statelss
> public class SpecA extends Default{
> public void default(){
> //something more
> super.default();
> }
> }
>
>
>
> Facade now trys to look up specA
> @EJB(name = "SpecA", beanInterface = localA.class, beanName = "SpecA")
>
> This does not work when I try to use ejbContext to lookup Warning : Unable to determine local business vs. remote business designation for EJB 3.0 ref Unresolved Ejb-Ref
>
>
> Any Ideas
> CHeers
> Priya
> [Message sent by forum member 'priyasubu' (priyasubu)]
>
> http://forums.java.net/jive/thread.jspa?messageID=241437
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>