users@glassfish.java.net

Re: deployment order in glassfish

From: Rama Sundari <sundari.drs_at_gmail.com>
Date: Mon, 22 Dec 2008 09:59:41 +0530

Hi..,
thanks for ur response..

I think the second option which u specified suits to my application..
can u please tell me in detail how to do the required configuration....
any link on this configuration wil be very useful..

thanku,
rama.
On Mon, Dec 22, 2008 at 1:27 AM, <glassfish_at_javadesktop.org> wrote:

> The deployment order of various modules are not specified one way or
> another in JavaEE. GlassFish happens to always load rar before ejb jar,
> since usually ejb modules may depend on rar modules. The specific
> dependencies in your app is best managed by your app itself, either at
> business logic level or app configuration / deployment level.
>
> Can you defer the ejb lookup? Sometimes the lookup just initializes a
> variable without actually invoking the bean. While doing lookup, can you
> repeat it at some interval and timeout, just waiting for the ejb module to
> be ready? Another option is to configure a jndi resource with the same jndi
> name as the target ejb (depending how you configure the ejb-ref or by global
> jndi name). So your look up will succeed at startup time and let this
> resource proxy the target ejb.
> [Message sent by forum member 'cf126330' (cf126330)]
>
> http://forums.java.net/jive/thread.jspa?messageID=322862
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>


-- 
Thanks,
Rama.