-
1. Re: How to all oracle procedure in cmp bean?
lafr Jul 24, 2006 5:01 PM (in response to pxpwxj)CMP entity beans are for data and persistence only. SessionBeans are for business logic.
Where do you want to use a procedure?
Either build a session implementing the logic database independent or build an oracle PL/SQL module and call it from a session bean. -
2. Re: How to all oracle procedure in cmp bean?
pxpwxj Jul 26, 2006 10:32 AM (in response to pxpwxj)tks for direction.
I really want to know:If i use cmp bean,the container would access these table which mapping to the related cmp bean and related relationship frequently,would the server control these table exclusivly? and ,can i operate the data of these table in other program when the ejb container is running?and ,if i can do this,would it crash with the container and result in wrong state? -
3. Re: How to all oracle procedure in cmp bean?
pxpwxj Jul 27, 2006 4:18 AM (in response to pxpwxj)For those table matching to cmp bean or cmp relationship,can other program manipulate these data concurrently?