No, business methods don't belong in Entity Beans for simply one reason, tight coupling. You just coupled EJBs with business logic. What happens if you decide to no longer use Entity Beans, or EJBs, then you will have to rewrite all that business logic.
If you put that Business Logic in plain old Java objects, then those objects can go anywhere and you don't have to rewrite them.
Oh, and HTML is not enables on this site, so you don't have to add "<br>" tags
But if you want formatted text when posting code, for instance, there are ten buttons under the Add Reply button, one is called Code, there are others that might interest you.
Hi, Thanks for the response. I had written one business method for updating my entity bean. I can't use ejbStore() because I have to do some modifcations to my CLOB data in the in the store after updating my record in the table.
Thanks Sudhakar
Post by:autobot
rubbery bacon. rubbery tiny ad:
a bit of art, as a gift, the permaculture playing cards