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,
0 votes
1 answers
1540 views
You can't proceed like this. WARs have isolated classpath unless you're using cross context.
Indeed, I choose another approach, I'm creating a new bundle to create new Nuxeo APIs following this guide: https://www.nuxeo.com/blog/how-to-extend-nuxeo-rest-api/
01/26/2017