jakartaee / jakartaee/platform

@Service CDI Stereotype to Replace EJB @Stateless

Open
#1,014 4 comments 1 reaction 0 assignees View on GitHub
EE13
Dominant language
No language data
Stars
230
Forks
76
Avg merge
8d 5h
Merged PRs (30d)
1

Description

When possible, a built-in CDI stereotype should be added to replace EJB @Stateless. Here is an outline of such a stereotype:

```java
@ApplicationScoped
@Transactional
@Lock(READ_WRITE)
@MaxConcurrency(10)
@Monitored // Vendors should be able to add their own sensible functionality
@Stereotype
@Target(TYPE)
@Retention(RUNTIME)
public @interface Service {}
```

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by reviewing the proposed Java CDI stereotype and the relationship to EJB @Stateless, then identify which Jakarta EE specification would own the change. Done requires an agreed design for the stereotype and its supported annotations.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.