Runtime
Java EE Inject
JavaEE Inject is a Wicket module that provides integration through Java EE (Jakarta EE) resource injection. With JavaEE Inject you can use three annotations in your Wicket components:
@EJB@PersistenceUnit@Resource
Maven
<dependency>
<groupId>org.wicketstuff</groupId>
<artifactId>wicketstuff-javaee-inject</artifactId>
</dependency>
Import org.wicketstuff:wicketstuff-bom in your dependencyManagement section to manage the version.
Documentation
- How to use the @EJB annotation
- How to use the @PersistenceUnit annotation
- How to use the @Resource annotation
The examples are in the javaee-inject-examples module. This example project is always maintained with the current version of Wicket (and Jakarta EE).
Project maintainers
- Filippo Diotalevi
- Maris Orbidans
- Peter Major
The javaee-inject-examples module contains a runnable example application.
Source: javaee-inject-parent