How To use Nuxeo via JAVA API?
I am trying to use JAVA API of Nuxeo in serve-side:
My scenario is: Application Server Wildfly Nuxeo deployed as static war together my application that is another war. I have added Nuxeo API in my WAR (Interfaces) and I tried the following code:
CoreSession session = Framework.getService(CoreSession.class);
The runtime in the Framework class is not initialized.
What do you suggest for me?
ty in advance,
You can't proceed like this. WARs have isolated classpath unless you're using cross context.