是否有GlassFish管理控制台的API? [英] Is there an API to GlassFish Admin Console?

查看:190
本文介绍了是否有GlassFish管理控制台的API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们只是继​​承了使用的GlassFish Web应用程序的开发。我们得到的安装说明有所有这些手动步骤设置连接池,JDBC资源和JMS。我不知道是否有可能让我们自动完成所有的工作(例如,用脚本)的API?

we just inherited the development of a web application that uses GlassFish. The setup instructions we got have all these manual steps to setup connection pool, JDBC resource and JMS. I'm wondering if there is an API that could allow us to do all this work automatically (e.g. with a script)?

谢谢!

推荐答案

你见过asadmin实用程序。您可以脚本它调用utlity设置资源池,数据库连接信息,消息队列资源等等等等等。

Have you seen the asadmin utility. You can script it up to call the utlity to set resource pools, database connection info, message queuing resources etc etc etc.

下面是对链接的asadmin

您可以使用org.glassfish.api.admin.AdminCommand API为您autmatically这样做的要求,说,在JAVA。

You can use the org.glassfish.api.admin.AdminCommand API for your requirement of doing it autmatically, say in JAVA.

这可以帮助 AdminCommand API

下面是用于使用API​​的一些例子。 API示例
这是扩展控制台管理员工具扩展管理的文档控制台

Here is some examples for using the API. API Samples This is the docs for extending the console admin utility Extending the Administration Console

希望帮助,

鲍勃。

这篇关于是否有GlassFish管理控制台的API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