Search My Blog

Tuesday, December 3, 2019

STD Integrated Framework - PowerBuilder 2019 TCP/IP Sockets

** Hot News **

TCP/IP Programming

Updated Socket Application Example for PowerBuilder 2019!


        Software Tool & Die Inc. today are very pleased to announce a brand new MS-Windows Socket (2019R2) example application built with the latest STD Integrated Framework (2019R2). This latest release of the Socket application is also built using the latest Appeon PowerBuilder 2019 IDE and will also work with the upcoming PowerBuilder 2019 R2 Beta test version as well.

Client Application - Ready to send DW object & buffers
 
         The STD Socket example application demonstrates a significant enhancement to the the PB developer's toolbox! The Socket example showcases the TCP/IP features in the STD Integrated Framework and more importantly returns the power of Distributed PowerBuilder back to the application developer. The TCP/IP socket support in the STD Frameworks is based on the work by Tom Cervenka's Sockets objects (written in pure PB, dating back to the PowerSoft days) that utilizes MS-Windows socket API's for FTP'ing files between servers and/or peer-to-peer communications.

Server Application - Receiving DWO and buffers from sender
    In addition, the updated STD Socket example will also now work with PowerServer 2019 as well when deployed as a Web Application! 

Actual Web deployed Socket App talking to its Native PB counter-part!

Watch the video!


    You can download the updated STD Socket example application from the STD Framework's website by clicking here to get more productive in peer-to-peer communications with PowerBuilder! Note that a new "Archive" sub-folder has also been added to this location as well. This folder contains any previous versions of the socket example application!

 
Enjoy!


Regards ... Chris

Monday, November 25, 2019

STD Integrated Framework - PowerBuilder 2019 External Files Example!

** Hot News Item **

PowerBuilder 2019 - External Files Example!

  

    Software Tool & Die Inc. (STD) are please to announce the new release of an STD Integrated Framework example application that utilizes the framework to implement External File Drag & Drop! The ability to drag & drop into a PowerBuilder application via the STD Framework has been feature for almost a decade. However, there was not a detailed example on how to perform this action except in the OrderEntry example application. The STD framework implements this by allowing the PB Developer to just set one property, coding one event and then directing the file name data to any standard native PB control!
  
    The External File Drag & Drop example application utilizes the STD Integrated Framework (version 2019.5.0.142 "beta" release) and the newest Appeon PowerBuilder 2019 release (build 2082) to locate external files dragged into any PB Application. In turn, the framework facilitates identifying external files coming into a PB application. This latest framework now also detects if the PB App is running in "ADMIN Mode" as well. This is important because external file drag & drop cannot be performed while the application is in that mode.
  
A list of External Files can be directed to any PB control!


    The Integrated framework allows the PB developer to enable the External Files Drag & Drop by just setting one property. The PB developer then just needs to code one event to handle the external file drop, as follows:
   
Three easy steps a) Property ON, b) Code framework event, c) Use function to get file names!

     The STD External File Drag & Drop PowerBuilder example application can now be downloaded from the SourceForge website. Please click here to download & enjoy!
  

Regards ... Chris

Sunday, November 10, 2019

STD Integrated Framework - PowerBuilder 2019 Send Message Example!

** Hot News Item **

PowerBuilder 2019 - Send Message Example!


    Software Tool & Die Inc. (STD) are please to announce the new release of an STD Integrated Framework example application that utilizes the framework to implement O/S messaging! The Send Message feature inside PowerBuilder has been around since version 2.0. However, it is not a well documented and known feature of the PB development tool. The STD Send Message example goes even further by allowing applications to communicate across processes. The STD framework allows the PB developer to easily implement messaging and be more productive at the same time!
  
    The Send Message example application utilizes the STD Integrated Framework (version 2019.4.0.141 released on 2019-09-30) and the newest Appeon PowerBuilder 2019 release (build 2082) to locate external applications. In turn, the framework facilitates external applications (written in almost any development language) to send messages back to PB applications.

Inter-Process Example of sending handle messages back & forth.

    The Integrated framework also allows you to send messages from one application to another. These PB applications can be running as either a Native, System Tray or System Task in nature.

Example of Intra-process messaging between native applications.

     The STD Send Message PowerBuilder example application can now be downloaded from the SourceForge website. Please click here to download & enjoy!
  

Regards ... Chris

