users@glassfish.java.net

Re: Including gf-client.jar on the classpath causes WS ...

From: Lukas Jungmann <lukas.jungmann_at_oracle.com>
Date: Tue, 23 Apr 2013 13:47:31 +0200

On 04/22/2013 09:23 PM, forums_at_java.net wrote:
> Note that I only want to be able to access the EJB:s using the GlassFish
> API.
> I am not interested in using the GlassFish web services stack at all. There
> should be a way that I can use only the EJB API:s without having to get the
> WS stack on the classpath or are they so mixed together that it is not
> possible to use one without the other?

well, gf-client.jar depends on web services and it's APIs which is newer
then the one included in JDK 6. This is also because the jar is main
entry point used by application client container which has to support
full JavaEE. If you want to use only subset of APIs then you should
define its classpath yourself

--lukas


  Running on JDK 7 sounds like the
> best
> solution yet as it is time to do that anyway. But having to do that because
> of limitations in GlassFish doesn't feel optimal. Thanks, Markus
>
> --
>
> [Message sent by forum member 'netmackan']
>
> View Post: http://forums.java.net/node/896209
>
>