Skip to content
Sebastian Hoß edited this page Oct 5, 2013 · 3 revisions

To use CDI together with OGNL, declare the following dependency and replace ${contracts-version} with the latest release

<dependencies>
  <dependency>
    <groupId>com.github.sebhoss.contract</groupId>
    <artifactId>contract-cdi-ognl</artifactId>
    <version>${contracts-version}</version>
  </dependency>
</dependencies>

and annotate your business methods as usual using OGNL. Consult the example project for more details.