Hello All! Now i'm working with EJB 3 in Stateless Bean i create method get all instance of entity About
public List<About> retrieveAllAbout(){
return em.createNameQuery("About.findAll").getResultList();
}
Now i want get one row of list to pass to js page. How can i do it
in jsf page ( xhtml) i want show one value of list example
<h:outputText value="#{bean.value}" />
(in database i have one row only one row i want select, otherway if i have many row how can i select and get one row and show it to JSF page)