[ 
https://issues.apache.org/jira/browse/GERONIMO-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612142#action_12612142
 ] 

Shiva Kumar H R commented on GERONIMO-4189:
-------------------------------------------

svn commit at revision: 675220 adds required Servlet as mentioned above.

GEP (or other interested parties) after authenticating with server can invoke 
following Servlet and it would return a binary object with requested info.
http://<hostname>:<http-port>/plan-creator/ServerInfoServlet?requestedInfo=<requiredInfo>

For ex: 
http://localhost:8080/plan-creator/ServerInfoServlet?requestedInfo=jdbcConnectionPools
 
would return a list of connection pools deployed on the server.

For possible values of <requiredInfo> and to understand/interpret the binary 
object output of above Servlet, please see 
https://svn.apache.org/repos/asf/geronimo/server/trunk/plugins/plancreator/plancreator-portlets/src/main/java/org/apache/geronimo/console/configcreator/ServerInfoServlet.java

> Enable Geronimo Eclipse Plug-in (GEP) to get dynamic information from server
> ----------------------------------------------------------------------------
>
>                 Key: GERONIMO-4189
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4189
>             Project: Geronimo
>          Issue Type: New Feature
>      Security Level: public(Regular issues) 
>          Components: PlanCreator
>    Affects Versions: 2.2
>            Reporter: Shiva Kumar H R
>            Assignee: Shiva Kumar H R
>             Fix For: 2.2
>
>
> For intuitive creation/editing of Geronimo Deployment Plans inside GEP 
> Deployment Plan Editors, GEP must be able to query the server for deployed 
> resources (GERONIMODEVTOOLS-425). One of the ways of accomplishing this 
> (thanks to Vamsi for the idea!) is as below:
> 1. Have a Servlet deployed & running on the server, that can issue GBean 
> queries to fetch the required dynamic info from the server (like deployed 
> EJBs, JDBC Connection Pools, JMS Connection Factories & Destinations, Java 
> Mail Sessions, Credential Stores, Common Libs & Security Realms) and pass 
> this info to the caller may be as a binary object.
> 2. Inside GEP, invoke the above Servlet with required arguments to get the 
> dynamic info.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to