• 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
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
Bartenders:
  • Piet Souris
  • Mikalai Zaikin

MZs Notes - Pg 159

 
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was reading the section

Identify correct and incorrect statements or examples about application-managed
persistence contexts. - [EJB_3.0_PERSISTENCE] 5.7; 5.7.1.1; 5.7.1.2; 5.7.1.3; 5.7.1.4 - PDF Page 159

After the text, there are three four sample codes.

I was trying to figure out what those samples explain, in context of the relevant text?
Can any one help me please.
 
Sheriff
Posts: 7053
1344
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy Niranjan,

I would like to kindly suggest you to feel kind to post the exact code here which makes you confused; so that we can help you quickly.
 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Devaka,

Here are those listings -









 
Ranch Hand
Posts: 499
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All, Any takers?
 
Creator of Enthuware JWS+ V6
Posts: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Charles,

This is a question related to the SCBCD5 exam (EE5) and is more or less about JPA. In the EE5-version of the EJB exam JPA is included, whereas in the EE6 version JPA has its own certification.

Please also note that EJB Certification (EE5) is related to JPA 1.0 and JPA Cerification (EE6) is related to JPA 2.0.

Apart from that what were your thoughts about this question?
 
Charles O'Leary
Ranch Hand
Posts: 499
9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Are there better and/or more comments for these 4 examples for (EE5) exam prep?

For example, one thing I think I possibly need take away from these examples is that persistence context is separate from how the entity manager processes underlying transactions, also illustrated by the 2nd and 3rd examples with em.joinTransaction(). It appears that although all these examples are application-managed persistence context, clearly 3 are container managed (JTA) transactions, while the other is resource local transaction. Is that appropriate? Are there better and/or more appropriate comments?


The last example "Example of application-managed Persistence Context with Resource Transaction" has a interesting title for folks that may want to incorrectly think in terms of persistence context "defining" transaction processing?
 
He was expelled for perverse baking experiments. This tiny ad is a model student:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic