I created a Entity Bean. If i update or delete a table through a bean whether that changes will affect all the beans or not. Also if i hard codedly changes the values in the table.. How the Bean knows the changed are made in table. Is it any possible way to do these...
Hello Kalaiselvan are you talking about a scenario such as bank.. where many applications are accessing one same account at the same time?.. if thats the case then yes there will be data corruption.. a solution for this is something known as instance caching and using transactions.. i dont have knowledge about your problem but i went through a book i had for your problem solution. in it was a detailed explanation of both questions you have .. 1> data corruption 2> database insertion directly.. you can refer to the book Mastering EJB which is available for download here. refer to page 147 for the solution of your first problem and page 155 for your second question ... (page numbers are the pdf page numbers not the book page numbers)
regards,<br />Dharmesh Chheda
posted 16 years ago
Thanx for ur reply Mr.Dharmesh Chheda.. I'm going through the book. If i have any doubt i will contact u further .. Thanx. Kalaiselvan.S
Bring me the box labeled "thinking cap" ... and then read this tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database