aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes SBCD notes (chapter 1) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "SBCD notes (chapter 1)" Watch "SBCD notes (chapter 1)" New topic
Author

SBCD notes (chapter 1)

Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Hi all !

My study has begun, and here is the first chapter of my notes (link in my signature). You may find it on my website, under the download section.
I'm working on an HTML version available in the website content section.

Hope you like it.

EDIT : the HTML version is available on the website, under:
Content > Certifications > SCBCD.

Enjoy !
[ March 23, 2006: Message edited by: Frederic Esnault ]

SCJP 5 - SCWCD 1.4 - SCBCD 1.3 - Certification study documents/resources: http://esnault.frederic.free.fr/certification
Sandhya Lever
Ranch Hand

Joined: Aug 15, 2005
Posts: 90
Thanks Frederick.The first chapter notes are very good.


SCJP | SCWCD |SCBCD |SCDJWS |SCEA
S Kusa
Greenhorn

Joined: Mar 14, 2006
Posts: 8
Fredric,

I am going through some of the posts about SCBCD exam preparation book and alsmost everyone says that Heads First is the book. But some of the reviews about this book are not so good and some rather recommend use of SCBCD Exam Study Kit : Java Business Component Developer Certification for EJB (Paperback)
by Paul Sanghera

Are you going to use only Head First or this one in combination with Head First? Hows your experience with the new Head First book?
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Thanks Sandhya ! But you know, if it's not good, you can say it
Joke apart, if something is bad in my notes, tell me, I'll correct it. It will help me, and other people willing to use my notes.

Kusa, I think HF books are the best, because of the way things are exposed, explained, and so on. There is a big amount of "teaching knowledge" behind this book, from Bates and Sierra, and the result is excellent.

Don't get me wrong, I don't say SCBCD study kit is bad, I didn't actually read it. But I had a look in my favorite bookstore and it seems a bit "600 flat, annoying boring looking pages". The HF approach is (in my humble opinion) much better than the classical chapter/Section/subsection pattern used by Study Kit. But this is all about people (even I think HF method is well studied and fits almost everyone), and if you prefer Study Kit, it's up to you.

To conclude, I don't judge Study Kit. But if you ask MY opinion, I say HFE without a doubt.

As for SCWCD, I'm using HFE book plus EJB 2.0 spec (specs are a must), and after I finish the book, I'll use whizlabs simulator, and go deeply into specs.
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Hi again !

The chapter 2 is released.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Are you on holiday ?

Just had a quick look and spotted minor typos :
- objecy -> object
- statefull -> stateful


[My Blog]
All roads lead to JavaRanch
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Me again. Just read page 7 and found those :

[7] RMI makes the link between a client an the object it wants to use
-> and

[7] Server side has a proxy also, call a skeleton
-> called

[7] client must lookup fo the stub reference
-> for

Don't be in a hurry or your errata is going to be bigger than HFEJB's
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Finished chapter 2.

[8] extands -> extends

[9] refering -> referring

Looking forward to chapter 3.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

The same for chapter 1 :
[2] gives -> give
[2] managment -> management
[2] Clients NEVER talk to directly to the bean -> talk directly
[2] Clients talks -> talk
[3] Entity : Represent -> Represents
[3] messenging -> messaging
(by the way, JMS messaging service is a bit redundant. MS means 'message service')
[3] Message Driven Beans does NOT -> do not
[3] Allows container to handler bean lifecycle -> handle
[4] classes/interface -> classes/interfaces ?
[4] gourb -> group ?
[4] Deployement -> Deployment
[5] Develop the beans -> Develops
[5] creates or define -> create
[5] Combine beans -> Combines
[5] Use AA jar -> Uses (by the way, what is AA ?)
[5] Implement specification -> Implements
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Wow great reviewer work you've done, thanks so much !

(AA means Application assembler - I had a doubt about writing it fully, I'll correct this, as it's not obvious).

Thanks again Satou !

EDIT : oh and btw i'm not in holiday, I resigned to concentrate on certification process and after this I'll look for a better position. So yes, I mostly do only certification these days
[ March 24, 2006: Message edited by: Frederic Esnault ]
rehans oberoi
Ranch Hand

Joined: Dec 06, 2005
Posts: 174
hi Frederick.
i read first chapter notes , they are very good.
nice work.
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Hi and thanx rehans !

If you like them, go back to the website from time to time, I'll keep on updating them until the doc is complete.
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Hi again !

Just to tell you chapter 3 is released
shanthisri mocherla
Ranch Hand

Joined: Sep 05, 2005
Posts: 119
Hi Frederic,
Is the first NOTE in page 13(regarding narrowing of component interface ) correct???In Handles


thanks in advance
Shnathisri
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Yes, it's correct.

Look at the rule I wrote under in blue. The rule is that when you get a reference to a home/remote interface by any mean, if the referencs is not of the interface type, then you MUST narrow and cast (except for local interfaces of course).

And EJBObject is the super-interface of the actual component interface stub, not the component interface itself; in this case, the rule is clear : narrow and cast are mandatory.

That's why I put this rule in note AND in blue
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Hi all,

First, I came up with a "small java engine" (are we certified Java programmers or not?? ) to modify the ugly generated html version of my docs (by a well known word processor...), to remove unecessary things, and customize style information. I created a small CSS and now the HTML version of my docs (in the Content section of my website) look a little better for those of you who prefer to read them online.

No new chapter today, but don't worry it'll come soon.

I also finally printed the 500 pages of the EJB specification doc (after all I bought a laser printer just for the spec docs, better use it !) and I will make a EJB spec summary as I did for servlets.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Hi Fred,
Please check out the following:

