0 Replies Latest reply on Oct 17, 2006 5:17 AM by Dirk Hesse

    Problems with Local SessionBeans

    Dirk Hesse Newbie

      I'am using Local SessionBeans with Object Arguments.
      For Example:

      public class UserManagerBean implements UserManager {

      public void registerUser(Object newUserData){

      I get a error message (IllegalArgumentException....)

      When i am changing "Object newUserData" to "String newUserData" then i get a correct configurated Code, which is running on the deploy folder.
      On the other hand, when i change the code from LocalBean to RemoteBean then the code is not running. So my conclusion is that i can use primitive datatypes only on LocalBeans and with RemoteBeans i can handle object types. is this a bug or feature. Am I doing smth wrong?

      Thanks for your replies.