• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Bean Implementation cheat sheet

 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice work..thanks.
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Valentin on another great job.
Mark
 
James Clinton
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice work..thanks.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks .,... Nice effort in preparing that cheat sheet....
Hope we will get Container Provider reponsibilities soon???
jaideep
 
Valentin Crettaz
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
very soon
 
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
https://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 ]
 
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good work, Valentin
A big thank you
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good luck with your exam.
I'd like to see a book of yours too.
regards
 
Valentin Crettaz
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to see a book of yours too.
I'm currently writing a book but not on EJBs
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given your penchant for color and boxes it must be in UML.
regards
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry I can't say anything right now
Don't worry I'll keep you informed
 
HS Thomas
Ranch Hand
Posts: 3404
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will keep an eye on the cheat sheet series!
Great job.
regards
 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Valentin,
Thanks for ur precious work...
Just go ahead with ur nice contribution for EJB forum.
Regards,
Md. Anwar Hossain
SCJP2, MCP
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
    Bookmark Topic Watch Topic
  • New Topic