The developerWorks Connections Platform is now in read-only mode and content is only available for viewing. No new wiki pages, posts, or messages may be added. Please see our FAQ for more information. The developerWorks Connections platform will officially shut down on March 31, 2020 and content will no longer be available. More details available on our FAQ. (Read in Japanese.)
From archive: January 2009 X
Fix pack 22.214.171.124 is now available. It includes fixes across all areas of the product, so everyone who is using 7.5.x should install it.
You can read the release notes and download the code from IBM Rational Business Developer Version 126.96.36.199
With 188.8.131.52, RBD now supports zLinux as a Java-generation runtime platform. Both JSF and TUI applications are supported, equivalent to our other Java platforms. VAGen Web transactions and Informix CUI applications are not supported on this platform. [Read More]
In another post, I explain how to install project zero/sMash into RBD 7.5.1. In this post, I will describe a Rich UI application that consumes a set of REST services offered by the zero.employee.demo example that comes with sMash.
The end result application is here:
You will notice that while you are editing the contents in the grid, that the EditableGrid keeps track of all the changes that are made to its contents. The EmployeeDemo listens to these changes, and updates the UI to indicate them. Later on, when the user decides so, the changes can be uploaded to the server in bulk. It is this ability of EGL Rich UI to maintain state inside the client that allows for highly interactive, rich applications. It is very difficult, if not impractical to do this in, say, JSF.
See the attached project interchange for the sample code, the EditableGrid, and the RestStore.
Download the latest sMash CLI (command line interface) from the following location:
The runtime is about 1.1MB. Make sure to remember where you unzip your sMash runtime as you will need it when enabling sMash in RBD 7.5.1.
After unzipping add the zero directory and the zero bin directory, such as d:\zero and d:\zero\bin, to your Windows PATH variable (click *Start > Control Panel > System > Advanced > Environment Variables…*):
Installing sMash Eclipse Support into RBD 7.5.1Installing sMash into RBD is very simple and straightforward three-step process.
Step 1: Launch RBD 7.5.1 and run the Help > Software Updates command.
Step 2: Choose the Available Software tab and click Add Site. In the dialog enter the
Then hit OK. After the eclipse instance visits the update site, select the features to install, and hit the Install button:
Accept the licensing terms and wait for the install to finish (which happens in the background. You will see progress going from 45% to 48% to 54% to 67% to 92%, etc:
In total, installation should take around 2 minutes or less. Step 3: After finishing, you are asked to restart the IDE. We recommend you do so:
After restarting, run Step 4: run Window > Preferences find the WebSphere sMash category, and enter the directory where you unzipped the CLI. The CLI installation will be verified, taking about 1 minute, and you will end up with the following dialog:
Trying out a WebSphere sMash Demo Application
Run the File > New > Project command and create a new WebSphere sMash Sample Application (and not just a WebSphere Smash Application, or you have to do a lot more work yourself):
Name the project, and hit the Finish button, allow sMash to look into its repository, and then select the employee sample:
You may see the sMash wizard blocking the UI for about a minute. Eventually, the following project is created:
A complete description of the sMash Employees Demo is given here:
After creating the project, we have to initialize the database. Open a DOS command prompt, locate the workspace directory (in the sample below it is “d:\workspaces\rbd751-nov1”, but your actual path depends on where your workspace is located. Then run zero runsql setup_db.sql to execute the SQL and prepare the Derby database that comes with zero.employees.demo:
After running the SQL, the you are ready to launch the demo on sMash. To run your new sample application, right-click the project and click Run As > WebSphere sMash Application. A message is displayed in the console indicating that the application was started on port 8080.
Open a browser and point it to http://localhost:8080. You should see something like this:
Take a look at the Eclipse console view to see your application messages:
You can click on the red button to terminate your application.[Read More]
In 4Q, we conducted free 1 day seminars focused on Web 2.0 for System z using EGL and EGL Rich UI. The seminar was especially cool because we brought Thinkpads installed with the software. Throughout the day (between the different presentations) everyone had the opportunity to walk through some sample scenarios (like building a CICS Web service in Rational Developer for z, creating a Rich UI application that call the Web service, etc). Fairly good way to spend a day! (Oh, and lunch was provided, too).
We are running the seminar again this quarter in 6 locations:
For more information and to register, visit this page.[Read More]
Let me be the last person to wish you a Happy New Year!
This is a quick post to remind everyone to pay attention to the event handlers you decide to use in your EGL RUI applications. On the surface the event handlers onClick and onChange do the same thing for a ListMulti widget. That said, making sure you use onChange allows your application to function as expected when using the keyboard.
Here is an example to show you what I mean. The following RUIHandler creates a ListMulti widget and prints beneath it the number of items selected. When using the mouse, regardless if I used onClick or onChange the text label would print the correct value. Now, if I select the first element with the mouse, then hold the SHIFT key and use the UP/DOWN keys to select the other list elements, if I had the event handler as onClick those keyboard actions wouldn't be registered. Most of the time you would want them - so be sure to use the onChange event handler.
All the best,
(updated for V184.108.40.206 and 220.127.116.11 - 03/26/10)
A question I frequently get is what is the current maintenance is for the Rational COBOL Runtime for z/Series V6.0.1 product. Well the answer is it depends on what level of RBD you are using. Here is the list of PTFs by RBD release and the minimum PTF per release. Note that all have to be installed, up to the level of RBD you are using.
Also, the support website has now been updated as well. See:
Rational COBOL Runtime PTF List
For RBD in general:
RBD Fixes by Version
Make sure you follow these install notes when getting ready to apply these PTFs.
Level / PTF #
v6010 : /
v7000 : UK24108
v7100 : UK29575
v7101 : UK40726
v7102 : UK42718
v7510 : UK42740 (minimum level to support v7.5.x)
V7513: UK46879 UK50845
V7105: UK53533 UK54380
V7515: UK55911 <-- This PTF will support all other levels of EGL as well (V7.5 .x and V7.1.x).