I'm fine adding Kazo. I was looking the other day to fix the examples, and I wanted to upgrade Krazo but the final release wasn't available yet. Happy to add it directly to TomEE so we don't need users to do it. Even more now that it's part of Jakarta EE Full Profile, we can add it to Plus and Plume.
Hibernate has been discussed already and we have added all the plumbing to make sure users can easily have it in their webapps or drop it in the lib/ directory and it will work out of the box. For DeltaSpike, it's not dead but there isn't much activity there and I doubt it will be jakarta compatible anytime soon. I'm more concerned about adding this one. If you need it just for some DAO (repository) pattern, it's easily achievable without some big dependencies. TomEE has been able to do that for quite a long time. We just don't do any promotion of the feature. For instance, there is an example available here https://github.com/apache/tomee/tree/main/examples/dynamic-dao-implementation Create an interface, add an annotation and TomEE will generate the implementation for you. The logic to parse method names, etc is available in this class https://github.com/apache/tomee/blob/main/container/openejb-core/src/main/java/org/apache/openejb/util/proxy/QueryProxy.java This is actually a specific use case of this feature and example https://github.com/apache/tomee/tree/main/examples/dynamic-implementation You can easily do design by contrat and implement your own handler to generate the implementation under the cover. Hope it helps -- Jean-Louis Monteiro http://twitter.com/jlouismonteiro http://www.tomitribe.com On Wed, Oct 5, 2022 at 11:48 PM David Blevins <[email protected]> wrote: > > On Oct 5, 2022, at 4:29 PM, Memo Díaz Solis <[email protected]> wrote: > > > > In the spring boot world you just need to pick dependencies from the > > initializer, so if we can provide something like that, it would be easier > > for new developers/students. > > > > Is there any reason to avoid something like that? I mean, it is > something > > like Microprofile starter but for TomEE, so that we can pick deltaspike > > modules as extra dependencies but defined at pom level. > > I would absolutely love if we could do something like that. Specifically, > as I've always wanted to ship Hibernate. I've even had talks with Red Hat > about potentially changing the license so that we could ship it -- they > gave it an honest look too. > > The big issue with a "starter" site is Apache infrastructure only allows > static sites -- reasonably. If "we" wanted to do that it would have to be > externally hosted and not branded in a way that implies it is operated by > the Apache Software Foundation. > > > -David > >
