On Wed, Jul 31, 2013 at 8:19 PM, Laird Nelson <ljnelson_at_gmail.com> wrote:
> How can I make it so that a reference like this:
>
> @EJB(name = "ejb/Fred")
> private Fred fred;
>
> ...in a @ManagedBean in the lib directory is "filled" with the following
> entry defined in application.xml:
>
> <ejb-local-ref>
> <description>A Fred bean.</description>
> <ejb-ref-name>ejb/Fred</ejb-ref-name>
> <ejb-ref-type>Session</ejb-ref-type>
> <local>com.foobar.Fred</local>
> <ejb-link>some-ejb-jar.jar#FredBean</ejb-link>
> </ejb-local-ref>
>
> ...?
>
I've put this on StackOverflow as well, in case that's your thing:
http://stackoverflow.com/questions/17985337/from-an-ear-files-application-xml-deployment-descriptor-how-do-i-override-a-m
Again, if I've got a @ManagedBean in my ear file's lib directory with named
@EJB references in it, how can I control what fills those references by
using an ear-level deployment descriptor? Am I out of luck?
Thanks,
Laird
--
http://about.me/lairdnelson