Re: Specifyinh Transaction Attribute for COmplete BEAN!! help needed
Wednesday, October 22, 2003 11:08 PM
2) Beans are always accessed thru RMI mechanism as per EJB 1.1 specification. 2.0 specification brings in "Local interfaces" which bypasses the RMI protocol. But there are various factors you need to consider when deciding wether to use Local or remote interfaces. Yes, you are right when you say session beans are used to model transactions. Session beans are seen as extensions to the client. They manage the workflow. The reduce the network trip by encapsulating databse interactions within them.