-
1. Re: Jboss EAP 7 singleton-bean access
jaikiran Nov 15, 2017 12:19 AM (in response to kavinthamaduranga)Are you asking if that specific MBean is available in EAP7 or are you checking if MBeans can be accessed from within EAP7? If it's the latter, then yes, MBeans are accessible from within components deployed on EAP7
-
2. Re: Jboss EAP 7 singleton-bean access
kavinthamaduranga Nov 15, 2017 1:06 AM (in response to jaikiran)Hi jaikiran , actually the bean is deployed as an ejb3->singleton-bean . So what i want is, to write a simple java client to access the bean and invoke a method.
-
3. Re: Jboss EAP 7 singleton-bean access
jaikiran Nov 15, 2017 1:20 AM (in response to kavinthamaduranga)Kavintha Maduranga wrote:
So what i want is, to write a simple java client to access the bean and invoke a method.
Do you mean you want to invoke on the EJB as if it is an MBean instead of looking up in JNDI and invoking on it like an (typed) EJB?
-
4. Re: Jboss EAP 7 singleton-bean access
kavinthamaduranga Nov 15, 2017 1:45 AM (in response to jaikiran)Yes Jaikiran it is the intention if it possible. Or else can you give me a jndi lookup example to invoke the ejb
thankyou.
-
5. Re: Jboss EAP 7 singleton-bean access
kavinthamaduranga Nov 15, 2017 9:03 AM (in response to kavinthamaduranga)I tried with jndi lookup but my jndi string has some issues i guess. following is the deployed structure,
/deployment=ConnectPublish.sar/subsystem=ejb3/stateless-session-bean=Administration