2.5. Configure Seam Facet Settings

The last wizard step is related to Seam facet and allows you to do the following:

Seam Facet Settings

Figure 2.17. Seam Facet Settings


  • Create Seam runtime and define Seam home folder.

For that click on Add button in the General section. Notice that in this wizard presented below you can create a Seam runtime only for that version which was selected in the Project Facets wizard (version 1.2 in our case).

Seam Runtime Creation

Figure 2.18. Seam Runtime Creation


  • Select EAR or WAR deployment by checking a necessary radio button.

  • Select a Database Type

Seam Runtime Creation

Figure 2.19. Seam Runtime Creation


  • and then specify a Connection profile appropriate for your database.

Connection Profile Options

Figure 2.20. Connection Profile Options


You can edit chosen profile by using Edit button or organise a new one by clicking on New button and selecting necessary for you type of connection profile.

Connection Profile Selecting

Figure 2.21. Connection Profile Selecting


On the other dialog you'll be asked to enter its name and description. And then you should select a proper driver and adjust connection details. Press Next to preview all the adjusted settings and complete the creation of the new profile.

Connection Details

Figure 2.22. Connection Details


The next block of settings in the Seam Facet wizard are describing a Database and a connection to it.

In the Code Generation section the wizard have already put the names for your Session Bean, Entity Bean and Test packages. Of course, you can change them into the others which you like.

Code Generation Section

Figure 2.23. Code Generation Section


Click on Finish to generate a project.