Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Programming med AEM forms - Java API (EJB)

Avatar

Avatar
Validate 1
Level 1
danieln72514980
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
danieln72514980
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
danieln72514980
Level 1

13-06-2017

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?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 10
Level 5
DarrenBiz
Level 5

Likes

67 likes

Total Posts

205 posts

Correct Reply

37 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Validate 10
Level 5
DarrenBiz
Level 5

Likes

67 likes

Total Posts

205 posts

Correct Reply

37 solutions
Top badges earned
Validate 10
Validate 1
Ignite 5
Ignite 3
Ignite 1
View profile
DarrenBiz
Level 5

13-06-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

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 1
danieln72514980
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
danieln72514980
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
danieln72514980
Level 1

16-06-2017

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

Avatar

Avatar
Validate 1
Level 1
danieln72514980
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
danieln72514980
Level 1

Like

1 like

Total Posts

8 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
danieln72514980
Level 1

14-06-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."