Alibabra,
Transaction attributes must be specified by the time it is deployed! (The spec says). Now that's about of the way: some containers may be more lenient. I know that when I deploy stuff in
JBoss 3.2.3, it doesn't complain when I don't have any specified. I'm sure it assigns some default, but that's on a server-specific level. I'm
supposed to have done it by the time I drop it in the deploy directory.
As far as the
EJB spec is concerned though--there's no default. It's a mandatory portion of the deployment descriptors by the time it's deployed. (Officially, it's the job of the "Deployer" role to make sure that all methods the client can invoke have transaction attributes in the DD).
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED