-
Transactions
Bean managed Transactions
With this example we are going to demonstrate how to handle bean managed transactions using EJBs. Enterprise beans are Java…
Read More » -
Timer
Use Timer service example
This is an example of how to use the javax.ejb.TimerService in an EJB. The TimerService interface provides enterprise bean components…
Read More » -
Stateful Session Bean
Stateful Session Bean to persist Entity
In this example we shall show you how to use a Stateful Session Bean to persist an Entity. In a…
Read More » -
Stateless Session Bean
Simple Stateless Session Bean example
With this example we are going to demonstrate how to create a simple Stateless Session Bean. A stateless session bean…
Read More » -
Stateless Session Bean
Stateless Session Bean to persist Entity
This is an example of how to create a Stateless Session Bean to persist an Entity. A stateless session bean…
Read More » -
jpa
Map Java Enum type in JPA
In this example we shall show you how to map a Java Enum type in JPA. The Java Persistence API…
Read More » -
jpa
Embedded compound primary key in JPA
With this example we are going to demonstrate how to create an embedded compound primary key in JPA. The Java…
Read More » -
jpa
Named query with entity in JPA
This is an example of how to create a named query with an entity in JPA. The Java Persistence API…
Read More » -
jpa
Single table inheritance in JPA
In this example we shall show you how to create a single table inheritance in JPA. The Java Persistence API…
Read More » -
jpa
One To Many bidirectional mapping in JPA
With this example we are going to demonstrate how to use One to Many bidirectional mapping in JPA. The Java…
Read More »