Jonathan Carlson writes:
 > Rickard wrote:
 > > I would propose a slightly different model. Use EntityBeans, but
 > > DEFINITELY use "value objects". Then, place a facade session on top 
 > > of your EntityBeans which the clients can access. This should 
 > > return value objects if entity data is requested. 
 > 
 > Thanks for your alternative perspective on this topic.  
 > 
 > In jBoss, can EJB objects be read by many users at the same time?  Weblogic
 > grabs (or used to grab) a pessimistic lock on entity beans during a simple
 > read operation.  This was so odious that we got rid of all our entity beans.

I don't know about this, so can someone comment:

Is it alright to not have a transaction used on a getXXX method?
ie. in the assembly-descriptor list which methods require transactions
and don't list getXXX?

Tom


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

Reply via email to