Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF Components for JMX

 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm looking for JSF Components to support JMX instrumentation. Are there such things?

Many thanks!
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not quite sure what you mean. A JSF bean has no restrictions, so you can make them JMX beans - either by implementing xxxMBean interfaces on them or by one of the dynamic MBean construction techniques.

So in other words, backing beans can be JMX-instrumented the exact same way any other javabean can be.

As far as using JSF to operate someone else's MBeans, you can code up any sort of JMX client UI you like. For a more general UI, it's probably better to just install mx4j and let its builtin web interface handle it than to go to all the trouble of reinventing the same basic interface in JSF.
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim! I was hoping to use JSF as GUI for managing other mbeans.
I was thinking of having a generic framework (which incorporates rich display, security and notifications) for this.

Were you referring to using MX4J's HttpAdaptor instead?
I am relatively new to JMX so I'm not sure if I can customize HttpAdaptor to give our users a richer web experience.

Anyway, would you know how MX4J compare to Sun's JMDK?

Thanks for the help! ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic