Hi ranchers,
have been looking at EJBeans for a project I just got to see if they should be used. Got what is probably a simple question but can anyone tell when one should use entity beans and when should not. I can see how they work alright (and the obvious benefits of Container Managed Entity Beans) but am not sure on what occassions they should be used, especially Bean Managed Entity Beans instead of just using a class and some servlets to do the job with the DB. The same pretty much goes for session beans, could servlets just do the business processes such as validating.
Cheers in advance
Williery(total novice)
have been looking at EJBeans for a project I just got to see if they should be used. Got what is probably a simple question but can anyone tell when one should use entity beans and when should not. I can see how they work alright (and the obvious benefits of Container Managed Entity Beans) but am not sure on what occassions they should be used, especially Bean Managed Entity Beans instead of just using a class and some servlets to do the job with the DB. The same pretty much goes for session beans, could servlets just do the business processes such as validating.
Cheers in advance
Williery(total novice)