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.
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?
For those table matching to cmp bean or cmp relationship,can other program manipulate these data concurrently?