Skip to content

luiz158/starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eclipse Starter for Jakarta EE

The Eclipse Starter for Jakarta EE is a source code generator for Jakarta EE projects.

See https://start.jakarta.ee.

How to create a specification example?

To create a specification example you need to do three things:

  • Create the templates that will serve as base for the example. We use thymeleaf to process the templates.
  • Create a specification handler
  • Add the new specification handler to StarterService

For example:

We have a handler for the JSON-P specification. You can check the template file here, the handler here and the change in the StarterService here.

To start the project using the tomee plugin, just run:

mvn install

and then:

mvn -o tomee:run

If you want to create a new template project you can run:

curl --location --request POST 'http://localhost:8080/starterapi_war/starter/v1' \
--header 'Content-Type: application/json' \
--header 'Cookie: JSESSIONID=70F001DFBBDAD72370C7414FE2ACA897; GUEST_LANGUAGE_ID=en_US' \
--data-raw '{
    "packageName": "com.myproject",
    "projectName": "myProject",
    "specifications": ["jax-rs","json-b","json-p"]
}' --output test.zip

About

Starter

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 77.8%
  • Smarty 21.6%
  • HTML 0.6%