O'Reilly logo

Advanced Java® EE Development with WildFly® by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the Model

In this section, we will create an EJB 3.0 entity bean for a domain model. Create the org.jboss.springmvc.model.Catalog entity bean class, which is just a plain old Java object (POJO). To create a Java class, select File | New | Other, and in New, select Java | Class, as shown in the following screenshot:

Creating the Model

In the New Java Class wizard, select Source folder as jboss-springmvc/src/main/java, specify Package as org.jboss.springmvc.model, and specify the class Name as Catalog, as shown in the following screenshot:

Creating the Model

The org.jboss.springmvc.model.Catalog.java ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required