For example, here is the extract from my ejb-jar.xml:
<session> <ejb-name>Foo</ejb-name> <!-- snip --> <session-type>Stateless</session-type> <transaction-type>Container</transaction-type> </session> <assembly-descriptor/>
The question you should ask is whether it is wise to depend upon something
that is mentioned in the spec.
The answer to your FAQ (which you would have found if you used search)
is Required except for MDBs where it is NotSupported