16.10.2015 Views

Getting Started with WebSphere Application Server

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 5 – Enterprise Java Beans 101<br />

Figure 5.5 – Dialog for creating a JPA project<br />

4. Create an entity in the JPA project<br />

Right click on ejb-studentjpa , choose New->Class, create a class named<br />

Student as shown in Figure 5.6. The code snippet is shown in Listing 5.12. The<br />

complete code is in the accompanying zip file <strong>with</strong> exercises for this book.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!