Web Tools archives - The iSeries Blog

The iSeries Blog:

Web tools

Jun 2 2009   4:14PM GMT

Rich Internet applications on IBM i



Posted by: Leah Rosin
AS/400, Rich Internet applications, Web Development, Web tools, IBM i

At COMMON in April, I met with Alex Roytman of ProfoundLogic Software, who shared the company’s Profound Logic TV initiative to share educational videos with IBM i professionals.

Last week the company released their newest video on Rich Internet applications (RIAs) for the IBM i. Roytman provides some background information on the technology and compares RIAs with traditional Web applications, and shows how RIA Libraries and Frameworks can help create powerful user interfaces with little to no coding.

The team at Profound Logic is interested in getting feedback on what you would like them to cover in future videos. Leave your comments here or contact them directly.

May 12 2009   4:42PM GMT

Web development on IBM i, what’s important to learn?



Posted by: Leah Rosin
AS/400, IBM i, Web Development, Web tools, Java, HTML, HATS, WebFacing Tools, Rational developer for i, Eclipse BIRT

On my way to COMMON in Reno, Nev. I happened to be sitting in a seat near another attendee. He found out who I was and unleashed a series of questions about IBM i, specifically with an interest in figuring out how to prioritize the sessions he would attend at the meeting. Some reading and past initiatives had left him a bit bewildered as to what development tools he should focus on learning, and which were disappearing into the ether. I passed the questions on to a couple of our site contributors, Jim Mason and Andrew Borts, as well as COMMON attendee and Midrange.com owner and founder, David Gibbs.

Is IBM’s WebFacing Tool replaced now by HATS, or has it been de-emphasized, or is something else going on?

Borts: WebFacing is now enhanced by HATS – or Host Access Transform Services. This isn’t your mothers “Screen Scraping” software. This is a server based system that takes 3270/5250 applications (e.g., “legacy”) using a macro language with the screen’s behind them and can serve them on a multitude of clients including mobile phones, Firefox, smart phones, and more – not just Web. This option should be considered any time a legacy application needs a little kick for the user communities, giving the ability to make Web-based screens more logical for the users.

Mason: Changes in IBM product managers change strategies. To use WebFacing and HATS now you have to license the server from IBM. HATS is the default dynamic translation of 5250 screens for the Web. You can do customization of screens with WebFacing tools and deploy the customized screens.

Is the “Rational” product something I need to use, or is it more for larger projects that involve multiple people developing and testing?

Borts: Rational Software Solutions were designed to manage large software projects where change control, requirements management, and QA management are combined.

Mason: Rational products are purchased. They are also an option. You don’t need to buy them if you don’t want to. The alternative to RDI for building RPG applications is to do it the old way using SEU and the RPG compiler. The alternative to Rational Application Developer for i to build Web applications is using the free Eclipse BIRT or Web Tools suites. With these, you can do Web reporting, build Web applications, Web services etc.

Is RPG ILE also not a major emphasis anymore? I read the paper by Sharon Hoffman from 2006 that seemed to say the direction was away from RPG and toward JAVA. Does that say time would be better spent working with JAVA than RPG?

Borts: Well, yes and no. Yes, if you have the time and energy, Java is an emerging technology and anything written has some relationship to it. But, learning all the Web technologies – starting with HTML and Javascript, then after those skills are learned (not perfected) you can address the Web technologies such as AJAX applications utilizing CGI back-end software such as RPG (which can run CGI applications), Net.Data, Java (via JSP) and PHP can serve on an iSeries. Ajax allows for partial page refreshes, which makes a Web browser to act more like a PC application. RPG has had major enhancements over the past few years. We have RPG FREE, which is being used more and more (I call this language Java Junior cause it looks like Java!).

Mason: IBM doesn’t have a direction for development for System i. They have options. Sometimes they push one more than the other but there is not a clear strategic direction, just choices available. Your choices are RPG, PHP and Java.

RPG is fine for traditional RPG applications. Despite IBM’s attempts to do better, it’s not a great choice to do Web, Web services or XML applications - newer Java tools are much better.

PHP is a decent environment for building basic Web applications and more and it has good access to i5 OS features in the PHP toolkit for System i. the PHP runtime is OK.

Traditional Java development for i5 OS uses either Rational or Eclipse Web or BIRT tools and the Java Toolkit for the System i. Eclipse and the Java toolkit are both free and very good choices. Java runtime is better than PHP. Now Java development has moved ahead of other options with Groovy and Grails. New Java based on Groovy/Grails is easier to learn and faster to build many types of applications than the other choices. I’ll start covering more on Groovy/Grails for System i in search400 and the Virtual WebSphere Community Edition user group. You can find out general Groovy info and Grails info at the linked websites. I did a hands-on lab at COMMON building a Grails Web database application that created, updated, searched books and authors in a database. All students were RPG with no Web experience and completed the lab in one hour. I also do QuickWeb workshops for companies trying to make transitions to Web technologies quickly.

