Examveda

What is the purpose of the `@PersistenceUnit` annotation in Java EE applications?

A. To create JavaBeans

B. To execute SQL queries

C. To define JavaBean properties

D. To inject a reference to a persistence unit

Answer: Option D


Join The Discussion

Related Questions on Application Lifecycle and Annotation