Originally posted by jay roy: CMP with BMT is a bad choice. but BMP with BMT is possible.
For entity beans you can choose either CMP or BMP as your persistence mechanism. Regarding transactions, for entity beans you should only use CMT irrespective of your persitence mechanism. For session beans, you will have the choice to choose from CMT or BMT. BMT should not be used for entity beans. You must use CMT even if your entity bean uses BMP. BMT can only be used for session beans. Ranchers, please correct me if I am wrong.
Is there any specific practical reason why it should not be used? Did you read it in any text book or a website or do you feel its a j2ee best practise to follow.
The EJB specification 2.1 states this in article 17.6.1. You can download this here.
Note that only Session and Message-driven beans can be used with bean-managed transaction demarcation.A Bean Provider is not allowed to provide an Entity bean with bean-managed transaction demarcation.
Further you can also check out these links for more information: