Top "Managed-bean" questions

"Managed bean" is a Java EE specific term for Javabean classes which are designed to act as a controller in some MVC application.

BeanFactory vs ApplicationContext

I'm pretty new to the Spring Framework, I've been playing around with it and putting a few samples apps together …

spring managed-bean applicationcontext
How to choose the right bean scope?

I noticed that there are different bean scopes like: @RequestScoped @ViewScoped @FlowScoped @SessionScoped @ApplicationScoped What is the purpose of each? …

jsf jsf-2 scope managed-bean
Get JSF managed bean by name in any Servlet related class

I'm trying to write a custom servlet (for AJAX/JSON) in which I would like to reference my @ManagedBeans by …

jsf jakarta-ee servlets jsf-2 managed-bean
Identifying and solving javax.el.PropertyNotFoundException: Target Unreachable

When trying to reference a managed bean in EL like so #{bean.entity.property}, sometimes a javax.el.PropertyNotFoundException: Target …

jsf cdi el managed-bean propertynotfoundexception
WELD-001408: Unsatisfied dependencies for type Customer with qualifiers @Default

I'm a Java EE-newbie. I want to test JSF and therefore made a simple program but can not deploy it. …

jsf jakarta-ee dependency-injection cdi managed-bean
Invoke JSF managed bean action on page load

Is there a way to execute a JSF managed bean action when a page is loaded? If that's relevant, I'm …

jsf action onload managed-bean
Target Unreachable, identifier resolved to null in JSF 2.2

I have a problem with JSF 2.2 and CDI, my managerbean is not solved and this error appear "value="#{userBean.user.…

jsf jsf-2.2 managed-bean
Calling Primefaces dialog box from Managed Bean function

Hi I have a managed bean with some functions , based on some condition in that function I will like to …

jsf primefaces modal-dialog managed-bean
Calling a JavaScript function from managed bean

Is there a way to call (execute) a JavaScript function from managed bean in JSF? If that's relevant, I'm also …

javascript jsf primefaces managed-bean
JSF page redirecting from java bean

Is there some way how to redirect page to other page from Java method? I'm able only to forward it …

jsf redirect managed-bean