Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Reminder document for the exam

 
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have updated the links
 
alzamabar
Ranch Hand
Posts: 379
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic