Skip to main content

How to Invoke(get) Services Provided by GlassFish Bundles

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2012-09-13

Hi Everyone:
I need help, I have an application deployed in GlassFish Server ,Is There any way to invoke the services provided by other GlassFish bundles. For example, I want to get services from jars in folder ${instal_dir}/glassfish/modules, I have no idea how to achieve that.
I know in our custom bundles ,we can use @Inject to inject and get the services in these jars. but how to do that in our general web or ejb applications.
Does anyone knows how to do that? If you konw ,please, please help me ,or tell me more information. I would greatly appreciate your answer.
Wish you all the best. Thank you very much!