I have developed CMPS and need to update the row in the database. I know the ejbStore method can be used for it but do not know how to code it. does anyone have an example code of just the client, remote interface and the Bean implementing the row updation that would greatly help. I have searched on the internet and could not find anything. Please help
posted 13 years ago
If it is CMP you are using, the container is supposed to handle it, after all it is container managed persistence. Probably if you want to ensure a row is updated, you should complete your method calls in a transaction. It is possible to code ejbStore with BMP though.