Search code examples
ejbjava-11openejb

OpenEJB 8 usage


I'm seeking to upgrade an existing EJB-based (EJB lite-based?) application to Java 11, using an embedded EJB container. I would try TomEE Embedded Server 8, however I can't find its GA release or release date. But OpenEJB Server is allegedly in GA and claims to support EJBs and it accepts configuration parameters and indicates that my application is loaded, however no services are bound to any ports. Where can I find an SSCCE for OpenEJB 8?

Feb 06, 2020 1:44:51 PM org.apache.openejb.util.LogStreamAsync run
INFO: Assembling app: ...\apps\myapp.jar
Feb 06, 2020 1:44:51 PM org.apache.openejb.util.LogStreamAsync run
INFO: Assembling app: ...\bin\scheduled\classpath.ear
Feb 06, 2020 1:44:51 PM org.apache.openejb.util.LogStreamAsync run
INFO: Deployed Application(path=...\bin\scheduled\classpath.ear)
[init] OpenEJB Remote Server
Feb 06, 2020 1:44:52 PM org.apache.openejb.util.LogStreamAsync run
INFO:   ** Bound Services **
Feb 06, 2020 1:44:52 PM org.apache.openejb.util.LogStreamAsync run
INFO:   NAME                 IP              PORT  
Feb 06, 2020 1:44:52 PM org.apache.openejb.util.LogStreamAsync run
INFO: -------
Feb 06, 2020 1:44:52 PM org.apache.openejb.util.LogStreamAsync run
INFO: Ready!

Solution

  • Well, now I feel foolish... TomEE was released September 2019. Given some guidance I can hopefully figure out how to use that even if it's more than I need and I find its documentation confusing.

    I couldn't find this GA the other day, but here it is: https://mvnrepository.com/artifact/org.apache.tomee/tomee-embedded