Programming med AEM forms - Java API (EJB) | Community
Skip to main content
New Participant
June 13, 2017
Solved

Programming med AEM forms - Java API (EJB)

  • June 13, 2017
  • 3 replies
  • 3073 views

Is this a supported connection mode in AEM forms: Java API (EJB) - Uses the LiveCycle strongly-typed API and the connection mode is set to EJB.

Seems to be old information? AEM forms *                Programming with AEM forms

This(jnp://<ServerName>:1099 (default port)) is an old jboss-way to connect to remote host, isn't the remoting port 4447 in the supporeted jboss-version aem-forms6?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by DarrenBiz

Yes this has changed and the ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT is now "remote://[hostname]:4447"

I would swap over to SOAP though as I'm sure all services are available using the default SOAP Endpoint. Check the /sdk directory in the AEM Forms JBoss installation for sample files and invocations.

Cheers

3 replies

New Participant
June 16, 2017

Problem sovled with ConvertPdfServiceClient, my standalone java-client didn't set the globalDocumentStorageRootDir. 

New Participant
June 14, 2017

According to the documentation the ejb-mode has better performance, we use this services a lot so i'm a bit worried about changing to soap.

And i mange to get it working with a couple of services but NOT the ConvertPdfServiceClient(toImage2-method). Soap-mode works. 

"The EJB mode uses the RMI/IIOP protocol, and the performance of the EJB mode is better than the performance of the SOAP mode."

DarrenBiz
DarrenBizAccepted solution
New Participant
June 14, 2017

Yes this has changed and the ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT is now "remote://[hostname]:4447"

I would swap over to SOAP though as I'm sure all services are available using the default SOAP Endpoint. Check the /sdk directory in the AEM Forms JBoss installation for sample files and invocations.

Cheers