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

Is "Requires" attribute there?

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I know 6 attributes 4 CMT:

1.Required
2.RequiresNew
3.Mandatory
4.Supports
5.NotSupported
5.Never

I saw something new in HFEJB - P504....DD says the trans attribute of a method is "Requires". Watch out 4 that 's' instead of 'd'. There is also a hand-written note which gives explanation 4 that. The next page has "Required" attribute. If you have not corrected your book with errata, above attrbiutes are seen in the reverse way. Anyway, HF talks about "Requires"....Can somebody explain about that?

Regards,
sankar
 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

(504) 2nd to last line;
<trans-attribute>Required</trans-attribute>
should be:
<trans-attribute>Requires</trans-attribute>

to match the handwritten note beside it...



Please take a look at this link:
Confirmed Errata for HF-EJB
 
shankar valiinaykam
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Am I not asking question properly? Am I not picking small points in the book properly???

Anyway, Thanks Agni Vartula for your care to answer my question. Even, I have seen the errata and corrected. I think, you did not get my question. Let me ask put it this way ---What is the difference between transaction attribute "Requires" and "Required"?

Any answers to my question is higly appreciated.

Thanks,
Sankar
 
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In fact, you are not reading the answer rightly!

Agni provided you with a link of a page which lists all the big and small errors identified in HFEJB including your doubt.

Following is copied from the link -


(500) the last paragraph in the left "BANG" note ;

.....which means you MUST use only:
*Requires
*RequiresNew
*Mandatory

should be:

.....which means you MUST use only:
*Required
*RequiresNew
*Mandatory



Regards,
Leena
 
These are not the droids you are looking for. Perhaps I can interest you in a tiny ad?
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic