Domenico,
A few bits and pieces that may also be useful to you;
>1. a bean instance (session and entity) has a own remote class?
An EJB has a Remote Interface.
>2. all instances of a bean share the same instance of home class or an >instance has
>a own home class?
An EJB has a Home Interface.
Interfaces (Home and Remote for example) are just used as a guarantee of behaviour of
the bean itself - they don't do anything, but they promise that the bean will.
>4. What are the advantages in using bean-managed transaction instead of
>container-managed ones?
If you use bean-managed transactions then, since you write the code for the bean,
it's up to you to write the code for its transactions. Using CMP means that you take
advantage of the fact that the coder who made the container has told it how to do
transaction processing.
>7. Is it true that an entity bean is compelled to use container-managed
>transaction? Why?
It isn't true. (see above)
Are you sure that you are talking about transactions or do you mean bean/container
managed persistence?
Steve
Windows beta-tester.
Hell, who isn't...
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".