Metro has excellent JMX support, if you enabling JMX monitoring as described in Chapter 19 of Metro Guide then you can use the JMX to dynamically query the deployed Web Services as described here using the WSEndpoint MBean.
Metro has excellent JMX support, if you enabling JMX monitoring as described in Chapter 19 of Metro Guide, then you can use the JMX to dynamically query the deployed Web Services as described here using the WSEndpoint MBean.
Bhaskar Karambelkar Thanks for the awesome pointer! Is it possible to use the WSEndpoint MBean on a facelets page, just like one would use a JSF MBean? – Daniel Szalay Apr 6 at 22:37 1 I haven't really worked with JSF, but if JSF can access JMX MBeans, then your job is very easy, if not, you may need to wrap the invokation of JMX MBean methods in a proxy bean, and have JSF invoke the proxy bean, just like JSF would access any normal BEAN.
– Bhaskar Karambelkar Apr 7 at 0:26 If you're using SPRING, you can wrap the invocation on the WSEndpoint MBean inside MBeanProxyFactoryBean. See static.springsource. Org/spring/docs/2.5.X/reference/jmx.
Html Sec 20.6 – Bhaskar Karambelkar Apr 7 at 0:28 @Bhaskar Karambelkar Thanks again! I'm going with the JSF direction, I don't want to include Spring until it's absolutely necessary. I'm currently listing MBeans via mBeanServer.
QueryNames(ObjectName. WILDCARD, ObjectName. WILDCARD); but I don't see WSEndpoint in the list.
However I see this at deploy: INFO: Metro monitoring rootname successfully set to: amx:pp=/mon/server-monserver,type=WSEndpoint,name=/JavaWSJMX-WSnameWSService-WSnameWSPort. How can I get a reference? – Daniel Szalay Apr 7 at 9:53 Daniel, I really wouldn't know how to get a reference in JSF, btw, did you try connecting to your JVM , via JConsole, and see if you can find WSEndpoint via JConsole, if you can , then there's no reason JSF can't find it.
– Bhaskar Karambelkar Apr 7 at 20:34.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.