yes, use Java EE injection !
@Resource
Habitat habitat;
let me know if that does not work (or work !).
jerome
On Oct 19, 2009, at 2:55 PM, Byron Nevins wrote:
> I want to use an object that is inside the Habitat in V3 -- from my
> web app. I don't need to @Inject -- I just want to get a reference
> to the Habitat.
> Has anyone done this? Any tips/ideas?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>