ok, thanks ALRubinger

i think than i need always returned new instance for the same client.

i think that stateless session bean always must return new instance to the 
client when i lookup from from the client...

i did some changes on my sample bean :


  | public void initialize()
  |     {
  |             System.out.println(this);
  |             if (name == null)
  |             {
  |                     System.out.println("Null");
  |                     name = "Initialize";
  |             }
  |             else
  |             {
  |                     System.out.println("Not Null -> "+name);
  |             }
  |     }
  | 


and it fiert time prints 


  | 09:10:21,759 INFO  [STDOUT] [EMAIL PROTECTED]
  | 09:10:21,759 INFO  [STDOUT] Null
  | 

and then always printed :


  | 09:10:21,759 INFO  [STDOUT] [EMAIL PROTECTED]
  | 09:10:21,759 INFO  [STDOUT] Not Null -> Initialize
  | 


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976487#3976487

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976487
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to