-
1. Re: Stateless session bean cyclic reference
jaikiran Feb 2, 2007 10:57 AM (in response to vstoyanov)What is the code that you have in the ejbCreate() method. Are you just looking up the bean's home or are you even calling create() method on the home interface? If you are just doing a lookup, then i dont think you would run into this issue. So i guess, you might be calling the create() method on the home interface after looking it up. Any reason why you are doing this in the ejbCreate() method?
-
2. Re: Stateless session bean cyclic reference
vstoyanov Feb 6, 2007 7:40 AM (in response to vstoyanov)Yes, you are right. There is a call to the create() method of the home interface. I am aware that it is not a good practice but it would require a lot of refactoring to move it out of the ejbCreate() method, because there are many SLSBs.
So, I am asking if someone has an idea how can we just make it work like it works in jboss 4.0.1- and the other app-servers in order to evade that refactoring