-
1. Re: Multiple @Factory methods in one SFSB?
smokingapipe Feb 5, 2007 3:11 AM (in response to smokingapipe)Woops, I already asked this question:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990862#3990862
I'm going to try it this time and see what happens. -
2. Re: Multiple @Factory methods in one SFSB?
shane.bryzak Feb 5, 2007 3:57 AM (in response to smokingapipe)Your assumptions are correct, it's fine to have multiple methods annotated with @Factory. The seamspace example does exactly this in ProfileAction.java.
-
3. Re: Multiple @Factory methods in one SFSB?
smokingapipe Feb 5, 2007 5:47 AM (in response to smokingapipe)I just tried it and it worked fine. The @Factory methods themselves were totally simple with no dependencies on anything other than the SMPC. I'm finally getting the hang of all the ins and outs of Seam, and was able to put together my SFSB to do some fairly complicated queries (if I had had to do them in SQL) and then display it very easily in a table.
And now that I'm getting comfortable with it, Seam Security is here which will confuse me all over again.