Any reason why you would'nt want to deploy as EAR with EJBDeployer?
Here is a quick primer on creating EAR (with EJBDeployer) for Glassfish
http://weblogs.java.net/blog/bleonard/archive/2006/06/running_jboss_s_1.html
Regards
Martin
______________________________________________
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: Mon, 6 Jul 2009 07:16:41 -0700
> From: glassfish_at_javadesktop.org
> To: users_at_glassfish.dev.java.net
> Subject: Re: EJB client with DI - @EJB injection doesn't work
>
> What build of GlassFish v3 are you using?
>
> You are probably running into Issue 8631.
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=8631
>
> If you think it's something else please let us know.
>
> It should not be necessary, but you could deploy your app client and retrieve the generated artifacts and run those instead:
>
> mkdir download
> asadmin deploy --retrieve download count-client-acc.jar
> appclient -client download/count-client-accClient.jar
>
> Note carefully the name of the file you'd launch - it has an extra "Client" inserted, a carryover for compatibility with v2.
>
> I know it's cumbersome to deploy the client if you don't need to otherwise, but until the issue is fixed this might be an annoying but effective workaround for you.
>
> Please let us know what you find.
>
> - Tim
> [Message sent by forum member 'tjquinn' (tjquinn)]
>
> http://forums.java.net/jive/thread.jspa?messageID=354238
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
_________________________________________________________________
Insert movie times and more without leaving Hotmail®.
http://windowslive.com/Tutorial/Hotmail/QuickAdd?ocid=TXT_TAGLM_WL_HM_Tutorial_QuickAdd_062009