• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ambiguities between EJB Spec and HFEJB

 
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) The EJB Specs state that the Transaction attributes(for methods) can be specified by the Bean Provider/Assembler/Deployer

HFEJB doesnt include the Bean Provider

Whats the final word?

2) HFEJB mentions that the primary key class (for compound keys)must have public accessors.
EJB specs do not mention this. They just talk about the fact the persistent fields should be public and a subset of the Bean

The Verdict is...?

Thanks in Advance,
Rahul
 
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For the 1st question above:

HFEJB states that transaction attributes are part of application assembly, which means the attributes should be specified in the assembly part of the DD rather than bean part.

And the spec says that the transaction attributes may be specified by the bean provider.

So I would assume that ideally application assembler should specify the transaction attriutes, but the bean provider may also specify them occasionally.
 
reply
    Bookmark Topic Watch Topic
  • New Topic