Home » Search

About store

41-50 of 200Refresh
Tutorial
11

Step 3: Add a Context Listener Class

The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory instance with a global application scope. We have to register ... above: Invokes the Enhancer to enhance the entity class and creates an EntityManagerFactory instance and stores
Tutorial
11

Step 3: Add a Context Listener Class

The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory instance with a global application scope. We have to register ... and creates an EntityManagerFactory instance and stores it as an application scope attribute in the servlet
Tutorial
11

Step 3: Define a Spring DAO Component

connection: @PersistenceContext private EntityManager em; // Stores a new guest ... - for storing a new Guest entity object in the database. getAllGuests - for retrieving all the existing
Tutorial
11

Step 3: Define a Spring DAO Component

: @PersistenceContext private EntityManager em; // Stores a new guest: @Transactional ... .getResultList(); } } The GuestDao Spring component class defines two methods: persist - for storing a new
Tutorial
11

Step 3: Define an EJB Session Bean

em; // Stores a new guest: public void persist(Guest guest) { em.persist(guest ... two methods: persist - for storing a new Guest entity object in the database. getAllGuests
Tutorial
11

Step 3: Define an EJB Session Bean

: @PersistenceContext private EntityManager em; // Stores a new guest: public void persist(Guest guest ... bean (EJB) class defines two methods: persist - for storing a new Guest entity object in
Tutorial
11

Step 4: Add a Servlet Class

the next tutorial step) - a new Guest entity object is constructed and stored in the database. All the Guest entity objects are retrieved from the database and stored in the request's "guest" attribute
Tutorial
11

Step 4: Add a Servlet Class

is constructed and stored in the database. All the Guest entity objects are retrieved from the database and stored in the request's "guest" attribute. Then the processing is forwarded to the JSP page
Tutorial
11

Step 4: Add a Servlet Class

Guest entity object is constructed and stored in the database. All the Guest entity objects are retrieved from the database and stored in the request's "guest" attribute. Then the processing
Tutorial
11

Step 4: Add a Servlet Class

that will be added in the next tutorial step) - a new Guest entity object is constructed and stored in the database. All the Guest entity objects are retrieved from the database and stored in the request's "guest