The Artima Developer Community
Sponsored Link

Java Buzz Forum
JMX Annotations

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Marc Logemann

Posts: 594
Nickname: loge
Registered: Sep, 2002

Marc Logemann is founder of www.logentis.de a Java consultancy
JMX Annotations Posted: Feb 5, 2008 10:24 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Marc Logemann.
Original Post: JMX Annotations
Feed Title: Logemann Blog
Feed URL: http://feeds.feedburner.com/LogemannBlog
Feed Description: Marc Logemann's thoughts on java and other stuff
Latest Java Buzz Posts
Latest Java Buzz Posts by Marc Logemann
Latest Posts From Logemann Blog

Advertisement

Wow. Over a month without writing anything to this blog. Seems that the days over christmas blocked a lot of time as well as other things that happened around that time. But now i am back with something to share. I really like the new JMX annotations Spring recognizes. In a new project i have to write a small server that should be managed via JMX and i really like springs way of handling it with annotations. In Principle its the same as the transaction annotation. You simple tell spring via:

<bean id=”attributeSource”

        class=”org.springframework.jmx.export.annotation.AnnotationJmxAttributeSource”/>

and a few lines more spring config that you want to export all annotated beans as Mbeans.

Its really interessting to see that more and more of the features around classes like webservices, transactions and now jmx are annotation based. This makes the code much more readable in my oppinion. When i have some more time, i will also convert to define the spring config itself via annotations, but that will be quite a lot of work.

Apart from that, i will leaving for ski vacation in 2 days. Yipeee. I am really looking forward to be 4 days in Austria at the Zillertal valley. With one skipass you can ride more than 600 km trails. Check this if you want to see more. Boy, i like skiing.

Read: JMX Annotations

Topic: What's a Primitive Wrapper Class? Previous Topic   Next Topic Topic: One Reason Why WordPress Plugin Activation Causes Fatal Error

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use