• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is "Requires" attribute there?

 
shankar valiinaykam
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • 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
 
Subhash Bhushan C
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
Leena Diwan
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic