1. Sourabh Jain
  2. PowerBuilder
  3. Friday, 12 October 2018 10:52 AM UTC

Hello team, 

Could you please let us know, how to call java servlets from Appeon Powerbuilder 2017 build 1666.

Also let us know how to deploy  .war and  .ear file in powerbuilder .

Will these options to use servlets and deploying war and ear file is avaible in Appeon PB2017 R3?

 

 

Juan Alejandro Lam López Accepted Answer Pending Moderation
  1. Friday, 7 December 2018 15:51 PM UTC
  2. PowerBuilder
  3. # 1

Hello Sourabh

Servlets are modules written in Java that are used in a server, which can be a web server or application server or servlet container, to extend their response capabilities to clients when using the potentialities of Java.

The way to consume a servlet would be through your url by means of POST or GET methods, and according to that verify the Response if it were the case.

This must be done with the HttpClient object.

Appeon PowerBuilder 2017R3 does not implement war or ear files, who would in this case is the web server or application server or servlet container that supports it.

 

I hope I have been able to resolve your doubts.

 

Regards

 

Juan Alejandro Lam

Comment
There are no comments made yet.
Sourabh Jain Accepted Answer Pending Moderation
  1. Friday, 7 December 2018 07:38 AM UTC
  2. PowerBuilder
  3. # 2

Hello Team,

 

As mentioned for point 2

2) You cannot deploy .war and .ear in PB, but you can certainly use them via the JavaVM and EJBconnection objects, as well as the EJB proxies that you can create via the PB "EJB Client proxy" project.

 

Which Version of PowerBuilder will support this?

Will this work for Appeon Powerbuilder 2017 build 1666?

Comment
There are no comments made yet.
Marco Meoni Accepted Answer Pending Moderation
  1. Friday, 12 October 2018 11:37 AM UTC
  2. PowerBuilder
  3. # 3

Hi,

1) the new PB HttpClient object lets you perform http POST and GET, specify http headers and handle the content types you need (XML, JSON, binary, etc...). On the other side of the wire, you have the doGet and doPost methods of your Servlet.

2) You cannot deploy .war and .ear in PB, but you can certainly use them via the JavaVM and EJBconnection objects, as well as the EJB proxies that you can create via the PB "EJB Client proxy" project.

Best,

.m

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.