Skip to content

proof of concept based and simplified as much as possible

Notifications You must be signed in to change notification settings

sombriks/sample-jee-kotlin

Repository files navigation

sample jee but with kotlin

Work in progress.

One could say that's 'kee', but the 'j' stands for jakarta now.

Run it on intellij mostly because kotlin support, but i hope to keep it as agnostic as possible.

Works on Payara server but should work on other jee-compliant servers

roadmap

A few goals in order to say "hey this kotlin thing might really works on JEE"

  • simple hello world-ish features proven to be quite simple
    • better instructions regarding jdbc driver and datasource configurations
      • payara
      • wildfly
      • websphere open liberty
  • figure out a decent schema migration: flywaydb
  • enable integration tests
  • modularize the gradle project
    • a project just for the models
    • one or more projects for the services
    • one web facade project for the controllers
    • one for the frontend itself, but maybe not
    • working on most app servers
      • payara
      • wildfly
      • websphere open liberty
  • make it respect profile settings (development, test, production)
  • prove that it works on any jee8-compatible app server
    • payara
    • wildfly
    • websphere open liberty
  • run devmode on other IDE's than intellij ultimate

useful links

datasource-related

Configuring a datasource at app-server level is essential in JEE world.

Payara

Piece of cake!

WildFly

Take your reading, and always prefer to use admin tools instead of past random xml files over the app-server!

Various ways to set up the driver as a module and how to define a datasource

The very very important step about how to delegate transaction to the bean

How to change the default domain datasource, since there is a bug

  • searching...

IBM Websphere Open Liberty

The download the full jee profile version.

Please note that default WAS port is 9080 instead of 8080 like their cousins.

About

proof of concept based and simplified as much as possible

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published