hello,
***********
I have one stateless session bean which invokes an entity bean locally.
In my case session bean is invoked remotely and is working fine...but the problem comes when i invoke the entity bean.it is creating the home object of entity bean.But when i create the localinterface object ie home.create(),its returning null...why is it so??
here is my code snippet from session bean(stateless)
Context context = new InitialContext();
Object o = context.lookup("java:comp/env/ejb/LoginEJB");
home = (LoginEJBLocalHome)PortableRemoteObject.narrow(o, LoginEJBLocalHome.class);//returns home object
LoginEJBLocal localhome = home.create();///problem occurs here.localhome is null.
..........
,............
************
this was my only problem while deploying the same application in jboss....
i want to know ,to solve this problem , is it mandatory to use xdoclet?
why i want to know is,if i use xdoclet,i have to change my ejb coding part ....(it is a big application)
but the same application working fine in WEBSPHERE....
m now in full of confusion.... i guess ur suggestion wil give me better solution to solve this problem..
PLEASE HELP ME.....
thanks,
kalai