1. shoaib siddiqui
  2. PowerBuilder
  3. Friday, 2 March 2018 17:19 PM UTC

1 - I have mobile only application, trying to deploy on windows server (has already powerserver setup, tested good) But going through this wizard and it is requiring me to pick a  Web Server…Why ?
Why do I need a web server if I want to convert to "Mobile only" app.  shouldn't’t it deploy to PowerServer ?

Issue# 2:

2 – What is the alternate if my organization does not allow FTP at all? The web server configuration will not allow me without entering FTP info.

Thanks

 

 

 

 

Marco Meoni Accepted Answer Pending Moderation
  1. Friday, 2 March 2018 17:44 PM UTC
  2. PowerBuilder
  3. # 1

Hi Shoaib

#issue 1

you are almost done. Select the web server from the two that you have available, I guess the web server connected to the currently selected PowerServer (ps_remote). Powerserver and web server go together.

#issue 2

select "local server" as file transfer type, you can specify any windows share (e.g. samba remote folder) mounted as local driver.

Cheers,

Marco

 

Comment
  1. shoaib siddiqui
  2. Friday, 2 March 2018 18:57 PM UTC
Thanks Marco,



I will look into  "Samba remote folder" , after installing this piece, Will  wizard  move/transfer files to PowerServer  area or I have to copy folders manually ?  how does this Samba thing works.



 



 

  1. Helpful
  1. Marco Meoni
  2. Saturday, 3 March 2018 10:33 AM UTC
Hi Shoaib,



I guess you know how to mount a remote folder as local Windows driver. In other words, how to have a local disk K: L: M:, or whatever letter you want, pointing to a remote path.



What allows the remote path to be accessed and shared across network is the SMB/CIFS protocol, and Samba is just one of the many implementations.



So, have the server folder c:\inetpub\wwwroot mounted as, for example, Z: driver on your development machine running PB 2017.



Then specify Z:\ as "Web Root path" in the Web Server Profile Configuration panel. You are now ready to deploy your PB/Appeon application directly to the Appeon PowerServer!



Cheers,



Marco

  1. Helpful
There are no comments made yet.
Armeen Mazda @Appeon Accepted Answer Pending Moderation
  1. Friday, 2 March 2018 18:11 PM UTC
  2. PowerBuilder
  3. # 2

Yes, a web server is required for the mobile app.  The solution is designed to establish a connection with the Web server whenever Internet connection is available (even for offline apps) to update the mobile app files.  For example, when you made a change to your DataWindows, PowerScript, etc.  The web server transfers these modified files to the mobile device and incrementally updates the mobile app.

If the server is a remote server (not local) and you don't want to FTP the other option is to use the Application Packaging Wizard to create a server deployment package.  You somehow get that package to the server and when you run it then it will deploy the app to the server.

Comment
  1. shoaib siddiqui
  2. Tuesday, 6 March 2018 17:42 PM UTC
Thanks Armeen,  I am trying to locate  Application Packaging Wizard.

I cant find "Package () button on the Appeon Developer toolbar " ? 



-----------configuration 

Appeon PowerBuilder Universal Edition, Version 2017 R2 1756

windows 7

PowerServer installed on Windows 2008 server R2 

  1. Helpful
  1. shoaib siddiqui
  2. Tuesday, 6 March 2018 18:22 PM UTC
I found it, it's different icon in R2

  1. Helpful
  1. shoaib siddiqui
  2. Wednesday, 7 March 2018 19:41 PM UTC
Sorry!, I Just cant find "Application Packaging Wizard" in Powerbuilder, the closest thing I found is..





After running this wizard, it was hard to find my files. It creates files under:

C:\Program Files\Appeon\PowerServer 2017 R2\Toolkit\Project\hisample\release.



Where I do copy/package these files OR Am I not using the right tool?





  1. Helpful
There are no comments made yet.
Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Saturday, 3 March 2018 02:11 AM UTC
  2. PowerBuilder
  3. # 3

Hi Shoaib,

 

PowerServer Mobile extends the capabilities of PowerBuilder so that a PowerBuilder application can be deployed and run on the mobile device. The deployment process produces a true native mobile application with a J2EE-based or .NET-based back-end and an mobilestyle UI front-end.

PowerServer Mobile is composed of an application workspace, a developer tool, and a set of runtime server components: Appeon Workspace, PowerServer Toolkit, PowerServer (which includes the AEM), PowerServer Web Component, and PowerServer Help.

The mobile application is running on standard n-tier architecture - the client tier (presentation layer), middle tier (business logic layer), and data tier are logically separated.
Figure 1.13: 

n-tier architecture

 

You can find out more here: https://www.appeon.com/system/files/product-manual/getting_started.pdf

 

 

Regards,

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.