This content has been marked as final.
Show 2 replies
-
1. Re: EJB3 / ejbSelect / business methods?
cyril.joui May 18, 2006 4:57 AM (in response to mmarcom)Hello,
Use @Transient :@Transient public int getTotalAmount() { ... }
<
am i putting the getTotalAmount method in the wrong bean? shall i put it ont he SessionBean instead?
<
It depends ... You may put it in your entity bean I think but if this method would change (in other version) it would be better to put it in a SessionBean. It depends in the case of use ! -
2. Re: EJB3 / ejbSelect / business methods?
cyril.joui May 18, 2006 4:57 AM (in response to mmarcom)You can also do this :
@Transient // not get ! public int totalAmount() { ... }