I see it in a lot of sample. By the way, we also have it in org.apache.openejb.core.LocalInitialContext https://github.com/apache/tomee/blob/master/container/openejb-core/src/main/java/org/apache/openejb/core/LocalInitialContext.java#L54 https://github.com/apache/tomee/blob/master/container/openejb-core/src/main/java/org/apache/openejb/client/LocalInitialContext.java#L29
Just worrying if we need to consider this: https://github.com/apache/tomee/blob/master/container/openejb-core/src/main/java/org/openejb/client/LocalInitialContextFactory.java#L24 https://github.com/apache/tomee/blob/master/container/openejb-core/src/main/java/org/apache/openejb/core/LocalInitialContextFactory.java#L37 https://github.com/apache/tomee/blob/master/container/openejb-core/src/main/java/org/apache/openejb/client/LocalInitialContextFactory.java#L23 and it is probably deprecated as well: https://github.com/apache/tomee/blob/master/container/openejb-core/src/main/java/org/apache/openejb/osgi/client/LocalInitialContextFactory.java#L29 Em qui, 28 de fev de 2019 às 13:19, Jonathan Gallimore < jonathan.gallim...@gmail.com> escreveu: > Hey Dani > > Can you post a couple of examples? > > Jon > > On Thu, Feb 28, 2019 at 3:30 PM Daniel Cunha <daniels...@apache.org> > wrote: > > > Hi folks, > > > > I saw that we are using > > org.apache.openejb.core.ivm.naming.InitContextFactory in some places. > > Shouldn't we move the code to use definitely > > org.apache.openejb.core.LocalInitialContextFactory instead of > > org.apache.openejb.core.ivm.naming.InitContextFactory? > > > > > > -- > > Daniel "soro" Cunha > > https://twitter.com/dvlc_ > > > -- Daniel "soro" Cunha https://twitter.com/dvlc_