Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

With JEAF we implemented a different approach. JEAF is also configured using annotations. But in order to improve startup time JEAF Maven Plugin analyzes the class path during build time and generates configuration files that are used to find the classes that hold the configuration values. This way time consuming activities during startup can be avoided.

...

Current Version

Overview about latest released versions can be found here:

Preconditions

As described in Maven Build Helper Plugin when working with JEAF or JEAF Generator then we need to make use of Maven Build Helper Plugin. So please refer to the mentioned site to ensure that is integrated properly.

...

For further information about JEAF X-Fun and JEAF Tools please refer to:

JEAF Core Configuration Parameters

...

For further information about JEAF Core please refer to:

JEAF Persistence Configuration Parameters

...

For further information about JEAF Core please refer to:

JEAF Workload Management Configuration Parameters

...

For further information about JEAF Workload Management please refer to:

JEAF Fast Lane Configuration Parameters

...

For further information about JEAF Fast Lane please refer to:

Sample Configuration

Excerpt

Code Block
languagexml
<!-- 
  JEAF Maven Plugin will generate JEAF configuration files. Besides executing the 
  plugin during build no specific configurations are required to use JEAF X-Fun. 
-->
<plugin>
  <groupId>com.anaptecs.jeaf.maven</groupId>
  <artifactId>jeaf-maven-plugin</artifactId>
  <version>${maven.jeaf-plugin.version}</version>
  <executions>
    <!-- 
      Cleanup run. All existing generated files will be deleted before they will be 
      generated again. 
    -->
    <execution>
      <id>Clean</id>
      <goals>
        <goal>GenerateJEAFConfig</goal>
      </goals>
      <phase>clean</phase>
      <configuration>
        <resourceGenDirectory>${basedir}/src-gen/main/resources</resourceGenDirectory>
        <cleanMetaInfDirectory>true</cleanMetaInfDirectory>
        <cleanOnly>true</cleanOnly>
      </configuration>
    </execution>

    <!-- Generate configuration files. -->
    <execution>
      <id>GenerateConfigs</id>
      <goals>
        <goal>GenerateJEAFConfig</goal>
      </goals>
      <configuration>
        <resourceGenDirectory>${basedir}/src-gen/main/resources</resourceGenDirectory>
        <targetDirectory>${basedir}/target/classes</targetDirectory>
      </configuration>
    </execution>
  </executions>
</plugin>