Forum Post: AW: WebClient and external files

  • Thread starter Thread starter Mike Fechner
  • Start date Start date
Status
Not open for further replies.
M

Mike Fechner

Guest
Code that is executed on the server does not need to be part of the web client packages. Most of the time, a single client does need only a single connection to the AppServer. Are you using an ADM2 application? Then you should be making your AppServer connection using something like this: {adecomm/appserv.i} RUN appServerConnect IN appSrvUtils (“partitionname”, ?, ?, OUTPUT hServer) . That will allow you to share the AppServer connection with your ADM2 code (SDO’s). The typical exception where you need a second AppServer connection would be if you need a second connection to run long running asynchronous AppServer calls in parallel to the calls done by the SDO’s. But, keep it simple to start with ;-)

Continue reading...
 
Status
Not open for further replies.
Back
Top