Agent skill
backend-javaee
(ePost) Use when working with Jakarta EE — JAX-RS endpoints, CDI/EJB services, JPA/Hibernate, WildFly deployment
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/backend-javaee
Metadata
Additional technical details for this skill
- keywords
-
javaee jakarta jax-rs hibernate ejb cdi wildfly jpa
- platforms
-
[ "backend" ] - agent affinity
-
[ "epost-fullstack-developer", "epost-tester", "epost-debugger", "epost-code-reviewer" ]
SKILL.md
Jakarta EE Backend Patterns
Critical: This is NOT Spring Boot
This backend uses Jakarta EE conventions:
- WAR packaging deployed to WildFly 26.1 application server
- Dependency injection via
@Inject(CDI) and@EJB - REST endpoints via
@Path,@GET,@POST(JAX-RS / RESTEasy) - Persistence via
persistence.xml+@Entity(JPA/Hibernate 5.6) - Transaction management via
@Transactional(CDI) or container-managed (EJB)
Do NOT suggest Spring Boot patterns (no @Autowired, no @SpringBootApplication, no application.properties).
Tech Stack
- Language: Java 8 | Platform: Jakarta EE 8 / WildFly 26.1
- REST: JAX-RS via RESTEasy | ORM: Hibernate 5.6
- Databases: PostgreSQL + MongoDB | Build: Maven
- Microprofile: Eclipse MicroProfile 4.1
Conventions
- Package structure:
no.epost.<module>.<layer>(rest, service, dao, model, dto) - REST: JAX-RS
@Pathclasses, returnResponseobjects - Services: CDI
@ApplicationScopedbeans or@StatelessEJBs - DAOs: JPA EntityManager via
@PersistenceContext - DTOs: Separate from entities, manual mapping or MapStruct
- Validation: Bean Validation (
@NotNull,@Size, etc.) - Error handling: Exception mappers (
@Provider+ExceptionMapper<T>)
Build Commands
mvn clean package # Build WAR
mvn test # Unit tests
mvn verify -Parquillian # Integration tests
Sub-Skill Routing
When this skill is active and user intent matches a sub-skill, delegate:
| Intent | Sub-Skill | When |
|---|---|---|
| Database work | backend-databases |
PostgreSQL, MongoDB, persistence |
Aspects
| Aspect | File | Purpose |
|---|---|---|
| REST | references/rest-patterns.md | JAX-RS endpoint patterns |
| Services | references/service-patterns.md | CDI/EJB service layer |
| Persistence | references/persistence-patterns.md | JPA/Hibernate + MongoDB |
| Testing | references/testing-patterns.md | JUnit 4, Mockito, Arquillian |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?