[jboss-user] [JBoss Seam] - Random conversation id's

swd847 do-not-reply at jboss.com
Mon Sep 17 02:19:37 EDT 2007


Is this the correct way to implement random conversation id's?

	
  | @Observer("org.jboss.seam.beginConversation")
  | 	public void RandowmConversationId()
  | 	{
  | 		Manager.instance().updateCurrentConversationId("" + Math.round(Math.random() * Integer.MAX_VALUE));
  | 	}
  | 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084894



More information about the jboss-user mailing list