tomee icon indicating copy to clipboard operation
tomee copied to clipboard

Example Project - Kotlin, CDI, JAX-RS

Open brandonlamb opened this issue 6 years ago • 6 comments

DO NOT MERGE YET - WIP

Example includes the following, slightly more than a basic "hello world".

  • Kotlin
  • CDI (DI and events)
  • JAX-RS (including ExceptionMappers for error handling)
  • Domain-Driven Design
  • Ports and Adapters
  • Constructor injection, interfaces
  • Dockerfile to build and run in Docker (multi-stage build)

TODO

  • Add README documenting the example (need to learn asciidoc first)
  • Add tests? Meh. Test in production.

brandonlamb avatar Dec 29 '18 23:12 brandonlamb

Please register and send us an email to [email protected]. We would love to hear from you over there!

brunobat avatar Dec 31 '18 14:12 brunobat

Hi @brandonlamb! I don't know if you had the time to take a look at the previous comments... I also found two more issues:

  • You are committing a .gitignore file
  • All the files need an Apache 2.0 license. Even the xml ones.

brunobat avatar Jan 10 '19 10:01 brunobat

I'm happy to help add headers to the PR or any other things this would need. Very excited about having a Kotlin example -- never tried it myself :)

dblevins avatar Jan 10 '19 16:01 dblevins

@brandonlamb let me know if you don't have time to work on it anymore. I'll dig in and see what it would take to finish.

dblevins avatar Jan 10 '19 16:01 dblevins

haha yea at the moment I can't make time to get that last 10% over the finish line. I was out on holiday for this so I had time. Figured I would try to come back at some point but didnt want to leave the project and this PR just hanging in limbo

brandonlamb avatar Jan 10 '19 18:01 brandonlamb

No worries -- I've spent most my life in that spot (wanting to have time for open source, getting nearly there and losing the time). In practice, you take progressively bigger tasks, so this dynamic never changes. (so congratulations, you're a true open source hacker :) )

What needs to happen for this to "finish"? (i'd be excited to dig in)

dblevins avatar Jan 10 '19 21:01 dblevins