Sunday, October 6, 2019

STD Integrated Framework - PowerBuilder 2019 Multi-Threading Example!

** Hot News Item **

PowerBuilder 2019 - Multi-threading Example!


    Software Tool & Die Inc. (STD) are please to announce the release of an updated STD Integrated Framework example application that utilizes the framework to implement multi-threading! The multi-threading feature inside PowerBuilder has been around since version 5.0 when the Distributed PB feature was first introduced. However, it is not a well documented and known feature of the development tool. The STD Multi-threading example goes even further by allowing applications to utilize the vast resources of Integrated framework taking multi-threading to a higher functional level. The framework allows the PB developer to easily implement multi-threading and be more productive at the same time!
    The updated Multi-threading example application now utilizes the STD Integrated Framework (version 2019.4.0.141 released on 2019-09-30) and the newest Appeon PowerBuilder 2019 release (build 2082).

Note: The STD Framework is the only PB framework in existence that is both thread aware and multi-thread safe!


    The Integrated framework allows each thread to be monitored by the frameworks performance dialogue, write to the O/S Console, log a message in the main tread's application log, share DBMS access, send messages back & forth between threads or between the main thread and its sub-threads, introspect the O/S, etc - just to name a few interesting aspects. Messages may also now be written to the MS-Windows Event Log and Debug logs as well from each sub-thread!


  The STD multi-threaded PowerBuilder example application can now be downloaded from the SourceForge website. Please click here to download & enjoy!
  

Regards ... Chris

Thursday, October 3, 2019

STD Integrated Framework - PowerBuilder 2019 MS-Windows Explorer

** Hot News **

PowerBuilder - Windows O/S Explorer


    Software Tool & Die Inc. are please to announce the release of its updated MS-Windows O/S System Explorer utility all written in PowerBuilder 2019 - build 2082! This utility demonstrates the power of using the STD Integrated Framework plus MS-Windows SDK calls to locate every running application, process, service, etc running in the entire operating system. The latest release contains the following upgrades ...
  • Migrated the code base from PB2017R3 build 1880 to PB 2019 - build 2082!
  • Updated the STD Integrated framework to the latest release (2019.4.1.141)
  • Added MS-Window "Notifications" support
  • Now supports the new PB2019 Theme feature 
  • Now supports the newer PB2019 built-in Icons for a more modern look
  • Added support for PowerServer 2019
  • Various small performance improvements
WinExplorer running in Windows 10 in "Native" application mode!

     This release is also already ready for deployment as either a Web Browser based application or IWA (Installable Web Application) based application utilizing the PowerServer 2019 software. With the combination of the STD Integrated  Framework plus Appeon PowerServer - the MS-Windows Explorer application will now function in either the Internet Explorer, Opera, FireFox, Chrome or Edge web browsers.
WinExplorer running as a PowerServer "Web" application within the Edge browser!
  
     Unlock the "Power" in PowerBuilder & PowerServer and download this free PB2019 utility application. Check out the prowess of the Integrated framework assisting the Windows Explorer application - click here to download!

Enjoy ... Chris

Wednesday, September 25, 2019

STD Framework - PowerBuilder 2019 to Java!

** New Feature **

STD Integrated Framework

