public Lectures getLectureById(int id) {
   Lectures lecture = new Lectures();
   lecture.setId(id);
   Lectures l = lEJB.readOne(lecture);
   return l;
 }
 public List<Students> getStudentList() {
   Lectures lecture = new Lectures();
   lecture.setId(id);
   Lectures l = lEJB.readOne(lecture);
   return l.getStudentsList();
 }