ClustrMaps

The roadrunner is back as never before! See also: My homepage or my very obsolete site
If by any means entries in my blog are considered to be harmful or damaging, please let me know (add comment) or just mail me. In this (unhopely) case I will remove or change the contents.

Saturday, March 01, 2008

yet another "new" language, EGL
EGL means Enterprise Generation Language:
http://www.ibm.com/developerworks/rational/products/egl/

See: http://www.itjungle.com/tfh/tfh092407-story03.html
And read it well, RPG is a dead language.
And it's Rational wearing the pants!
See: http://www.itjungle.com/tfh/tfh091707-story01.html
EGL generaties Java or Cobel code, not RPG.

See: http://www.ibm.com/developerworks/rational/library/may07/sergi/index.html
Quote:
Web applications. Tight integration of EGL with Java Server Faces framework and tooling allows creation of Web applications in a simple and productive way, without the need to know neither java nor the details of the JSF framework.

So EGL is a RationalProgramGenerator, yet another RPG.

Quote:
The following non-IBM 4GLs can be transformed into EGL using third party tools and services: Natural, CA (COOL-Gen, COOL-Enterprise, Ideal), HPSeer.

Lucky guys, the formerly known Synon coders!

Quote:
Organizations using System i and System z
In-house development teams typically fall into two fairly distinct camps: the legacy developers working with RPG, COBOL, 4GLs, etc., and the "new" developers working with GUIs, Windows, Java, the Web, etc. If legacy development is large and there is mounting pressure to deliver new solutions to the business, the EGL value proposition will be attractive.

No word of really migrating legacy RPG to EGL?

And yes, you can download some Code snippets.
See: http://www.ibm.com/developerworks/rational/products/egl/egldoc.html?S_TACT=105AGX15&S_CMP=edge#sec6
Like this one:
How to set the cursor focus to a specific control or data field within a page
//Two parts to this Code Snippet:
// 1. Add this code to the header area of your page
// Notes:
// a. Change the [n] with an integer representing nth field on your form you wish to set focus to:
// Example: [0] setFocus to the 1st field, [1], setFocus to the 2nd, and so forth
// b. Your form name must be: form1 (default using Page Editor, but check)
//-------------------------------------------------------------------------------

function setFocus() {
document.getElementById('form1').elements[n].select();
document.getElementById('form1').elements[n].focus();
}

// 2. Replace the <body> tag in your page with the following... (remove the comments)
// Example: <body onload="setFocus();">

This has nothing todo with EGL, this is JavaScript on a html page!
And this script does not only set the focus, but overstrikes too.

And again the famous Petstore comes around:
I want to build serious business applications, not a Cola vending machine or a Petstore.
Did Rational measure performance with this simplified example?
Oh, just wait, this Petstore is a download of 18MB.

This is more then the Java application I am building now (12MB).
Too bad, this link is dead:
ftp://www6.software.ibm.com/software/developer/library/rational/zip/petstorezip.zip
And a Google search showed many Petstores (Oracle) but not the EGL Petstore.
IBM drives us into proprietary solutions.
The i-Series deserves better!
By the way, the other links to file downloads will fail too!
ftp://www6.software.ibm.com/software/developer/library/rational/zip/
is dead!
Call this a bad sign!
This link downloads a PowerPoint describing SOAP:
ftp://www6.software.ibm.com/software/BuildingSoapApplications.ppt
But no word of EGL in this document.

Maybe I should attend their workshop:
http://www.ibm.com/developerworks/offers/lp/r/rbdetws/#eglbd

EGL/Business Developer technical workshop

This is the first of two workshops dedicated to making you productive using the EGL language and Rational Business Developer Extension rapid development tools. This workshop will take 5 business days. When you finish, you will be able to use the Business Developer tools, create services, and code EGL and SQL at a near-production ready level.

Prerequisites

  • At least two years of experience using a software programming language, for example, RPG, COBOL, PL/1, Visual Basic, or PowerBuilder.
  • A working knowledge of SQL, computer skills, and a basic understanding of Web technologies is assumed.

Agenda

  • Rational Business Developer Extension Workbench development
  • Introduction to a deep-dive into the EGL language
  • Creating, consuming, and using 3rd party WSDLs
  • EGL database and sequential file access - "A to Z"
  • EGL calling Java programs, and System i and System z resources
What a pitty, I don't want "A to Z", but the complete UTF-8 characterset:
!"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ

Lucky me, I found this link:
http://www.ibm.com/developerworks/rational/library/05/barosa-one/

Missing in action, indeed, are the goold old RPG's.
Another vendor lock-in.
This time it's Rationals solution.
The same Rational as in Rational Rose, now called XDE.
A UML modelling tool.
The same Rational of RUP.
Bloated pigs is my Pavlov reaction.


My underbelly remembers me of San Francisco, the SF (Shareable Frameworks) project of IBM.
See this dated article of Rob van der Salm:
http://www.research.ibm.com/journal/sj/372/vandersalm.html

How to convience the board of directors to invest in yet another technology,
with the big change that it is betting on the wrong horse.
But we humans are no donkeys, we hit the same stone more then twice.

I am a bit ashamed: I never heard of the GlassFish project:
https://glassfish.dev.java.net/
This is Sun (and Oracle) and it's open source.
In there is also a Petstore: https://blueprints.dev.java.net/petstore/
After following many instructions and downloading a glassfish.jar I got this working:


Indeed yet another Hello World example
An now for the Petstore ...
After struggling with PATH and creating a silly passwordfile the web application worked:

Looking at my system resources:
2 Java jobs of 20 (Database) and 100MB(Webserver).
And some pages of this Petstore did not load properly in FireFox.
Where is this world going to?

No comments: