MattG
MattG

Reputation: 6445

IBM WebSphere Application Server - Custom Admin UI - Querying WAS state

My goal is to build a custom application which serves a web page that shows information about multiple WAS instances. An example requirement is to list the deployed applications with each WAS instance. My preference is to build this application in Node.js. My challenge is how to inspect/query the WAS instances to retrieve the information that I will display on the web page. Technical options appear to be:

  1. Write a java application which uses WebSphere Admin Thin Client jar. This could run anywhere (not needed on all the WAS servers), then get Node.js to talk to this application.
  2. Use the command line / shell tool WSAdmin scripting tool, and interface to that from Node.
  3. From node perform headless browsing of the WebSphere Application Server Administration Console, and retrieve the data I am after.

Is there another/better way, ideally I was hoping for a HTTP REST or SOAP Admin API, that I could invoke from anywhere and point at the WAS instance to get the data I am after.

Upvotes: 0

Views: 427

Answers (1)

Marcin P
Marcin P

Reputation: 430

Both shell wsadmin script and Web Administrative Console are connecting to DMGR by API ( SOAP or RMI).

If you are building your own Node.js app, maybe you will do a native connection to DMGR via JMX

https://www.ibm.com/support/knowledgecenter/en/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/cjmx_overview.html

Upvotes: 1

Related Questions