This one would get my vote. Couple of pointers:
- Look at the embedded EJB container. This became part of the spec in Java EE 6, but TomEE (or OpenEJB as it was before TomEE) has actually had the feature for years before that. Here's an example in a test: https://github.com/apache/tomee/blob/master/examples/simple-stateless/src/test/java/org/superbiz/stateless/basic/CalculatorTest.java - You can then build on that and get a web container as well: https://github.com/apache/tomee/blob/master/examples/moviefun/src/test/java/org/superbiz/moviefun/MoviesHtmlUnitTest.java and https://github.com/apache/tomee/blob/master/tomee/tomee-embedded/src/test/java/org/apache/tomee/embedded/EmbeddedTomEEContainerTest.java Hope that helps. Looking forward to seeing the article, whatever topic you choose. Jon On Thu, Dec 19, 2019 at 10:42 PM Gabriel Ferreira <[email protected]> wrote: > I like Daniels proposal. +1 :D > > I have a curiosity how to embedded tomee in a project, to execute java -jar > project.jar you know? > > May it's a subject too :) > > > On Thu, Dec 19, 2019, 5:48 PM Richard Monson-Haefel < > [email protected]> > wrote: > > > Good one, Daniel! > > > > On Thu, Dec 19, 2019 at 12:41 PM Daniel Dias Dos Santos < > > [email protected]> wrote: > > > > > Hello, > > > > > > maybe , configuring CDI in TomCat and DataSource . > > > -- > > > > > > *Daniel Dias dos Santos* > > > Java Developer > > > SouJava & JCP Member > > > GitHub: https://github.com/Daniel-Dos > > > Linkedin: www.linkedin.com/in/danieldiasjava > > > Twitter: http://twitter.com/danieldiasjava > > > > > > > > > Em qui., 19 de dez. de 2019 às 09:41, Richard Monson-Haefel < > > > [email protected]> escreveu: > > > > > > > what is a common mistake people make when configuring TomEE or > > Tomcat? I > > > > want that to be the topic of the blog post the week after next. > > > > > > > > Tomcat is sometimes better because it draws a larger audience. We > can > > > talk > > > > about TomEE being Tomcat + at the start of the story raising > awareness > > > and > > > > championing the project. > > > > > > > > -- > > > > Richard Monson-Haefel > > > > https://twitter.com/rmonson > > > > https://www.linkedin.com/in/monsonhaefel/ > > > > > > > > > > > > > -- > > Richard Monson-Haefel > > https://twitter.com/rmonson > > https://www.linkedin.com/in/monsonhaefel/ > > >
