Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question for kathy and burt

 
chris coleman
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you were to think about all the exam topics you wrote about for your new book, which topic was the trickiest for you to successfully write about?
 
Kathy Sierra
Cowgirl and Author
Rancher
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ahhhh... good question!!
I think some of the early stuff, like explaining the whole architecture was tricky to write about, only because there is so much to understand before you can really understand any of how it works. It was also tricky to do some of the lifecycle stuff, because some of the methods are so poorly named in the EJB interfaces. The idea of how create() and remove() have COMPLETELY different meanings for Session and Entity beans (and passivate/activate) is challenging to explain, where it would have been MUCH easier if they had used different names... like for Entity beans, if they'd called it insert() and delete() instead of create/remove. Or if activate/passivate in entity beans was toPool() and fromPool(), for example. After all, that's what those methods DO!
Most of the time, the more encapsulated topics like transactions and security and environment and exceptions were easier to produce.
Other than that, I found explaining some of the CMR and EJB-QL stuff a little tricky for me personally. I was the first instructor at Sun to ever teach hands-on EJB courses to customers, so I've been teaching EJB a looooong time, but the bubble burst as EJB 2.0 was coming out, so I had far less experience teaching CMR and EJB-QL, so it wasn't as natural for me... we had to spend more time thinking of ways to express things clearly, in the EJB 2.0-specific topics.
cheers,
Kathy
p.s. you didn't ask me which were the most fun I think maybe the entity bean synchronization chapter (the whole entity bean lifecycle for CMP) was the most fun to do. I'm not even sure why, but I just think the whole idea of the "bean" being an "actor" playing a role of "being Fred Smith #42" is a fun idea. We anthropomorphize very heavily, and this was a fun place to do it.
 
Pradeep bhatt
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
K and B,
Does the book talk about BMP even though it is not a part of exam?
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pradeep,
Kathy answered that in this thread.
Regards, Andrew
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic