@@ -0,0 +1,1339 @@
+/*%0A* The MIT License (MIT)%0A*%0A* View the full license at:%0A* https://github.com/hendrixjoseph/FamilyTree/blob/master/LICENSE.md%0A*%0A* Copyright (c) 2015 Joseph Hendrix%0A*%0A* Hosted on GitHub at https://github.com/hendrixjoseph/FamilyTree%0A*%0A*/%0A%0Apackage edu.wright.hendrix11.familyTree.bean;%0A%0Aimport edu.wright.hendrix11.familyTree.entity.Place;%0A%0Aimport javax.annotation.PostConstruct;%0Aimport javax.enterprise.context.SessionScoped;%0Aimport javax.inject.Named;%0Aimport javax.persistence.EntityManager;%0Aimport javax.persistence.PersistenceContext;%0Aimport javax.persistence.TypedQuery;%0A%0Aimport java.io.Serializable;%0Aimport java.util.List;%0A%0A/**%0A * @author Joe Hendrix %3Chendrix.11@wright.edu%3E%0A */%0A@Named%0A@SessionScoped%0Apublic class PlaceBean implements Serializable%0A%7B%0A%0A    @PersistenceContext(unitName = %22edu.wright.hendrix11.familyTree%22)%0A    private EntityManager em;%0A    private List%3CPlace%3E places;%0A%0A    /**%0A     *%0A     */%0A    @PostConstruct%0A    public void initialize()%0A    %7B%0A        TypedQuery%3CPlace%3E query = em.createNamedQuery(Place.FIND_ALL, Place.class);%0A        places = query.getResultList();%0A    %7D%0A%0A    /**%0A     *%0A     * @return%0A     */%0A    public List%3CPlace%3E getPlaces()%0A    %7B%0A        return places;%0A    %7D%0A%0A    /**%0A     *%0A     * @param places%0A     */%0A    public void setPlaces(List%3CPlace%3E places)%0A    %7B%0A        this.places = places;%0A    %7D%0A%7D%0A

Create PlaceBean.java