Managed Bean

Hi,

Can you please explain more how this should be implemented?
https://doc.cuba-platform.com/manual-6.5/managed_beans_creation.html

It’s a bit confusing which files need to be created and where to place them (the service template is created automatically in Studio but not managed bean)

Just create a class under the root package of your project (e.g. com.company.sample) and annotate it as described. You should place the class in module where you want to use it: core and web beans are accessible only from respective modules, while global beans are accessible from any module. See Application Modules.

1 Like