Hi All,
i have few doubts on ejb3
a)supoose the timer is created for 5min and during that transaction rolled back @ 3rd
min(rollback attribute is true), what will happen to timer, will it be recreated on its
own? if so what will be the timer expiration, 5min or 2min
b)supoose the timer is created for 5min and suddenly the server crashed @ 3rd min, when
server comes up again, what will happen to timer, will it be recreated on own?if so what
will be the timer expiration, 5min or 2min
c)i am getting confused with interceptor and listener, is it that interceptor is for
Session beans and Message driven beans and listeners are for Entity beans, because both
interceptor and listeners can be used for callback (postconstruct, predestroy..). And also
listeners have entity object as input param and interceptors have invocation object as
input, i am not getting the clear differences and usage as both are for the same purpose,
under what circumstances to use the same, seems like the usage can be interchanged
Kindly Clarify
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207583#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...