When doing the JNDI lookup of Statefull session bean,the variable is null
843830Jul 16 2009 — edited Jul 16 2009Hi
I have a stateless session implementation bean A (generated from WSDL) which is called through webservice from SAP PI server.The impl bean A gets the connection instance using MDM API from SAP MDM(MasterDataManagement) whenever it is been called.
Since everytime the connection is obtained,the performance is slow,This is due to bad design of getting the connection everytime .
I am trying to have stateful session bean B which gets the connection from MDM once during deployment and later whenever the implementation beanA is called it will do a JNDI lookup of beanB to get the connection instance to perform MDM operation,
the issue is the connection is set in bean B during deployment,but when i do a JNDI lookup the connection variable is retreived as null ,it looks it is not persist.
Could someone clarify wht wrong im doing here.
Thanks
Sabarinathan
Edited by: sabarinathan_ks on Jul 16, 2009 2:18 AM