You can return a POJO through a "getRef" method, including the MBean interface itself. 
 Example:

HelloMBean h = MBeanServer.getAttribute(name, "Ref")

If you are doing something like this, it should be plenty fast:


  | Object args[] = { a, b, c};
  | String sig[] = "java.lang.Object", ...
  | while (true)
  |    getServer().invoke(name, args, sig);
  | 

If you're going over RMI it's slower, it's also slower to construct the args/sig 
arrays each invocation.  Java 1.4 is a lot faster with Reflection.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840832#3840832

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840832


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to