• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can't run code of the Head First EJB book

 
Prosenjit Banerjee
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir/Madam,
I have bought Head First EJB (Eighteenth Indian Reprint February 2008) and now I have started reading it. But I found huge differfence using software. The Sun technology seems to have changed a lot form when the book was written. I have downloaded and Installed Glassfish. But I cannot compile, deploy and run the source codes from the book. I don't know what to do. Please please help me.
Moreover, I wonder, is it possible to mannually (i.e. without using any kind of tool that hides what it does) deploy (copy and pasting files from the Adevelpment folder to the server's deployment folder) the Bean in Glassfish as I did the Servlets in Tomcat?
I am in trouble as I am stuck in the very first chapter. I hope I won't be dissapointed.
 
Tom Reilly
Rancher
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I suggest you take take one problem at a time. Post the code that doesn't compile, along with the compiler errors, and someone will probably be able to help.
 
Prosenjit Banerjee
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps I didn't get my point cleared.
I mean, cannot compile any code. Not that there is any typo in the code. I meant I cannot run the tools. I just cannot find any tool to use there.
For example, the deploytool I cannot use. There is not file named deploytool in the Glassfish. Perhaps deploytool is there in j2ee 1.3 but not in Glassfish. So, how can I compile my beans and how can I deploy them using Glassfish?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!