[jboss-dev-forums] [Design of JBoss jBPM] - Re: Enterprise subproject and EJB spec level

tom.baeyens@jboss.com do-not-reply at jboss.com
Tue Oct 31 03:54:23 EST 2006


i would like ADDING ejb3 beans.  but i don't want to to remove the EJB2 beans for backward compatibility reasons.  the majority of containers will be ejb2 for a while.  so we need ejb2 beans.

i have not focussed on ejb3 beans for now because that would imply that we have to factor out the common code.  so the ejb3 simplifications would be countertackled by factoring out the common code between the ejb2 and ejb3 beans.

so i'm not sure if that is worth while.


anonymous wrote : If the bean is deployed with transaction-attribute required (which is the default), then the container should automatically rollback the transaction if a system exception is thrown, which will cause the JMS Server to retry the message for some configurable number of tries, and then place the message on the DLQ.
  | 

the thing i don't know is the actual configuration in the deployment descriptor.  feel free to add this configuration property in the deployment descriptor if you know which one it is.

anonymous wrote : 
  | You can also catch non-system exception (e.g., an ObjectNotFoundException, InvalidStateException, etc), and invoke setRollbackOnly on the messageDrivenContext, i.e., 

please define non-system exception.  afaik this means non-RuntimeExceptions, right ?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981979#3981979

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981979



More information about the jboss-dev-forums mailing list