Hi This is a bug in the verifier which I already reported. According to the EJB spec. you can return the EJB's remote interface or a subclass (subinterface) of this remote interface as well.
Andy ----- Original Message ----- From: "Jason Dillon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 08, 2001 9:41 PM Subject: [JBoss-dev] Where do these MEJB log messages come from? > 21:38:38,551 INFO [ContainerFactory] > Bean : MEJB > Method : public abstract Management create() throws CreateException, > RemoteException > Section: 6.8 > Warning: The create method of a stateless session bean home interface must > return the session bean's remote interface. > > 21:38:38,555 INFO [ContainerFactory] > Bean : MEJB > Method : public abstract Management create() throws CreateException, > RemoteException > Section: 6.10.6 > Warning: The return type for a create(...) method must be the session bean's > remote interface type. > > * * * > > Can we turn them to debug... or perhaps they are warnings? Doesn't seem to > useful to log an info message like this... > > --jason > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
