users@glassfish.java.net

Re: Deploy Problems

From: <glassfish_at_javadesktop.org>
Date: Mon, 30 Jul 2007 11:14:16 PDT

I will try to add a little clarity here, too...

1. using the Run item on your project, when it targets a remote server... This is a limitation with the NetBeans Enterprise Application projects that have an app client as the configured Client Module URI in their 'Run' project property and Application Client projects.

I think this is resolved in NB 6.0 builds.. [The Run item is disabled.]

2. Unfortunately, running an application client is much more difficult that we let on. NetBeans does a lot of magic that we don't expose to support the Run item. GlassFish does a lot of magic to enable Java Web Start of application clients that is kept fairly opaque. Tim has a number of blog entries that shed light on the support that are tweakable... The blog is here: http://blogs.sun.com/quinn/

He also published a fairly extensive article http://java.sun.com/developer/technicalArticles/J2EE/jws-glassfish/ about this, too.

I get the impression that you have done something like this...

ear
    app-client
    ejb-impl
    ejb-interfaces

and the client and the ejb-impl have a dependency on the ejb-interfaces jar/project, right?

This seems like a reasonable decomposition. If you have something else, please outline it in a bit more detail.

Thanks and HTH,
vbk
[Message sent by forum member 'vbkraemer' (vbkraemer)]

http://forums.java.net/jive/thread.jspa?messageID=228783