列出从jsf应用程序部署在glassfish上的应用程序 [英] list applications deployed on glassfish from jsf application

查看:100
本文介绍了列出从jsf应用程序部署在glassfish上的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有三个JSF应用程序在glassfish 3.1开源版上工作。其中一个应该是监视器应用程序。我需要列出部署的应用程序及其状态,并提供禁用和启用它们的功能。
我知道,GlassFish API是有的,并且我找到了一些示例,但是对于我来说并不清楚,我无法弄清楚如何使用它。
你能否给我提供一些更详细的教程/例子?我会很高兴。

在此先感谢!

解决方案

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



希望这有助于您。


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!

解决方案

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.

这篇关于列出从jsf应用程序部署在glassfish上的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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