0 Replies Latest reply on Sep 9, 2002 12:46 PM by John

    ejb session state

    John Newbie


      Hey all. I have a question about stateful session beans and jboss. I currently have a simple session bean coded that I'm accessing via a jsp. I do a simple home.create() and access a login method via a call like bean.login(username,password). I am obtaining the username and password through a servlet request like this:

      String username = request.getParameter("username");
      String password = request.getParameter("password");

      Everything works fine. The problem is when I type in a wrong password and try to provide a new one. The request statement above gets the new password, but the ejb's login method seems to still use the previously supplied one and will continue to use it until i redeploy the .ear.

      I've tried calling bean.remove(), but it doesn't seem to help.

      Anyone have any suggestions?

      Thanks!
      gosquad