Hi again, Ok, the clue was that the Entity container does implement ejbHome methods but not the Session containers. I checked out the Sun javadoc for javax.ejb.EJBHome and there it is in black and white ...
'Session Beans do not have finders and home methods' Sorry to have wasted everyones time. Regards David Burridge -----Original Message----- From: BURRIDGE, David, FM Sent: 08 July 2002 16:39 To: '[EMAIL PROTECTED]' Subject: [JBoss-user] ejbHome methods for Stateful Session Bean Hi, I've been trying to get ejbHome business methods working on a stateful session bean. Whenever I deploy the relevant bean I get a warning that the container has failed to map my home methods ... [INFO,J2eeDeployer] Create application AccessControl.jar [INFO,J2eeDeployer] install EJB module AccessControl.jar [INFO,ContainerFactory] Deploying:file:/C:/JBoss-2.4.4/tmp/deploy/Default/AccessControl.jar/ [INFO,ContainerFactory] Deploying Authentication [INFO,ContainerFactory] Deploying AccessControl [INFO,StatefulSessionContainer] authenticateUser in bean has not been mapped [INFO,AccessControl] Initializing [INFO,AccessControl] Initialized [INFO,AccessControl] Starting In this case my home interface declares the method authenticateUser(), and my bean provides the implementation as the method ejbHomeAuthenticateUser(). I've looked at the source for StatefulSessionContainer.java (both the version I'm using (JBoss 2.4.6) and the current JBoss 3.0 head). In both cases, the home method mapping source seems to suggest that the container implements the method rather than my bean. Is there an indirection through the container (in the same way that create() and ejbCreate() work) or should the method mapping look up methods directly onto my bean? Can anyone tell me what I'm doing wrong? Regards, David Burridge ******************************************************************** Visit our Internet site at http://www.rbsmarkets.com This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorised to retain, read, copy or disseminate this message or any part of it. The Royal Bank of Scotland is registered in Scotland No 90312 Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB Regulated by the Financial Services Authority ******************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user *********************************************************************** Visit our Internet site at http://www.rbsmarkets.com This e-mail is intended only for the addressee named above. As this e-mail may contain confidential or privileged information, if you are not the named addressee, you are not authorised to retain, read, copy or disseminate this message or any part of it. The Royal Bank of Scotland is registered in Scotland No 90312 Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB Regulated by the Financial Services Authority *********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Stuff, things, and much much more. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user