This content has been marked as final.
Show 5 replies
-
1. Re: Injection vs. property
gstacey Aug 28, 2007 11:51 AM (in response to gstacey)Bump...
I'm very curious to know if there are any inherent advantages / disadvantages to either approach. -
2. Re: Injection vs. property
smithbstl Aug 28, 2007 12:10 PM (in response to gstacey)I think its more up to personal preference and how you want your code organized. Bijection can be nice from the standpoint of shorter component names and your jsf more straightforward because you can refer to entities directly. But if you overdo this, your backing beans can get confusing because now you don't know where everything this being injected from.
Again, code organization is the biggest concern (for me anyway) -
3. Re: Injection vs. property
delphi'sghost Aug 28, 2007 12:24 PM (in response to gstacey)Wasn't there something about outjecting entity beans being a bit of a hog, with the preference being to use properties instead of outjection?
-
4. Re: Injection vs. property
pmuir Aug 28, 2007 5:32 PM (in response to gstacey)Making Entities seam components isn't cluster safe IIRC
-
5. Re: Injection vs. property
samdoyle Aug 28, 2007 5:46 PM (in response to gstacey)"pete.muir@jboss.org" wrote:
Making Entities seam components isn't cluster safe IIRC
So you recommend not using injection/bijection?