users@glassfish.java.net

Re: change classloader order?

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 21 Aug 2008 17:39:36 +0530

What you are asking for class loading delegation being switched off,
which is a very very dangerous thing to do. Can you explain why you
chose to override a GlassFish supplied class? May be we can find a
better way to get the desired behavior without having to switch off
delegation.

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> Hallo,
>
> I wrote a webservice Servlet in Glassfish. Also I implemented a second class, which is equal to a class in the standard library of Glassfish. Now my question, is it possible to change the order of the classloader so that first my own classes are loaded and then the standard library of Glassfish?
>
> Thanks!
> [Message sent by forum member 'jsda' (jsda)]
>
> http://forums.java.net/jive/thread.jspa?messageID=294595
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>