[JBoss-user] [Management, JMX/JBoss] - Re: How to push data to JMX components?

2006-04-21 Thread ragsta
Ok, I follow your hints with only a difference: I've two interfaces implemented by the same pojo, the MBean interface and an interface for internal use. Next I've registered in the jndi this pojo using the Nonserializablefactory. By this way I can cast it in the internal interface for business

[JBoss-user] [Management, JMX/JBoss] - Re: How to push data to JMX components?

2006-04-19 Thread ragsta
this is the solution i've found: my stateless session bean: | public class CounterBean implements SessionBean { | |public static MovementsMgr myMBean=null; | |public void ejbCreate() throws CreateException { | if (myMBean == null){ | myMBean= new

[JBoss-user] [Management, JMX/JBoss] - Re: How to push data to JMX components?

2006-04-19 Thread ragsta
I like the idea but I've a question about. Does it work in a clustered evironment? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3938146#3938146 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3938146

[JBoss-user] [EJB 3.0] - Re: problem with ejb3 on jboss4.0.3SP1

2006-04-13 Thread ragsta
Sorry I made a mistake posting the code in the forum.. The real code I used is import javax.ejb.*; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3937125#3937125 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3937125

[JBoss-user] [Management, JMX/JBoss] - How to push data to JMX components?

2006-04-13 Thread ragsta
There is a way to use a method of a class that implements an MBean interface but not for that particular method? This is the case: I want to push data from a stateless session bean into a management component I've developed, so that I can see the total amount of a parameter passed to the

[JBoss-user] [EJB 3.0] - problem with ejb3 on jboss4.0.3SP1

2006-04-06 Thread ragsta
I cannot get rid of this: I've a trivial ejb3 stateless session bean. package com.alblab.ejb3.interfaces; | // remote interface | | import javax.ejb.Local; | | @Remote | public interface RemoteCalculator { | public double calculate(int a,int b); | } //implementation bean

[JBoss-user] [EJB 3.0] - Re: problem with ejb3 on jboss4.0.3SP1

2006-04-06 Thread ragsta
I worked around the problem: installing the EJB-3.0_RC4 and changing the JNDI reference accordingly the sample work ... but I'm still puzzled about the behavior described in the post... 'cause I've not found yet a solution for the old environment. View the original post :