have you understand my query???
please give me some suggessions
it's truely a bit challenging to piece through the words and make sense of your problem ( especially with sentences like: "have you understand my query??? " ), but it seems that you have a stateless session bean that is not able to access another bean in the same jar file correct? this exact same deployment descript (w/o jboss-ejb-jar.xml) was used on WAS?
here's my suggestion. if you're not using xdoclet to manage deployment descriptors, you need to be. if you're using ejb without xdoclet you're really asking for troubles.
btw, you're jndi names are questionable. why does this LoginSessionHome have ejb/com/ilink whereas the other is just com/ilink?
thanks for your suggestions...
yea i m using the same ejb-jar.xml for WAS...it is working fine in WAS...
sorry mlybarger its my mistake... later i came to know that jboss.xml is optional...
since,i m very new to jboss...could you tel me how to use xdoclet to manage deployment descriptors...
please do send me some examples...
please send me how to acess BMP entity bean from stateless session bean with the use of xdoclet..
i'm sorry, you'll have to read xdoclet's documentation for that one.
ok no problem....
i have one more doubt...
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.....
please help me mlybarger...