Tips and Tricks

The Beauty of Charts and Graphs in BUI

Jim Douglas, Software Developer
BBj® implements a rich API for constructing graphical charts with the BBjChart control, which is built on top of the JFreeChart API. The BBjChart control presents a unique challenge for BUI – it exposes implementation details that depend on the assumption that the JFreeChart API is running in a Java Runtime Environment on the client. But BUI doesn't run in a client-side JRE; in fact, it runs on platforms (like iOS) that don't support Java at all.

Wash up With SOAP Web Services

Richard Stollar, Software Developer
BBj® web services received a facelift, which allows you to build web services that handle more complex data structures as well as collections of records. This article presents a brief tutorial on how to create a SOAP web service that uses custom Java types in the parameter set to extend your web service offerings. We have also added Basic authentication access and will show you how to use it.

Platform-Independent Task Scheduler

Jeff Ash, Software Engineer
Nick Decker, Engineering Supervisor
There are numerous reasons why an administrator or developer might want to schedule particular tasks to run automatically at a particular point in time or at a regular interval such as a nightly backup job, maintenance utility, or some kind of batch processing job. One common method for scheduling tasks is the UNIX or Linux cron job. However, certain types of tasks (especially those which require interaction with BBj® Services) would be more easily managed if BBj had a builtin scheduling feature and it would also remove operating system dependencies from an administrators deployment plan. Therefore, BBj 12 introduced a new scheduling feature to the already robust set of tools available in the BBj Enterprise Manager as well as the Admin API.

Easy Integration to Google Apps

Brian Hipple, Quality Assurance Supervisor
Google Apps, or GApps for short, is a free service from Google providing independently customizable versions of several Google products under a custom domain name. It features several web applications with similar functionality to traditional office suites and includes Google docs, calendar, and sites. BASIS provides toolsets that allow developers to incorporate this powerful cloud functionality directly into their BBj® application, expanding the capability and value of their applications.

Anatomy of a Web App Makeover

Nick Decker, Engineering Supervisor
The BASIS Product Suite Download page, written years ago with a mixture of Perl, HTML, JavaScript, and SQL, was in great need of a makeover to address a growing list of enhancement requests from our community. As a testament to the complexity of this download page, its Perl code alone relied on a long list of external libraries to integrate critical functions such as CGI , database, email, FTP, SOAP , date/time manipulation, cryptography and SSL, and MIME encoding integration.

Looks Better, Runs Faster – GUI and BUI Image Optimizations

Nick Decker, Engineering Supervisor
BASIS went to great lengths to optimize the launch time, execution, and overall performance of the new BASIS Product Suite Download page, discussed in The Anatomy of a Web App Makeover: A Case Study at Another area for application optimization that we explored while reviewing the new BUI download page was that of image optimization – one that developers too often woefully ignore. Image optimization is really ‘low-hanging fruit’ as it does not take much time to review the graphics in an app. Optimizing file sizes can lead to big speed boosts when the app runs in a high latency or tiered architecture. And choosing the best tool for the job can also ensure that images render in the best quality possible.