This week Spring IO team has announced that they have released the final released candidate for the Spring Boot 1.0.0 road map. So, the next version will be the final release of the project. Spring Boot project is intended to use the auto configuration of your spring applications instead of developers manually configure the environmental …
JSF 2 SelectManyCheckbox Example
The selectManyCheckBox component is one of the major components that provided by JSF 1 and included in the JSF 2 with some extra flavors. The selectManyCheckbox simply renders a set of checkboxs and corresponding representation of each individual checkbox in the selectManyCheckbox component by means of HTML is <input type=”checkbox”/>. The main attribute of that …
JSF 2 SelectBooleanCheckbox Example
The selectBooleanCheckbox component is one of the main component that provided in the JSF 1 and included in the JSF 2. The selectBooleanCheckbox simply renders a checkbox that can be wired to a boolean bean property and corresponding representation of it by means of HTML is <input type=”checkbox”/>. The main attribute of that component is …
JSF 2 SelectManyListBox Example
JavaServer Faces (JSF 2) provides a number of user interfaces components that cover the most common requirements, one of the most important component is a selectManyListBox component. The selectManyListBox is a component that been used for making multiple selection. The using of selectManyListBox component can be achieved by means of using an inline selection values, a …
JSF 2 SelectOneListBox Example
JavaServer Faces (JSF 2) provides a number of user interfaces components that cover the most common requirements, one of the most important component is a <h:selectOneListBox/> component. The selectOneListBox is a component that been used for making selection from the list. The using of selectOneListBox component can be achieved by means of using an inline selection …
JSF 2 SelectManyMenu Example
JavaServer Faces (JSF 2) provides a number of user interfaces components that cover the most common requirements, one of the most important component is a <h:selectManyMenu/> component. The selectManyMenu is a component that been used for making multiple selection. The using of selectManyMenu component can be achieved by means of using an inline selection values or …
Spring – NoUniqueBeanDefinitionException: No qualifying bean of type is defined: expected single matching bean but found 2:
In spring, we can auto wire the objects by using the @Autowired annotation. This annotation has the intelligence to detect the most relevant types for the references by looking at the various criteria like variable name, object type, super class, generic type, qualifier, etc. However, in few scenarios it will find the 2 or more …
Spring 4 – Generics Type as Qualifier When Injecting Beans
Generics is one of the most liked feature and most powerful for the Java programming. Spring framework fully supports the generics types for the beans and always try to make use of all the Java programming features like Generics, Annotations, etc. Unfortunately, one problem with earlier versions of Spring was that you could nott use generics …