PowerBuilder 2019 to Java Interoperability!

 

    Software Tool & Die Inc. (STD) are pleased to announce the release of the updated PowerBuilder to Java interoperability example application (PB2Java)! The updated PB2J example (2019R2) application is also built from the latest STD Integrated Framework (version 2019.4.0.140 released on 2019-09-16) and the newest Appeon PB2019 release (build 2082). Now the ability of a PowerBuilder native based application to "consume" a Java class and call its methods is even easier than before and totally encapsulated into the STD Integrated Framework for PB developer productivity!

    The PowerBuilder IDE since early 2000 has had the ability to call EJB (Enterprise Java Beans) due to the introduction of the Java based Application Server by Sybase named EAServer. With EAS came the ability to call a remote EJB in any J2EE based application server by using RMI (remote method invocation) that was exposed as the "Home" interface. The EJB Home Interface though can be either local or remote in nature. Thus when dealing with a native MS-Windows PB application that has Java classes deployed along side of it, we can use the local Home interface to interact with it from a PB application. This is, as long was we expose the Java application as an EJB (that is .. follow the EJB construction rules).

   When the Java developer creates a Java class, they can also create a Home interface or what PowerBuilder would refer to as an EJB "proxy". A Proxy is a Class/Method signature that allows PB to treat the Java application as a "bean". According to the generally accepted definition of a Java proxy is as follows: "A proxy class is a class that implements a list of interfaces". Since CORBA (Common Request Object Broker Architecture) support was added to PowerBuilder a long time ago - PB understands "proxies" very well. So if we can get your PB application a list of proxy classes it needs to deal with an EJB, it can then communicate with it. First of all, we can build a Java Class and then build a HOME interface for that using your standard development environment - even "notepad" for us poorer folk. Once completed, you can just compile the EJB class and its Home class using the JAVAC compiler, as follows:

  Now that we have an EJB and a Home class to serve as a "proxy" road-map for PowerBuilder, we can use the Classic IDE to build the necessary interfaces for us in a PowerBuilder Library (PBL) to use in our application. To perform this step, we need to call on the IDE's Project Painter to help us with this task. When creating a new project, we can then select EJB Client Proxy option. This will build a a PB Project object that can build all the necessary proxy interfaces for you. All we need to do is specify the Java Bean  class and its HOME (interface) class to the proxy painter. for example:

  Once the EJB Client Proxy project is properly configured, the next step will be to run the project, as follows:

    Now that we have the "proxies" required for the Java interface (Home) class, we can now instantiate the EJB by using its proxy in your PB Application. The only challenge beforehand, is loading the Java Virtual Machine (JVM) and activating its JNI (Java Native Interface) JDK to inter-operate with your Java EJB. Luckily, this is where the STD Integrated Framework steps in to help you. All you need to do is call a new "of_create_instance" method in the Application Controller supplied by the framework and it will perform all of the JVM the house keeping for you including: loading, reusing, unloading, garbage collection, etc of the PB to JVM infrastructure! So now the PB Developer can just concentrate on using the EJB's methods & processes, for example:
 
 
  To make this easier to follow, STD have created a working example of this PB to Java mechanism for you to examine, learn and move forward with your organizations Java interoperability within your PowerBuilder project. You can download the PB2Java example built from the STD Integrated Framework by clicking here!
   
Enjoy!

Regards ... Chris

Thursday, September 19, 2019

Appeon Elevate2019 Conference Coming Soon!

** Hot News **

Elevate 2019 Conference

https://www.appeon.com/elevate

      Appeon is welcoming a broad range of presentations for their Elevate 2019 Developer Conference, which will take place in Philadelphia, PA (USA) on October 28-30, 2019. The Elevate 2019 conference aims to be a technical conference, offering developers training on the latest PowerBuilder features, the opportunity to schedule one-on-one meetings with the Appeon team, and networking with other developers, community leaders and reference customers. Check the list of this years presenters!

Elevate 2019 is especially helpful for companies who want to: 



The latest PowerBuilder 2019 offers C# development capability, and also Appeon is releasing a new C# migration solution for PowerBuilder. The .NET DataStore object allows any PowerBuilder developer to quickly develop .NET projects. Automated code generators and a C# migration framework reduce migration effort of existing PowerScript projects by up to 50%. At Elevate 2019, you can participate in workshops and technical training sessions to learn in detail.  


Appeon has invited customers to join Elevate 2019 and share their experiences and lessons learned of migrating from PowerScript to C#. You will get deeper understanding of why Appeon’s C# migration solution is so fast while still adhering to open standards and good design practices, how to deploy server-less to the Cloud (e.g. Azure), and how to maintain your project in any C# IDE. 


There are a handful of sessions at Elevate 2019 that focus on improving the UI & UX of the apps. Check these sessions and get inspired with ideas on how to bring UI & UX improvements to your own projects.

    The session catalog for the Elevate 2019 conference is now available! You can now review the catalog to better understand the content and plan your time at the conference. This year, the sessions will also include customer case studies of migrating to the cloud and C#. 

     Check out the conference agenda and while you are at the conference. If you need some key reasons to present to your management for attending, check out the "Why Attend" document. You may also want to take advantage of booking a meeting with Appeon ahead of the conference. To arrange a one-on-one meeting with Appeon, you can do this from the Appeon Website Elevate2019 area, then scroll down until you see the link like pictured below ...

https://www.appeon.com/elevate



     See you in Philadelphia on October 28-30, 2019! 



Regards ... Chris