subh,

You can use the standard Spring <jee:jndi-lookup/> as shown in the FAQ entry Lars sent you. The xbean.xml files are just Spring files, so you could inject the object looked up from JNDI into your servicemix-bean or servicemix-cxf-se POJO or whatever Java object you need it in.

Regards,

Gert

subh wrote:
I am actually looking for the way to lookup a jndi object registered with my
App server's JNDI tree from my SU's.

rgds,
subh


lhein wrote:
Please read the FAQ:

http://servicemix.apache.org/how-do-i-share-a-single-object-between-different-service-units.html

Regards
Lars



subh wrote:
Hi,

As per servicemix document

"ServiceMix can be embedded in any application server, Java SE or EE
platform. When working inside an application server you probably want to
reuse the application servers JNDI provider and tooling."

I am looking for a way to lookup the JNDI for one of my EJB
(SomeEJB/remote) deployed within JBoss. I am running servicemix within
JBoss with JBoss deployer.
Any help will be great..





Reply via email to