users@glassfish.java.net

Re: Calling EJB 3.0 Beans from Remote Client...

From: Lukas Jungmann <Lukas.Jungmann_at_Sun.COM>
Date: Tue, 07 Aug 2007 22:29:13 +0200

oops, I hit send too early, sorry :(

glassfish_at_javadesktop.org wrote:
> Hm... I need to deploy the full enterprise project... not just the application client *g*
>
> now it works... thanks!

great, good to know :)

>
> but how do i run the client outside of netbeans? (let's assume the EJBs are already deployed somewhere, and I want to start the client to do something...)

you have two options:
1) point a browser on a computer from which you would like to run a
client to specific URL - you can find it in GlassFish'es admin console
-> apps -> ears -> your app -> launch action on the appclient component
- the client will be started using Java WebStart

2) run $GF_HOME/bin/package-appclient script, move the generated file
(appclient.jar) and *Client.jar from $PROJECT_HOME/dist to the target
system, unzip appclient.jar there and run 'appclient -client
*Client.jar' from a command line there

--lj

> [Message sent by forum member 'vajav' (vajav)]
>
> http://forums.java.net/jive/thread.jspa?messageID=229385
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>