Continuing on my cheat sheet series (the previous about Exception Handling can be found here), here is a new one about the responsibilities of a bean provider when creating new EJBs. There are four slides, one for each bean type (stateful SB, stateless SB, MDB, and entity beans) that show what the bean provider should insert in what interface or class. The whole thing has been made for remote component interfaces only. It is not difficult to transpose the whole thing to local interfaces: just remove all RemoteExceptions and replace EJBObject by EJBLocalObject and EJBHome by EJBLocalHome. Anyway, you can get the document at http://www.valoxo.ch/jr/BeanProviderResponsibilities.pdf Any comments, suggestions, improvements, are welcome
Thanks .,... Nice effort in preparing that cheat sheet.... Hope we will get Container Provider reponsibilities soon??? jaideep
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
posted
0
very soon
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
posted
0
Great job with the color coding. Pity the exam won't have the same. Is this the beginnings of a book? :roll:
Really appreciated, thanks. regards [ June 28, 2003: Message edited by: HS Thomas ]
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
posted
0
Great job with the color coding. I do (almost) everything with colors I guess it is easier to sink something in with colors... Is this the beginnings of a book? :roll: Nope, but Kathy Sierra is currently writing one. Check out the following post: http://www.coderanch.com/t/157664/java-EJB-SCBCD/certification/ejb-environment I'll be posting my "Deployment Descriptor cheat sheet" later today. I'm off to the exam now [ June 30, 2003: Message edited by: Valentin Crettaz ]
Fabrizio Gianneschi
Ranch Hand
Joined: Nov 29, 2001
Posts: 70
posted
0
Good work, Valentin A big thank you
Fabrizio Gianneschi<br />SCPJ2, SCWCD, SCBCD
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
posted
0
Good luck with your exam. I'd like to see a book of yours too. regards
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
posted
0
I'd like to see a book of yours too. I'm currently writing a book but not on EJBs
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
posted
0
Given your penchant for color and boxes it must be in UML. regards
Kathy Sierra
Cowgirl and Author
Ranch Hand
Joined: Oct 10, 2002
Posts: 1572
posted
0
Valentin -- I finally got to take a breath and look more at your cheat sheets, and they ROCK! The color-coding is wonderful, and the way you organized the bean responsibility thing is a very clever and helpful way to do it. Presenting it that way had not occured to me, and I love it. Y'all would do well to use these to prepare! cheers, Kathy
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
posted
0
Hope you are not getting the paint cans out, Kathy. Yours' and Bates' book ROCKS too (I've only seen the excerpts but am looking forward to the full version). The cartoon oldy goldy look is best in its original pen and ink. Now what I'd like to see is a business subject like "risk-controlled quantitative investment strategies" getting the same treatment. I think you and Bert will make short work of it. If both ever have a moment.... regards [ June 30, 2003: Message edited by: HS Thomas ]
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
posted
0
Given your penchant for color and boxes it must be in UML. --HS Thomas Hmmm, not quite... Valentin -- I finally got to take a breath and look more at your cheat sheets, and they ROCK! The color-coding is wonderful, and the way you organized the bean responsibility thing is a very clever and helpful way to do it. Presenting it that way had not occured to me, and I love it. -- Kathy Sierra These are of course "open-source" and they are available at http://www.valoxo.ch/jr/cheatsheets.html I you feel you could use them in some way in your book, feel free to take them. Since you can't use colors, we could surely work out something else
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
posted
0
Hmmm, not quite... Is the secretiveness a clue? It's in Security ? No, seriously, I did a search and found some links on SADL - an architectural language and concerns-based modelling. Aspects ? In what time-frame is all this going to hit the shop-floor i.e we'll see a link on Aspects at the Javaranch ? Threads, Exceptions.. life could be so much easier....as in this thread Loop..and try catch
quoted from Illja Preuss' post : Or you may want to handle the exception somewhere else without having the intermediate code to know about it. In fact the more I get a feeling for (what I think of as) good OO design, the more I seem to also feel the pain of checked exceptions...
regards [ July 01, 2003: Message edited by: HS Thomas ]
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
posted
0
I'm sorry I can't say anything right now Don't worry I'll keep you informed
HS Thomas
Ranch Hand
Joined: May 15, 2002
Posts: 3404
posted
0
Will keep an eye on the cheat sheet series! Great job. regards
Anwar Hossain
Ranch Hand
Joined: May 29, 2002
Posts: 35
posted
0
Hello Valentin, Thanks for ur precious work... Just go ahead with ur nice contribution for EJB forum. Regards, Md. Anwar Hossain SCJP2, MCP
Raghuveer Rawat
Ranch Hand
Joined: Apr 03, 2003
Posts: 102
posted
0
hi Valentin I just gone thru all the cheat sheets prepared by you. It is amazing work. really you converted too big thing in too small thing. thanks for this great work. waiting for pending cheat sheets.