On 02/02/10 20:11, Heiko Braun wrote:
I agree. A static field is ugly.
You can use the <depends> clause in any jboss descriptor
to make sure the errai webapp is started before the seam components.
(If they are separate deployments)
Rrright. They're not, unfortunately. And I've definitely run out of
time to try that.
However, if run into trouble again
don't hesitate to get in touch with me. Things like this shouldn't
prevent you from getting started.
BTW, are you using Seam or Weld?
Seam, but I'm very new to it.
/Heiko
On Feb 2, 2010, at 6:44 AM, Sean Flanigan wrote:
> Thanks, I've kludged something together with that info. I found that
> Errai's startup happens after all my Seam components are
> initialized/injected, because the Errai servlet loads after
> SeamListener. So I'm just stuffing the MessageBus into a static field
> for now. Ugly, I know, but getting started with Errai is taking about a
> week longer than I'd hoped (for various reasons).
--
Sean Flanigan
Senior Software Engineer
Engineering - Internationalisation
Red Hat