users@glassfish.java.net

RE: Local EJB access from command line Java program?

From: Martin Gainty <mgainty_at_hotmail.com>
Date: Mon, 12 Apr 2010 21:11:56 -0400

OpenEJB supports 4 different container types

CMP_ENTITYBMP_ENTITYSTATELESSSTATEFUL
take a look at 'containers' documentation for OpenEJB Containers at

http://openejb.apache.org/containers.html

Here is a testcase run at commandline for Singleton
http://openejb.apache.org/3.0/singleton-example.html

hth
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, 12 Apr 2010 14:33:44 -0700
> From: glassfish_at_javadesktop.org
> To: users_at_glassfish.dev.java.net
> Subject: Local EJB access from command line Java program?
>
> I have seen a few examples on how to create a command line java program that can access an EJB with a remote interface. I think in the J2EE world, they call this a "standalone java client"
>
> Pardon the ignorance, but is it also possible to create a command line java that can access an EJB's local interface? If so, how?
>
> TIA,
> marv
> [Message sent by forum member 'marvlush']
>
> http://forums.java.net/jive/thread.jspa?messageID=396569
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
                                               
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5