Hi Markus,
Since you are using Embedded Glassfish, I just put up a blog entry
<
http://weblogs.java.net/blog/bhavanishankar/archive/2011/09/12/embedded-glassfish-programatically-running-asadmin-commands-servlet>
explaining how to do it. Other embedded users might also find it useful.
HTH,
Bhavani
On 09/08/2011 01:10 AM, forums_at_java.net wrote:
> Hi,
>
> how can I create programatically a JDBC connection pool (and other
> things) on
> gf embedded from a servlet?
>
> As far as I know
>
> - AMX should be no longer used
>
> - RESTFUL Admin API is not included in glassfish embedded (3.1/3.2)
>
> - execute ASADMIN commands is not possible from a servlet.
>
>
>
> So, what is the right way to do it?
>
> Thanks for your answers.
>
> Markus
>
>
>
>
> --
>
> [Message sent by forum member 'Wasomumba']
>
> View Post: http://forums.java.net/node/840971
>
>