• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reminder document for the exam

 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys, along my study path, I'm putting together a 'reminder' document of the most important things *I* need to remember, but it could be used as memo to check things (it contains also the solutions). The main topics highlighted in the document so far are the implementation of the several EJB interfaces and the bean things allowed in the different bean's lifecycles. I suppose more will come alongs (as exceptions, transactions, roles responsibilities, DD responsibilities, JNDI special environment access, bean environment and so on) when I'll arrive there.

You can find the document at the following address:

SCBCD Reminder

Any constructive comment and suggestion would be appreciated.
 
Dan T
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a2) ejbCreate(), ejbRemove(), ejbActivate(), ejbPassivate()

1) Get a reference to the bean's home interface
2) Get a reference to the bean's component interface
3) Query the container about client's security info
4) Set a CMT transaction for roll-back
5) Query the container to see whether a CMT transaction has been marked for roll-back
6) Get a UserTransaction object onto which invoking methods (for BMT transactions only)
7) Access the special JNDI environment
8) Access other bean's methods
9) Access other resource managers


We can't get/set Rollback in these methods
Refer to page 80 of spec.
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good job Marco

I'm going to add a new link to your document in our SCBCD Links page.
 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ryan Wong:


We can't get/set Rollback in these methods
Refer to page 80 of spec.


Thank you Ryan. I've update the document
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have updated the links
 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm updating the document as long as I'm encountering new topics. It now has been updated with:

1) UserTransaction interface methods

2) The methods in a CMT bean that need to be market with a transaction attribute

3) The methods in a CMT bean that run outside of a 'meaningful transaction context' and what this means
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic