Are there any guidelines for when to use session beans and when to use java classes (helper classes).

Will ordinary classes called from session beans reduce scalability ??

If the class does database retrieves or updates, is a java class a bad idea ?

Thanks
RK