Gibbs: IMO, RPG and Java best work hand in hand. Java (JSP, servlets) work best for the general user interface with RPG doing the heavy lifting for database and business rules.

How many of these products cost extra? Web application Server? Rational Developer?

Borts: As far as costs, you can serve a Web page with an IBM i for free – all built in. However, many technologies are free. PHP, Net.Data, and CGI are all technologies that require no money up front to load onto the AS/400. Net.Data is actually supplied with the operating system, then RPG CGI can be downloaded from G.B. Peroti’s Web site, Easy400.net, then PHP can be installed on ANY i5 with V5R4 and above (V5R3 is back level supported, but not as many toys as Version meant for V5R4) for free – which fits into any budget. JSP pages can be served using Tomcat, which is supplied with the iSeries in the base OS. To run WebSphere, you need a paid license for the developer seat, and the server.

Mason: Rational tools cost more. The Eclipse suites (based on new Galileo base) for BIRT and Web tools are free. You also need to copy the jt400.jar file from the IFS folder. It connects Java to everything on the System i.

Your application server choices include WebSphere (billable), Apache Tomcat (free) and IBM WebSphere Community Edition (a full JEE server that is free but has options for IBM support plans if you need it for your production environments).

If you ever have questions that you would like to get a few opinions on, don’t forget that you can ask them via IT Knowledge Exchange, or ask a question of a specific expert or send me an email and I’ll shepherd it to the appropriate folks to provide you with answers. Also, please add your input on these questions below.


Apr 28 2009   2:45PM GMT

A taste of COMMON: ILE, IBM releases, Web applications and new products



Posted by: Leah Rosin
AS/400, COMMON, IBM System i user groups, Power processor, ILE, cloud computing, Valence, Web tools, WDSC, virtual tape, SSD, Linux, RPG, Vision Solutions, Smart i, BI solutions, Talend, BCD Clover, Query/400

Day two at COMMON 2009 is under my belt, and the level of news and information was again a bit more than I could take in.

COMMON educational session tidbits
I attended a session at 8 AM (without coffee) on “Taking Advantage of Capacity on Demand” for POWER Systems. The session was led by Mark W. Olson, an IBM Power Systems World Wide Product Manager out of Rochester, Minn. I didn’t know what I was getting in for — maybe I should have read the abstract:

This session digs into how IBM’s Capacity on Demand offerings really work for the Model 570 and 595 processors and memory starting with how they are ordered all the way through how they are paid for. Topics include temporary and permanent activations of processors and memory, contractual requirements, pre-pay or post-pay, trial capacity, how to enable, and more.

On the bright side, if you want to know if you should get the daily or minute-based capacity on demand offering from IBM, just ask me and I’m a fount of knowledge. The session was likely useful for those considering paying for more capacity for their 570 or 595 Power Systems, but it didn’t answer what I consider the first step question, which is: Do I really need more processing power, or are there other tweaks to performance I can make? Again, no fault of Mark’s, just my own lack of reading comprehension.
Continued »


Apr 27 2009   6:21AM GMT

COMMON 2009 annual meeting off to a running start



Posted by: Leah Rosin
AS/400, COMMON, IBM System i user groups, php, Web tools, IBM System i and Power

I awoke today in Reno, Nev., to register and cheer on the participants in COMMON User Group’s first 5k run/walk for charity. Some were surprised by the brisk morning air, but the 20+ who participated enjoyed the opportunity to get out of the confines of the Grand Sierra and stretch their legs for a good cause.

COMMON User Group 5k charity runners
First place runner Hany Elemary of Profound Logic Software (right), and event organizer, ringer and marathon runner Dan Kimmel (left), RJS Software and COMMON Treasurer finish up the last portion of the course near the Truckee River before heading to the finish line.

I stood somewhere close to the 4k marker and cheered on the participants while visiting with a couple of attendees who had volunteered to help monitor the course. As we were walking back, I found out I was talking to IBM i educator, Jim Sloan, who shared that his newest CL programming book was published in January. For my networking purposes, this was perfect, and we discussed getting a chapter excerpt for publication on Search400.com so you to get a preview of this resource. Based on some of the reader questions I receive, I know some of you may find this book really helpful.

Speaking of resources, I needed to see what sessions I should check out at the meeting, and started looking through the ambitious schedule of 500 educational events. Some at COMMON have used the term “technical information fire hose” to describe the event, and I have to say, it’s a fairly accurate analogy. I sat down to plot my course for Monday and discovered that there are two dozen concurrent sessions during each time block to choose from!
Continued »