users@glassfish.java.net

Re: How to call OSGI service from managed bean?

From: <forums_at_java.net>
Date: Thu, 19 Jan 2012 05:48:22 -0600 (CST)

Thank you for the fast reply!

a)  I added beans.xml file. Now this appears

======== HTTP STATUS 404 -
===================================================

------------------------------------------------------------------------------
*type* Status report

*message*

*description*The requested resource () is not available.

Maybe I need to add something else to the beans.xml file?

b)

What is the proper way to call method into OSGI bundle?

this.hello.sayHello("Duke")

Best wishes, Peter


--
[Message sent by forum member 'rcbandit']
View Post: http://forums.java.net/node/882760