Allow users choices for starter code
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by locating the Starter UI implementation and reviewing the linked minimal-starter and rest-starter examples. Define the initial choice flow for the three application types, including the specified generated features and tests where applicable. Done means the UI presents those choices and produces the corresponding starter applications.
Written by the indexing model from the issue text.
Description
The Basics
The Starter UI will provide the user a set of sensible choices for the generated starter code. The initial set of choices will be as following:
Please choose the type of application*:
(*) Simple RESTful service ❶ ( ) REStful CRUD service ➋ ( ) CRUD web application ❸
❶ The default option. Simply generates a RESTful endpoint that prints {“hello”:”world”} in application/json format. Pretty much just Jakarta REST and JSON. No tests included. See here for reference (pretty much already done): https://github.com/m-reza-rahman/starter/tree/master/minimal-starter.
➋ Generates CRUD REST service with just one simple Entity. Shows sample usage of Jakarta REST, JSON, CDI, Persistence, Transactions/Enterprise Beans and Validation. An embedded database is used for convenience (ideally the default one already included in the runtime). A helpful sample test included. See here for reference (pretty much already done): https://github.com/m-reza-rahman/starter/tree/master/rest-starter.
❸ Generates CRUD Faces web application with just one table/screen and one simple entity. No REST endpoint is included. Shows sample usage of Jakarta Faces, CDI, Persistence, Transactions/Enterprise Beans and Validation. An embedded database is used for convenience (ideally the default one already included in the runtime). A helpful sample test included.
The Next Step
After this initial version is completed, the Starter UI may provide other options to further customize the starter code as follows:
Please choose the type of application:* ❶
(*) RESTful service ➋ ( ) web application ❸
Please choose features to include:
[ ] Persistence ❹ [ ] Validation ❺ [ ] Test ➏
❶ User must choose either a REST or Faces web interface for the generated application. The choices are radio buttons.
➋ If Persistence is not selected, simply generates a RESTful endpoint that prints {“hello”:”world”} in application/json format. If Persistence is selected, generates CRUD REST service with just one simple Entity. Shows sample usage of Jakarta REST, JSON, CDI, Persistence and Transactions/Enterprise Beans. An embedded database is used for convenience (ideally the default one already included in the runtime).
❸ If Persistence is not selected, simply generates a basic page that prints “Hello World from Jakarta EE”. If Persistence is selected, generates CRUD Faces web application with just one table/screen and one simple entity. No REST endpoint is included. Shows sample usage of Jakarta Faces, CDI, Persistence and Transactions/Enterprise Beans. An embedded database is used for convenience (ideally the default one already included in the runtime).
❹ Determines if the sample code should be “hello world” or CRUD.
❺ Only activated if Persistence is selected. Otherwise grayed out. If selected, add validation to Entity as well as REST endpoint or Faces backing bean.
➏ If selected, include a helpful sample test.
Later on
Further in the future, more use cases/technologies may be added as options:
[ ] Security [ ] Messaging [ ] Mail [ ] Batch [ ] WebSocket
- Dominant language
- HTML
- Stars
- 61
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eclipse-ee4j/starter
-
Add example of starting application via java -jarMay be free again @m-reza-rahman claimed this 832 days ago, and no pull request is open. Openenhancement low-priority
eclipse-ee4j/starter#328 · 8 comments · 1 assignee ·
-
Clarify Platform, Web Profile, Core ProfileMay be free again @m-reza-rahman claimed this 1342 days ago, and no pull request is open. Openenhancement normal-priority UI
eclipse-ee4j/starter#238 · 20 comments · 1 assignee ·
-
enhancement good first issue help wanted low-priority
Difficulty 4/5 3-5 days Newbie friendliness 45/100
eclipse-ee4j/starter#185 · 1 comment ·
-
Windows VM on github workflowsMay be free again @Aditya-Guntur claimed this 715 days ago, and no pull request is open. Openenhancement good first issue help wanted low-priority
Difficulty 3/5 1-2 days Newbie friendliness 42/100
eclipse-ee4j/starter#165 · 2 comments ·
-
enhancement low-priority
Difficulty 5/5 Over a week Newbie friendliness 25/100
eclipse-ee4j/starter#152 · 2 comments ·
All issues in eclipse-ee4j/starter
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug platform-desktop platform-web
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Termix-SSH/Termix#2072 · 2 comments ·
Maintainers usually reply within 1 day
-
prio:low scope:world
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
OliverRomhagen/vrigstad-joyride#849 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
genfeedai/genfeed.ai#11916 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100