Is a Java Bean a server side component or client side component?

John Zukowski

A JavaBean component can be used anywhere, either like an AWT component on the client or with a JSP page on the server. There is nothing that requires it to be one or the other. In fact, the same bean can be used for both.

There is also Enterprise JavaBeans which is purely server-side which people tend to confuse it with. See Are Enterprise JavaBeans and JavaBeans the same thing? for more on the differences between the two.