This week's book giveaways are in the Jython/Python and Object-Oriented programming forums. We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line! See this thread and this one for details.
I am reading Oreilly's EJB 3 book and trying to execute cruise example given in it. I have defined an entity class and a persistence.xml file. But, my entity class is giving complier error stating "This mapped class does not contain in any persistent unit". Entity bean class and persistence.xml code is given below