Hello ranchers, I trying to start SCBCD preparation. To begin i prefer Head First EJB. There is no Head First series for EJB 3.0 so i bought Head First EJB (version 2.0) to begin my study. I am using Sun Microsystem's Application Server PE 8 (J2EE 1.4). I suppose Head First is using J2EE 1.3
In chapter 1 (Intro to EJB) of Head First, it shows how to create a SessionBean and package it to a jar file using Deploytool of Application Server. I follow the same steps to creating and packaging my first EJB. I created and compiled the Bean classes successfully. But when i try to create the jar file using Deploytool a warning messgae says
"The class(headfirst.AdvceBean)could not be loaded: Please consult online help for assistance in setting up the class root directory and class files"
when the dialog message comes?
1)New Enterprise Bean Wizard: EJB JAR General Settings [/B] window). 2)I added the three bean classes (with package folder) to the contents tree of deploytool EJB wizard. 3) click next.
Please tell me a way to solve this problem. Its really urgent because i am struck with in starting.
SCJP 5.0<br />SCWCD 1.4<br />Preparing for <b>SCEA</b>.<br /><b>"I prefer an interesting vice to a virtue that bores."</b>
Originally posted by Sreeraj G H: Thanks everybody, for your response. Celinio,if latest version is here why do i go for SCBCD 1.3? I got another book named Mastering EJB 3.0. So i am going to start with that book.
Atleast once if you go through hfejb (1.3 based),it will be good.It will be helpful in interoperability and other topics(exception,security,transaction, mdb) atleast till the new hfejb is available.
With Regards,<br /> Rajan<br />"Java Rocks"
Sreeraj G Harilal
Joined: Apr 19, 2006
Yes Rajan Murugan, i will do. Actually i like Head First series thats why i bought the book "Head First EJB" first.