There should not be a need to cast the object returned from the create method.
The create method of the home interface should have a return type of the remote interface already. If the home interface is a local home the return type should be the local interface. What does your home interface look like? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874790#3874790 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874790 ------------------------------------------------------- This SF.Net email is sponsored by: New Crystal Reports XI. Version 11 adds new functionality designed to reduce time involved in creating, integrating, and deploying reporting solutions. Free runtime info, new features, or free trial, at: http://www.businessobjects.com/devxi/728 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user