should my web app use java beans for business logic, or regular java classes

should my web app use java beans for business logic, or regular java classes

Post by Lew » Wed, 16 Apr 2008 22:06:06



Yes. JavaBeans are just regular classes that follow certain coding patterns.


JSPs can use beans, via, for example, the <jsp:useBean> tag.

One of several patterns is to use a bean as a value object to hold results
from the middleware. The JSP can display results held in such a value object.


It's not a technology, it's a technique, and no.

--
Lew