beans.xml and JAXRSConfiguration: javaee7-essentials-archetype v1.3 released

The version 1.3 javaee7-essentials-archetype comes with two features:

  1. beans.xml for Java EE 7 and bean-discovery-mode="all" is created
  2. JAXRSConfiguration class mapped to the "resources" path enables JAX-RS

Create a project directly from the IDE (in NetBeans: New Project -> Maven -> Project From Archetype. Choose com.airhacks as groupId in the search box).

Or use the CLI:


mvn archetype:generate -Dfilter=com.airhacks:javaee7-essentials-archetype

If you like to stay lean without beans.xml and JAXRSConfiguration, choose the version v1.2.

The archetype's source is available at: https://github.com/AdamBien/javaee7-essentials-archetype. The project can be also directly cloned from: https://github.com/AdamBien/javaee-essentials-pom

See you at Java EE Workshops at Munich Airport, Terminal 2 or Virtual Dedicated Workshops / consulting

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments
License