CDI - WASdev/sample.batch.bonuspayout GitHub Wiki

NOT NECESSARY !!!

Older instructions

Below were some older instructions needed when using a beans.xml which was an instance of the older (1.0) XSD. No need with a beans.xml which is an instance of a newer XSD. (The WDT import uses the schema level to decide which facet to assign the project.)

  1. If the application cannot be targeted to the given server, it may be because WDT has not populated the project with the correct facets during import.
    1. Right-click the batch-bonuspayout-application project and select Properties.
    2. Select the Project Facets selection on the left-hand pane.
    3. Make sure Java Batch is checked ( version 1.0)
    4. Make sure Context and dependency injection (CDI) is checked (version 1.2)

Links