users@glassfish.java.net

RE: Lazy deployment of EJBs?

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Wed, 19 Aug 2009 15:59:39 -0400

did you try to increase timeout and max-cache attributes for <bean-cache> element
of the EJB component’s /META-INF/sun-ejb-jar.xml

http://docs.sun.com/app/docs/doc/820-4343/6nfqjnv32?a=view

Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.




> Date: Wed, 19 Aug 2009 10:53:51 -0700
> From: glassfish_at_javadesktop.org
> To: users_at_glassfish.dev.java.net
> Subject: Lazy deployment of EJBs?
>
> Is there an easy way to tell Glassfish to deploy an .ear file in phases?
>
> I'd like, for example, to have the .war files within my .ear file deployed first, and have the EJBs deployed in the background, so that my .war files are available quickly. Obviously, if someone hits a given .war file and causes an EJB invocation, and if that EJB hasn't been deployed yet, then yeah, they're going to have to wait for potentially a long time until the EJB is deployed. That's fine.
>
> What I'd like to avoid (given the sheer number of EJBs the system I'm currently working on is likely to have) is having to wait for all the zillions of EJBs to come up in full deployment mode before anything can work.
>
> If I'm overlooking something obvious, please tell me where it is, and I'll happily go there instead. :-)
>
> Thanks,
> Laird
> [Message sent by forum member 'ljnelson' (ljnelson)]
>
> http://forums.java.net/jive/thread.jspa?messageID=361214
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

_________________________________________________________________
Windows Live: Keep your friends up to date with what you do online.
http://windowslive.com/Campaign/SocialNetworking?ocid=PID23285::T:WLMTAGL:ON:WL:en-US:SI_SB_online:082009