Category "javabeans"

The dependencies in the application context form a cycle

The dependencies of some of the beans in the application context form a cycle: authController defined in file [...\AuthController.class] ↓ user

Java garbage collection is performed, but GC notification is not received

I have followed a few examples from various sources, and have the following snippet: private void registerForMemUsageChanges() { List<GarbageCollectorM

Primefaces 5.1 start ajaxStatus during preRenderView

In primefaces is possible start "ajax status" from a method of a backing beans? I have the following view: <ui:composition xmlns="http://www.w3.org/1999/xhtm

BeanCurrentlyInCreationException when @Autowired and @Bean are present in same class

@Configuration public class Test1 { @Autowired private Test3 test3; } @Configuration public class Test2 { @Autowired private Test3 test3;

Parameter 0 of constructor in 'Controller' required a bean of type 'service' that could not be found. Not working: adding annotations, componentscans

I'm trying to use Services and DTOs in my project (trying to learn what they are and how they should be used). First, I had only Controllers, Models and Reposit

javax.el.PropertyNotFoundException: Property 'foo' not found on type com.example.Bean

I have results from Query query = session.createQuery("From Pool as p left join fetch p.poolQuestion as s"); query and I would like to display it on JSP. I

Can I update a JSF component from a JSF backing bean method?

Is there a way to have a JSF Backing bean cause an update of a component on the page? I am not looking to use an ajax component with update attribute to update