This content has been marked as final.
Show 4 replies
-
1. Re: Statful session bean in EJB 3
iapazmino Nov 2, 2010 12:37 PM (in response to subodhjeepat)there are some callbacks you can use to manage the lifecycle of an ejb3
http://docs.jboss.org/ejb3/app-server/tutorial/callbacks/callbacks.html
-
2. Re: Statful session bean in EJB 3
subodhjeepat Nov 3, 2010 10:29 AM (in response to iapazmino)I am not getting the proper way to implement the above query.
-
3. Re: Statful session bean in EJB 3
iapazmino Nov 3, 2010 1:28 PM (in response to subodhjeepat)ejb3 keeps backward compatibility with ejb2, this link might help on that subject http://docs.jboss.org/ejb3/docs/tutorial/1.0.7/html/EJB_2.1_Client_Adaptors.html
but if you are building the ejb component from scratch you could use a @postconstruct or @postactivate method to setup the sb before is used
-
4. Re: Statful session bean in EJB 3
subodhjeepat Nov 5, 2010 1:45 AM (in response to subodhjeepat)But it is possible in EJB 3. I do not know hoe ?
Please help.