point « Bean « JSP-Servlet Q&A





1. What's the point of beans?    stackoverflow.com

I've bean doing some JSP tutorials and I don't understand what the point of a bean class is. All it is, is get and set methods. why do we use them?

public ...

2. Entity beans which map two tables with foreign key pointing to alternate key (not primary key)    coderanch.com

Hello, I am using Toplink and have 2 entity beans: Logger and LuAppList. There is a many-to-one relationship from Logger to LuAppList. The Logger table has a foreign key reference to an alternate key in LuAppList (not the primary key). I get they error: TOPLINK-45 Missing mapping for field [LU_APP_LIST.app_id] It works when its mapped to a primary key. But the ...

3. Point of Local Beans?    coderanch.com