[*] statefull -> stateful
[3] messenging -> messaging
[7] objecy -> object
[10] PortableRemoteObject transform a complex -> transforms
[11] Session beans home interfaces must -> interface
[11] Returns meta informations -> information
[12] Session beans home interfaces -> interface
[12] on an entity bean destroy also -> destroys
[13] Client, EJBHome and EJBObjects are local -> Wouldn7T that be EJBLocalHome and EJBLocalObjects ?

Remarque :
1. Page 11 and 12 are about Session Beans, but contain methods used by Entity Beans only.
That may be more appropriate to separate them, but it's up to your taste
2. Page 12, you are talking about EJBObject, but making a note about EJBLocalObject raising a javax.ejb.EJBException.
That may be a bit confusing.
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Hi Satou !

Thanks again for such a good review.

I corrected the errors. About your remarks :
1. The thing is I actually talk about the non-business methods of the EJBObject/EJBHome interfaces, which are common to entity/session beans.
So the choice is between mention them there knowing they cannot be used by a Session bean; but it may be good to say because from Java point of view, it's legal to use thiese methods; from the EJB point of view (which is the most important for the exam) it is not legal) so it may be interesting to say this. More, it's necessary in this case to mention the raised exceptions. And in a study point of view, seeing entity reserved methods in the session beans is strange, but seeing these methods immediately associated to a raised exception in this case cools things down.

2. About the EJBLocalObject exception, I just wanted to say that local object raises a different exception from its remote counterpart. May be it's a wrong idea, but it seemed coherent to me.

For these two remarks I made no correction yet, I'd like to have your opinion on my explanationa above, and it'd be great to have other people's opinion, so we can decide what to do with those 2 points.

Anyway, nice catch Satou.
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

I haven't read those chapters yet, so the note about EJBLocalObject seemed to come out from nowhere.
But I agree with you, as these are study notes after all.
They should be used after reading a book, and before the exam as a quick reminder. Forget about that
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Hi all,

Chapter 4 has been released and is available on the website.
Priya Rao
Greenhorn

Joined: Feb 21, 2006
Posts: 13
Hello frederick

your notes is very good and great.
Excellent work

thank you very much for posting such material for your fellow members.

thanks once again

PriyaRao
[ March 28, 2006: Message edited by: Priya Rao ]
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Thanks, that's nice !
If you enjoy it, then go back on the website from time to time to check new releases (btw, chapter 5 is out).

Thanks again !
Priya Rao
Greenhorn

Joined: Feb 21, 2006
Posts: 13
hi Frederic,

Great work man, keep it up.

do you have notes on struts and hiberante(either of them or both).
Can you just help me with providing me some notes on struts and hibernate, if you have already have them.

that would be of a great help.

kindly let me know.

thanks

priya
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Hi Fred,

Chapter 4 and 5:
[17] container : creates, activates/passivates and removes beans, provide services and call business methods.
-> provides... calls...
[17] reduce pool's size -> reduce the pool size
[20] passivatable -> not sure about that word suitable for passivation ?
[21] reduce pool's size -> reduce the pool size
[21] If used, and exception -> an
[24] Boolean isCallerInRole(String role) -> boolean
REMARQUE: you make a NOTE[24] about Container Managed Transactions. The same could be said about getUserTransaction for Bean Managed Transactions.
[25] getEJBHandle -> getEJBHome
[26] getEJBMetaDate -> getEJBMetaData
[26] RemoteExcpetion -> RemoteException
REMARQUE : EB Remote Home Interface Rules[27] :
"declare the findByPrimaryKey() method". I haven't read the book yet, but do we have to ?
[27] client uses to -> calls it to (in many paragraphes, page28 also)
[27] does not takes -> does not take
[28] gets and exception -> an
[28] entitieslinked -> ?

Keep it going
Frederic Esnault
Ranch Hand

Joined: Feb 13, 2006
Posts: 284
Hi Satou, and thanks for the review !

About the findByPrimaryKey method in entity bean home interface, yes it's mandatory. Unlike Session beans home int., where at least one create method must be declared, the EB home interface :
- is not required to declare create method(s), but may do so;
- IS required to declare at least one finder method, and MUST declare the findByPrimaryKey method (at least).

I correct immediatly the errors and re-publish, thanx again !
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

You're right, I've just checked the spec (9.5.2 finder methods)
Thank you.
cindy jacobs
Greenhorn

Joined: Mar 29, 2006
Posts: 4
Originally posted by S Kusa:
Fredric,

I am going through some of the posts about SCBCD exam preparation book and alsmost everyone says that Heads First is the book. But some of the reviews about this book are not so good and some rather recommend use of SCBCD Exam Study Kit : Java Business Component Developer Certification for EJB (Paperback)
by Paul Sanghera

Are you going to use only Head First or this one in combination with Head First? Hows your experience with the new Head First book?


Hi Kusa,

I'm studying for the SCBCD and as Frederic pointed out it depends on the person. I am studying together with others for the exam. There are four of us with two HFE books to share. I am busy with chapter two and for me the book just doesn't work. Two of my fellow student however love it and they say it suites them perfectly. I need the classical chapter/section/subsection
kind of book. My mind can't handle the layout of HFE, just like the third fellow student. I guess were the odd ones out. So it just depends on what book suits your mind best. You never know till you try. I'm gonna go on studying with the SCBCD Study Kit.


SCJP 1.4<br />SCBCD student
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SBCD notes (chapter 1)