• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ambiguities between EJB Spec and HFEJB

 
Rahul Mishra
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • 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
 
Ankit Doshi
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic