This content has been marked as final.
Show 2 replies
-
1. Re: Location of beans.xml
gavin.king Dec 4, 2009 4:34 AM (in response to alexanderbell)Nope. Ears aren't bean archives (they can't directly contain bean classes). So it doesn't make sense to put beans.xml directly in the ear. A war is a bean archive.
-
2. Re: Location of beans.xml
nickarls Dec 4, 2009 7:45 AM (in response to alexanderbell)OTOH, having a beans.xml on EAR level for application wide config (interceptors, alternatives) wouldn't perhaps be a bad idea but then the rules would have to propagate down the archive hierarchy (EAR -> WAR, EAR -> JAR)