PowerBuilder Tips, Tricks, and Techniques

Berndt Hamboeck

Subscribe to Berndt Hamboeck: eMailAlertsEmail Alerts
Get Berndt Hamboeck: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Berndt Hamboeck

EAServer includes a powerful API called the Interface Repository. In this article I'll create a small service component to clean this repository of unwanted files that might be created when you deploy PowerBuilder components. I'll show how to get all the packages associated with your server and read your component's special properties. With the Interface Repository you can do all the EAServer administration and monitoring tasks, for example: Create and ping connection caches Query for installed packages and components Get information about the server (OS, version) Refresh/restart/shut down a server Place or remove the server in/from Admin mode Change the Jagadmin password Monitor the server (network info, component info) Read the EAServer log files Most of what the Jaguar Manager does is through the repository, so it would be possible to write a complete new admini... (more)

Ant: A Build Tool from the Jakarta Project

There is (still) a growing market for Java development tools. This is a good thing, but also a big problem, since I don't have a plug-in for every IDE for my secret love: Sybase EAServer. It's not fun to build a .jar, .war, or .ear in the IDE, then fire up the Jaguar Manager and do the boring "import by hand" thing. What is the solution? The solution is Jakarta Ant (http://jakarta.apache.org/ant/index.html). Ant is a build tool that uses Java technology to perform all build-related tasks. Since it's based on Java technology, it's a cross-platform build tool that works anywhere. A... (more)

Secure Your Passwords

As architects of enterprise systems, we know that security should always be a concern when we transfer or store sensitive data. In the past, you might have cut corners because you assumed the corporate LAN provided some implicit level of protection. You might have rationalized that because only people with access to the LAN could see data being transferred across the wire - and surely no one at your company would try to steal sensitive data - your data was secure. Likewise, your internal applications might not have been passing sensitive information and you leveraged password pro... (more)

The PowerBuilder 9 IDE

Okay, I know you're already familiar with the PowerBuilder IDE. Yes, you're one of those people who knows where to find the system tree and how to turn it off. And you already know what the clip window is for (if you don't, look at it, it's a pretty cool feature - we used it in our 7-year-old application to document who made changes or bug fixes). No, that's not what I'll be talking about today. I want to discuss the internals of the IDE, as it has improved a lot since PowerBuilder 7. The Idea Why should we take a closer look at the IDE? It works great, we like it, so everythin... (more)

XML-Based/PowerBuilder User Interface

While writing one of my PowerBuilder 9 book chapters, I suddenly had an idea. Wouldn't it be great to use PowerBuilder as a WAP front end? This would be a cool application for Pocket PowerBuilder too (most of the new devices have WLAN integrated). My first thought was that this might not be so easy. WML is based on XML - PowerBuilder 9 offers good XML support - so not a problem here. No, the problem might be the creation of the controls. Hmm, I had to dig around a little bit and see if this could be a problem. Wait, I played around with the WinCE API with PocketBuilder a few wee... (more)