• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is ejb this hard....

 
pradeep arum
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am studying " head first ejb " book by kathy & bert and ....believe me ...I am not able to run the client after working 3 days on the first example on pg:57.....I understood the whole concept...I am able to deploy the bean.....but I am not able to run the client....is there any easy way to run this client on a windows machine....everybody says there might be a problem with CLASSPATH.....but I am vexed with this answer..can anybody clearly give the whole set of PATH'S & CLASSPATH'S ...what ever is needed to run the client (on a windows machine)...
expecting help ASAP
Pradeep
please note:can somebody preferably Kathy or Bert write the whole set of instructions needed for running a client ie the one on pg:57.I know many people will face problems with this example.
 
Tulsi Rai
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi pradeep,
try this trhead that might be a help
web page
good luck!
 
Sanjay Saxena
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pradeep,
It looks like most of the people are on vacation this time and hence are not able to come to their computer. I'm also facing some problems and waiting for people to come back.
I would suggest you to go ahead with the theory and then come back to your old questions after a few days.
_Sanjay
 
Kathy Sierra
Cowgirl and Author
Rancher
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy -- we're here now
There are several issues that you have to work out to get a client to work, but classpath is nearly always the problem. There is also the BUG we've mentioned in other places, with J2EE 1.3.1 (on some platforms), but this requires ONLY that you change the name of the business method in the AdviceBean (and of course the matching component interface).
The scripts in the book for exactly how to compile and run the client are 100% accurate, however. So there shouldn't be anything else you need to add to that, but everything has to be in exactly the right place according to the directory structure in the book. If even a single thing is out of place, it will not work. So I can't offer any more precise instructions for the problem that you are having at the moment, but we can try to somehow walk you through this.
We *are* going out of town again tomorrow night, though, so I am hoping we can help get you going in the next day here.
Hang in there. But yes, it *is* sometimes this frustrating to get things working in the beginning, It is always a little finicky and different on each platform and configuration, but usually once you get it all working, then it becomes much easier to build and deploy and run additional apps.
cheers,
kathy
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic