列出 jsf 应用程序中部署在 glassfish 上的应用程序
我有三个 JSF 应用程序在 glassfish 3.1 开源版本上运行。其中之一应该是监控应用程序。我需要列出已部署的应用程序及其状态,并提供禁用和启用它们的功能。 我知道,有像 GlassFish API 这样的东西,并且我找到了一些示例,但我不清楚,也不知道如何使用它。 您能给我提供一些更详细的教程/示例吗?我会很高兴。
提前致谢!
I have three JSF apps working on glassfish 3.1 opensource edition. One of them is supposed to be monitor app. I need to list deployed applications with their statuses and provide functionality of disabling and enabling them.
I know, that there is sth like GlassFish API and I've found some samples, but it's not clear to me and I can't figure out how to use it.
Can You please provide me some more detailed tutorial/example? I would be very happy.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
RESTful API 怎么样?以下是在 DAS 上列出应用程序的示例:
http://localhost:4848/management/domain/applications/list-applications
示例博客:
http://blogs.steeplesoft.com/2010/08/glassfish-administration-the-rest-of-the-story/
文档:
http://docs.oracle.com/cd/E18930_01/html/821-2416/gjipx.html
希望这会有所帮助。
How about the RESTful API? Here is an example of listing applications on the DAS:
http://localhost:4848/management/domain/applications/list-applications
Sample blog:
http://blogs.steeplesoft.com/2010/08/glassfish-administration-the-rest-of-the-story/
Documentation:
http://docs.oracle.com/cd/E18930_01/html/821-2416/gjipx.html
Hope this helps.