This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Mastering Corda: Blockchain for Java Developers and have Jamiel Sheikh on-line!
See this thread for details.
Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Reminder document for the exam

 
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.
 
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.
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • 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
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • 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
 
Listen. That's my theme music. That's how I know I'm a super hero. That, and this tiny ad told me:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic