function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion 

use of bean class in salesforce?

why do we actually create a bean class in saleforce? what is the use of it.  can anybody please suggest me any site where a can get a complete onfo abt bean classes and their implementation in salesforce and what re the other classes required. Do i save bean classes as Apex classes only?

Best Answer chosen by Admin (Salesforce Developers) 

There is no concept of bean classes on the platform. Classes fall into a few categories but typically you'll deal with 2 main types:


1. Controller classes for Visualforce Pages and Components.

2. Utility/library classes that are used by the controller classes, batch apex, or schedule apex.