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
OCMJEA/SCEA, SCDJWS, SCBCD 1.3, SCJP 1.4
My SCEA experience:http://javalogue.blogspot.com/
posted 11 years ago
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.