R
Ravi Shankar Nair
Hi all,
This is to clarify a question popped up in out discussion.
Assume that I have an EJB with two functions fn1 and fn2. Please note that
only fn1 is exposed to outside world, i.e as business method. fn2 is a
private method in the EJB. The questions are, does the EJB specification
allow
1) To have as many private, public or protected mthods in EJB, but only some
of them are exposed as business methods?
2) Can fn1 call fn2 within the EJB ?
3) ***Most important*** When fn1 calls fn2, will the invocation call go out
of the container( from fn1) and come back ( to fn2) ?
Please help, because we need to implement this in out architecture, thanks a
million.
Best regards,
Ravi
This is to clarify a question popped up in out discussion.
Assume that I have an EJB with two functions fn1 and fn2. Please note that
only fn1 is exposed to outside world, i.e as business method. fn2 is a
private method in the EJB. The questions are, does the EJB specification
allow
1) To have as many private, public or protected mthods in EJB, but only some
of them are exposed as business methods?
2) Can fn1 call fn2 within the EJB ?
3) ***Most important*** When fn1 calls fn2, will the invocation call go out
of the container( from fn1) and come back ( to fn2) ?
Please help, because we need to implement this in out architecture, thanks a
million.
Best regards,
Ravi