This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes need help : urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "need help : urgent" Watch "need help : urgent" New topic
Author

need help : urgent

Sreeraj G Harilal
Ranch Hand

Joined: Apr 19, 2006
Posts: 310
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>
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
That piece of codes contain some problems. Please refer to the errata to fix the problem.

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Sreeraj G Harilal
Ranch Hand

Joined: Apr 19, 2006
Posts: 310
Nicholas Cheung, I checked the errata and i make necessary changes but still i have the same problem when i try to create jar files using Diploytool wizard.

Must i use J2EE 1.3 to avoid these problem?
Mikalai Zaikin
Ranch Hand

Joined: Jun 04, 2002
Posts: 3210
    
    5
Originally posted by Sreeraj G H:


Must i use J2EE 1.3 to avoid these problem?


As far as I remember, HF EJB assumes you use J2EE 1.3.


Free SCDJWS 5.0 Study Guide - SCDJWS 5.0 Quiz (How to get SCDJWS 5.0 Quiz)
Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam Study Guide and Quiz
Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 547

J2EE 1.3 is the version that you have to use to prepare for SCBCD 1.3
[ January 04, 2007: Message edited by: Celinio Fernandes ]

SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
Sreeraj G Harilal
Ranch Hand

Joined: Apr 19, 2006
Posts: 310
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.
Rajan Murugan
Ranch Hand

Joined: Jun 24, 2006
Posts: 182
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
Ranch Hand

Joined: Apr 19, 2006
Posts: 310
Yes Rajan Murugan, i will do.
Actually i like Head First series thats why i bought the book "Head First EJB" first.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: need help : urgent