Forums Register Login

Can't run code of the Head First EJB book

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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?
There were millions of the little blood suckers. But thanks to this tiny ad, I wasn't bitten once.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 769 times.
Similar Threads
EJB 2.0 standalone java client with J2EE RI
JNDI problem
deploy application using eclipse but can't deploy directly
Example: Head First EJB
Anybody ever faced this problem running client of chapter 2 of pro ejb 3 java persistence api
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 23:31:04.