• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB basics

 
Prabhat Kumar
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Please dont laugh on my problem.Please.

I am doing the first exercise practice of HeadFirst ejb.
EveryThing is well ,but i am unable to execute my clientSide code.
My program is not able to fetch the getAdvice() method through ejb
.it is giving the RMIException ,bad_operation ,CORBA like something.

Kindly anyone help me out.i am stucking with the first chapter only.
 
Mark Spritzler
ranger
Sheriff
Posts: 17290
9
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We never laugh. We just aren't funny people. Well we might chickle every now and then.

Anyway, Can you post the whole exception trace?

Also, is the getAdvice method in the remote interface? Or just in the bean? It must be in the interface so the client can call it.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!