> "caching libraries" sounds good, can you please provide a link to a documentation. I can't find infos about that.
A non-portable Glassfish specific mechanism is to use --libraries. Please see
https://glassfish.dev.java.net/javaee5/docs/DG/beade.html#gatej for more information
Thanks
--Siva.
glassfish_at_javadesktop.org wrote:
> Yes, that's precisely what's wrong.
>
> A simple workaround would be to create a simple wrapper class with your static variable in it, but you do not deploy that class with your webapps. Rather you plop the class in to a jar, and then place that jar "outside" the container (say $domain/lib/ext). Then everything within the app server can see any classes in that jar, so both your web service and your JSP will both be able to access the variable from the static instance.
> [Message sent by forum member 'whartung' (whartung)]
>
> http://forums.java.net/jive/thread.jspa?messageID=242526
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>