Hi Ferdi!

Thank for posting, and welcome! I see a few folks on here have already
replied, that is fantastic. If you're a total newcomer to TomEE, its worth
grabbing the distributions and trying to get some existing applications you
have used on WildFly deployed. We don't support the modules system that
WildFly has (or had last time I used it), but you should be able to deploy
a .war or .ear by deploying it in the webapps directory. We do have some
(old) support for reading JBoss deployment descriptors - I don't know how
that stacks up with recent changes in WildFly.

Resources that would be looked up in JNDI, and used with @Resource or
mapped to java:comp/env are configured in conf/tomee.xml. This is probably
not a bad place to start for the details:
http://tomee.apache.org/admin/configuration/resources.html

Should you run into questions or problems, please just ask. If you don't
find the answer in the docs, we probably have a documentation gap you can
help fill. If something should work and doesn't, that may be a bug that
needs fixing, and it would be awesome to have your help with that. Feedback
you have on things like logs would also be welcome, and could provide some
really useful changes.

There are some things underway at present:

* Java EE 8 support. The TCK is now available openly at Eclipse. I'll ask
if we can open up the work in this area. The learning curve is steep, but
once you have the initial setup, its not bad to work with. One idea I had
was maybe a couple of calls that people could join to go through the setup
and ask questions. I don't know how feasible this is. If it were possible,
we'd need to record them and make all the documentation available openly.

* Java 11 support. This something that has be going on for a little while,
and is complex due to the number of libraries that also need updates. My
suggestion here would be to try 8.0.0-M1 - we know it will have some
issues, but discussing those here and looking at next steps will be
worthwhile.

Other help we could use:

* The build. Something is failing:
https://ci.apache.org/builders/tomee-trunk-ubuntu-jvm8. Digging into issues
there and helping fix tests is always helpful. Starting to build with Java
11 is something Otavio Santana started, and I played around with a bit on
my GitHub fork if you wanted to try that:
https://github.com/jgallimore/tomee/tree/j11

* Documentation / Website: We can always use help with this. Ivan (who has
already replied to you) did a great video on this:
https://www.youtube.com/watch?v=P6IM0LDevVU

* Examples: We added MicroProfile recently; there is some work underway to
add examples for MicroProfile on TomEE.

In terms of some things to take a look at in the code - not necessarily to
fix, but if you're looking for some understanding (I'll be brief, and won't
cover everything, but hopefully give you enough so you can start looking
around and ask questions):

(in openejb-core)

1. ConfigurationFactory - this gathers up all the information relating to
the application to deploy, reads descriptors and annotations etc. This gets
passed onto the Assembler.
2. Assembler - this does the heavy lifting of actually creating the
application, and instantiating all the resources that the application needs
3. Resources - these are Java objects that are instantiated by using a
recipe, using attributes specified in tomee.xml. One trick is that you
don't need to define every property - there are defaults. In fact, if your
app needs a database, or a JMS connection, and you don't specify one, TomEE
"magically" creates one. The defaults for these come from service-jar.xml.
Have a look through those, there are some good comments in there. If you
search for where that service-jar.xml file is loaded, you can probably then
look through the call stack to see exactly how/when it is loaded and used
to create resources.

If the above sounds like nonsense, let us know, that's a sign that we need
to document it some more, and we could certainly work on that together to
increase your knowledge so you can work with the code.

I hope this helps! Thanks again for posting, and welcome to the community!

Jon

On Thu, Nov 22, 2018 at 3:29 AM Ferdi <d...@ferdi.id> wrote:

> Hi, I'm Ferdi. I live in UTC+8. Currently work as UI tester in a
> consulting company.
>
> I recently learned Java EE 7 and have been playing with WildFly 14.
> The knowledge I have for Java is limited, but I know my way around the
> IDE and Maven, and would like to contribute to TomEE.
>
> I hope this is thorough enough for an introduction.
> Thank you.
>

Reply via email to