Hi Daniel I added the TomEE Maven plugin to your example. Now you can `cd examples/mvc-cxf` and then do `mvn clean install tomee:run` to run the app with the webprofile flavor for TomEE. Seems to work well, but shout if you run into any issues.
Jon On Thu, Dec 6, 2018 at 10:55 PM Jonathan Gallimore < jonathan.gallim...@gmail.com> wrote: > Awesome stuff, thank you Daniel! > > On Thu, 6 Dec 2018, 22:53 Daniel Dias Dos Santos < > daniel.dias.analist...@gmail.com wrote: > >> Hi Jon, >> >> thanks very much. >> >> now I make one with RestEasy + TomEE. : ) . >> >> -- >> >> *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, 6 de dez de 2018 às 20:40, Jonathan Gallimore < >> jonathan.gallim...@gmail.com> escreveu: >> >> > Merged. Congrats on your first commit :). Awesome example, thanks so >> much >> > for the contribution! >> > >> > On Thu, Dec 6, 2018 at 9:55 PM Daniel Dias Dos Santos < >> > daniel.dias.analist...@gmail.com> wrote: >> > >> > > Hi Jon, >> > > >> > > I did the adding ASF and change the persistence.xml. >> > > >> > > thanks. >> > > -- >> > > >> > > *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, 6 de dez de 2018 às 14:10, Jonathan Gallimore < >> > > jonathan.gallim...@gmail.com> escreveu: >> > > >> > > > If you do that, and add this to persistence.xml, I think we're good >> to >> > > > merge. >> > > > >> > > > <property name="openjpa.jdbc.SynchronizeMappings" >> > > > value="buildSchema(ForeignKeys=true, >> > > > Indexes=false, IgnoreErrors=true)"/> >> > > > >> > > > Jon >> > > > >> > > > On Thu, Dec 6, 2018 at 4:06 PM Daniel Dias Dos Santos < >> > > > daniel.dias.analist...@gmail.com> wrote: >> > > > >> > > > > HI Jon, >> > > > > >> > > > > so I only do the ASL in Header ? >> > > > > -- >> > > > > >> > > > > *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, 6 de dez de 2018 às 07:23, Jonathan Gallimore < >> > > > > jonathan.gallim...@gmail.com> escreveu: >> > > > > >> > > > > > Don't panic, we can play around with that after merging your PR >> > in. I >> > > > > think >> > > > > > once those headers are added, this should be good to merge. >> > > > > > >> > > > > > Jon >> > > > > > >> > > > > > On Thu, 6 Dec 2018, 00:56 Daniel Dias Dos Santos < >> > > > > > daniel.dias.analist...@gmail.com wrote: >> > > > > > >> > > > > > > Hi Jon, >> > > > > > > >> > > > > > > I can try to add yes, but I had problem before submitting the >> > PR, I >> > > > had >> > > > > > > tried to use the above statement and the TomEE maven plugin >> > > following >> > > > > the >> > > > > > > example : >> > > > > > > >> > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> https://github.com/Daniel-Dos/tomee/blob/master/examples/deltaspike-fullstack/pom.xml >> > > > > > > >> > > > > > > but I had problem at the time of its execution with mvn clean >> > > tomee: >> > > > > run >> > > > > > > started to seem an exceptions. >> > > > > > > so I tried running it out with the plume + eclipse-link >> version. >> > > > > > > -- >> > > > > > > >> > > > > > > *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 qua, 5 de dez de 2018 às 21:13, Jonathan Gallimore < >> > > > > > > jonathan.gallim...@gmail.com> escreveu: >> > > > > > > >> > > > > > > > Also can you try adding: >> > > > > > > > >> > > > > > > > <property name="openjpa.jdbc.SynchronizeMappings" >> > > > > > > > value="buildSchema(ForeignKeys=true, >> > > > > > > > Indexes=false, IgnoreErrors=true)"/> >> > > > > > > > >> > > > > > > > to persistence.xml, so the schema is created automatically >> when >> > > > > running >> > > > > > > on >> > > > > > > > OpenJPA? >> > > > > > > > >> > > > > > > > It would also be good to get the TomEE Maven plugin working >> > with >> > > > it, >> > > > > > but >> > > > > > > > that shouldn't block this PR being merged. >> > > > > > > > >> > > > > > > > Love the example, especially the image on the home page! >> > > > > > > > >> > > > > > > > Jon >> > > > > > > > >> > > > > > > > On Wed, Dec 5, 2018 at 10:21 PM Jonathan Gallimore < >> > > > > > > > jonathan.gallim...@gmail.com> wrote: >> > > > > > > > >> > > > > > > > > Hi Daniel >> > > > > > > > > >> > > > > > > > > Can you add the ASL header to the new files? >> > > > > > > > > >> > > > > > > > > Thanks >> > > > > > > > > >> > > > > > > > > Jon >> > > > > > > > > >> > > > > > > > > On Wed, Dec 5, 2018 at 3:12 PM Daniel Dias Dos Santos < >> > > > > > > > > daniel.dias.analist...@gmail.com> wrote: >> > > > > > > > > >> > > > > > > > >> Hi Jon, >> > > > > > > > >> >> > > > > > > > >> wonderful >> > > > > > > > >> I'm giving a revised indentation part. >> > > > > > > > >> >> > > > > > > > >> thank you very much. >> > > > > > > > >> -- >> > > > > > > > >> >> > > > > > > > >> *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 qua, 5 de dez de 2018 às 13:01, Jonathan Gallimore < >> > > > > > > > >> jonathan.gallim...@gmail.com> escreveu: >> > > > > > > > >> >> > > > > > > > >> > Hi Daniel >> > > > > > > > >> > >> > > > > > > > >> > I saw your PR come in. Just pushing my current work, >> and >> > > then >> > > > > I'll >> > > > > > > > take >> > > > > > > > >> a >> > > > > > > > >> > look at it. I'm excited to give it a go. >> > > > > > > > >> > >> > > > > > > > >> > Cheers! >> > > > > > > > >> > >> > > > > > > > >> > Jon >> > > > > > > > >> > >> > > > > > > > >> > On Mon, Dec 3, 2018 at 5:17 PM Daniel Dias Dos Santos < >> > > > > > > > >> > daniel.dias.analist...@gmail.com> wrote: >> > > > > > > > >> > >> > > > > > > > >> > > wonderful, >> > > > > > > > >> > > >> > > > > > > > >> > > I'll do them. >> > > > > > > > >> > > >> > > > > > > > >> > > thank you very much >> > > > > > > > >> > > -- >> > > > > > > > >> > > >> > > > > > > > >> > > *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 seg, 3 de dez de 2018 às 15:14, Jonathan >> Gallimore < >> > > > > > > > >> > > jonathan.gallim...@gmail.com> escreveu: >> > > > > > > > >> > > >> > > > > > > > >> > > > How about one example for each? A working example >> is >> > > cool, >> > > > > but >> > > > > > > it >> > > > > > > > >> would >> > > > > > > > >> > > be >> > > > > > > > >> > > > great to use a CXF-based example that we can use to >> > > drive >> > > > > out >> > > > > > > the >> > > > > > > > >> > issues >> > > > > > > > >> > > so >> > > > > > > > >> > > > we can help fix them. I'm of course happy to help >> you >> > > out. >> > > > > > > > >> > > > >> > > > > > > > >> > > > Cheers! >> > > > > > > > >> > > > >> > > > > > > > >> > > > Jon >> > > > > > > > >> > > > >> > > > > > > > >> > > > On Mon, Dec 3, 2018 at 4:55 PM Daniel Dias Dos >> Santos >> > < >> > > > > > > > >> > > > daniel.dias.analist...@gmail.com> wrote: >> > > > > > > > >> > > > >> > > > > > > > >> > > > > Hi Jon, >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > It's good that you like MVC spec, it's a very >> simple >> > > and >> > > > > > very >> > > > > > > > cool >> > > > > > > > >> > > spec, >> > > > > > > > >> > > > > because it reuses our knowledge in Jax-RS. >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > I would love to make an example for Tomee 8, >> would >> > > have >> > > > > > > problem >> > > > > > > > in >> > > > > > > > >> > > using >> > > > > > > > >> > > > > RestEasy for this? >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > so far the Apache CXF is not 100% in Ozark / >> Krazo, >> > we >> > > > are >> > > > > > > > having >> > > > > > > > >> > some >> > > > > > > > >> > > > > problems in the test phase of the TCK that is >> > failing. >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > But I can do an example using Apache CXF, I do >> not >> > > know >> > > > > how >> > > > > > > far >> > > > > > > > >> the >> > > > > > > > >> > MVC >> > > > > > > > >> > > > API >> > > > > > > > >> > > > > will work with it. >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > I think it's a good idea to work the way with it. >> > : ) >> > > > > > > > >> > > > > -- >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > *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 seg, 3 de dez de 2018 às 09:43, Jonathan >> > Gallimore >> > > < >> > > > > > > > >> > > > > jonathan.gallim...@gmail.com> escreveu: >> > > > > > > > >> > > > > >> > > > > > > > >> > > > > > Hi Daniel >> > > > > > > > >> > > > > > >> > > > > > > > >> > > > > > Thanks so much for posting! >> > > > > > > > >> > > > > > >> > > > > > > > >> > > > > > I really like the MVC spec, and use it for a >> > system >> > > > with >> > > > > > > TomEE >> > > > > > > > >> > here. >> > > > > > > > >> > > > I'd >> > > > > > > > >> > > > > > love us to have an example that shows TomEE 8 >> with >> > > an >> > > > > > > > >> application >> > > > > > > > >> > > using >> > > > > > > > >> > > > > the >> > > > > > > > >> > > > > > latest Krazo version. Is that something you'd >> be >> > > > > > interested >> > > > > > > in >> > > > > > > > >> > > > creating? >> > > > > > > > >> > > > > > This page hints at some issues running on >> TomEE: >> > > > > > > > >> > > > > > >> > > > https://www.mvc-spec.org/ozark/docs/install-javaee.html >> > > > > - >> > > > > > > > >> perhaps >> > > > > > > > >> > we >> > > > > > > > >> > > > > could >> > > > > > > > >> > > > > > work through these along the way? >> > > > > > > > >> > > > > > >> > > > > > > > >> > > > > > Jon >> > > > > > > > >> > > > > > >> > > > > > > > >> > > > > > On Sat, Dec 1, 2018 at 2:28 AM Daniel Dias Dos >> > > Santos >> > > > < >> > > > > > > > >> > > > > > daniel.dias.analist...@gmail.com> wrote: >> > > > > > > > >> > > > > > >> > > > > > > > >> > > > > > > Hi folks, >> > > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > > My name is Daniel, today @dblevins me sent >> the >> > > > > > following >> > > > > > > > >> link ( >> > > > > > > > >> > > > > > > >> > > > > https://www.tomitribe.com/blog/tomee-for-the-holidays/) >> > > > > > . >> > > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > > I think an very good initiative and I would >> like >> > > of >> > > > > help >> > > > > > > in >> > > > > > > > >> > > > something . >> > > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > > My experience in Open Source is low, I begin >> > with >> > > > MVC >> > > > > > 1.0 >> > > > > > > ( >> > > > > > > > >> > > > > > > https://github.com/mvc-spec) and I did a >> little >> > > > each >> > > > > > for >> > > > > > > > >> help, >> > > > > > > > >> > > like >> > > > > > > > >> > > > > > report >> > > > > > > > >> > > > > > > bugs, writing tutorials, help in site and >> some >> > > > lecture >> > > > > > for >> > > > > > > > >> this >> > > > > > > > >> > one >> > > > > > > > >> > > > > > > featuring JSR. >> > > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > > A of tutorials is with Tomcat and Tomee using >> > the >> > > > > > > RestEasy ( >> > > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > >> > > > > > > > >> > > > > >> > > > > > > > >> > > > >> > > > > > > > >> > > >> > > > > > > > >> > >> > > > > > > > >> >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> https://medium.com/danieldiasjava/jsr-371-mvc-1-0-com-tomcat-tomee-45f9638f276c >> > > > > > > > >> > > > > > > ) >> > > > > > > > >> > > > > > > (pt-br) . >> > > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > > thanks. >> > > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > > -- >> > > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > > *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 >> > > > > > > > >> > > > > > > >> > > > > > > > >> > > > > > >> > > > > > > > >> > > > > >> > > > > > > > >> > > > >> > > > > > > > >> > > >> > > > > > > > >> > >> > > > > > > > >> >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > >> > > > >> > > >> > >> >