jee

HIBERNATE class mapping

Guys, I have a question about an exercise that was passed in the school recently. I have to map classes with JPA, Hibernate a ... em.out.println("Gerado"); } catch (Exception e) { System.out.println("Não Gerado: "+e.getMessage()); } }

Definition of EJB

Forgive me for the generic subject, but I have been researching for some time in various places and have not found anything t ... JPA to EJB? I've done several applications using Hibernate, which is a JPA framework. Does that mean I used EJB? Thank you!