Hi!

Milan Madzia wrote:
> Of course, I can use EntityBean. But The session bean have a lifetime
> of client session, And session bean's are designed for this using.

Note that stateful session beans really aren't designed for what you
want. 

> Also entity bean can access any user....

You mean that it can be accessed by any user? Well, you can use the
security to fix that.

> Generally using stateful session bean seams more clean.

It might seem that way, yes, but I think it is not in practice (for
reasons that you have discovered). Also note that stateful sessions can
be removed at any point in time. EntityBeans are guaranteed to be more
long lived than that.

> Back to problem. I have found ejb1.1 spec (just paper format). I can't
> find the place where the specification specified this behavior. Rickard,
> I believe, it is there, but where?

6.11.6

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to