cancel
Showing results for 
Search instead for 
Did you mean: 

How To use Nuxeo via JAVA API?

Antonio_Pescion
Confirmed Champ
Confirmed Champ

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,

2 REPLIES 2

slacoin_Lacoin
Star Contributor
Star Contributor

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

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.