Loading...

Friday, April 30, 2010

Licensing model changes for Rational POWER7 Products

If you have any of the following products, when you move to the next release, you will experience a change in how you obtain your licenses.
  • Rational Developer for System i 7.5 (now re-branded as Developer for POWER systems)
  • Rational Developer for System z 7.6

Previously the license file as a java .jar file obtained via IBM Passport Advantage, along with your software downloads. Now with the new version, you will still download the software from Passport, but the license file will come from the Rational License Center.  This is the centralized location for managing authorized user and floating user licenses. For more info go to http://www-01.ibm.com/software/rational/support/licensing/

Rational Team Concert for i is now rebranded as Rational Team Concert for POWER systems. Your existing licensing will migrate to this product 1:1 without issue.

If you are still using WDSC, you may or may not be aware that this product is considered "stabilized" and will not mature further. It supports IBM i compilers for V5R4. You will not be able to take advantages of the newer processor features on V6R1, nor that on V7R1 for POWER7.

There is not a replacement or entitlement product for WDSC Standard Edition. However, if you have WDSC Advanced Edition, you are entitled to the following for each current license you have:
· 1 license RDi (Rational Developer for IBM i)
· 1 license RBD (Rational Business Developer)
· 1 license for the HATS for 5250 Applications toolkit
· 1 license for RAD (Rational Application Developer)
Note: (RDi and RBD are RDi SOA)

Tuesday, April 27, 2010

Rational Team Concert gives you a lucky number 7

IBM is offering a special this month on Rational Team Concert, whereby you can get 7 additional free developer client access licenses for free. They have also dropped the server prices by about half for Express, Standard, and Enterprise. This means, that with the Express edition server, you an enable your entire team for under $4K.  For more information see the link below, or email us.



http://jazz.net/blog/index.php/2010/04/27/add-seven-free-developers-to-rational-team-concert/




Note that this offer does NOT apply to RTC for POWER or System Z. Servers are not discounted, nor are there additional clients available at this time.

Monday, April 26, 2010

Creating & running software analysis in Rational Software Architect (Software Analyzer)

Rational Software Architect has a much underutilized feature called Software Analyzer built into the product. It is separately available as its own product. It allows the developer/architect to scan and identify build patterns and anti-patterns in a workspace, working set, or specific project in the developer workspace.
These are very helpful to identify potential performance issues. I ran one against a project I'm working on a found some issues that although are not actual programming errors (meaning, the project will compile and deploy just fine), there are some development anti-patterns I either ignored or unintentionally created.


To run a discovery, first click on your project while in then Navigator View, or Enterprise Projects view and select "Software Analyzer", then "Software Analyzer Configurations". Be sure and name your analyzer profile first.


Then, select a scope. The scope means which projects or working sets you wish to scan. I don't recommend you scan your entire workspace, unless you only have a couple of projects. You certainly won't be able to address all the issues at once if you scan say all 10 projects in your workspace. A single project is ideal.



Next, create select a rule set. There are several pre-defined analyzer rule sets available. There is a security rule set available, but please take these with a grain of salt. Don't expect them to provide all the security recommendations needed (AppScan source edition from Ounce labs is a good product for that).



In this case I ran the full monty of tests, sans the UML models (as I don't have any UML models in this particular project). Note the various architectural patterns it has discovered. For this project I make use of Spring, Hibernate, Apache Tiles, and Spring MVC (a framework I am a HUGE fan of). Knowing how these patterns interact with one another give you a better architectural understanding of your applications. If your app is large enough that you have multiple developers, you may not easily be able to tell what patterns (or anti-patterns) are being used by just looking at the code. Yes, you the architect could figure it out. Think of this as a productivity feature that saves you countless hours of hunting and pecking. Knowing how patterns work with other patterns can help you develop more manageable, flexible, and modular architectures. Singletons, Factory, MVC are patterns you should know well, but what about 'Local Butterfly' or 'Inheritance Tree'? Applied Java Patterns
is a great reference book for Java patterns and understanding some of the more esoteric ones.

After running the analysis the results view will popup. There are 3 panes - one for the result set, a tab for the architectural discovery, and one for the code review. You should find several helpful rules for the code review (depending upon which scan you ran). Clicking on the links will give you the option to navigate to the line of code where the trouble or anti-pattern lies. In this case, I was lazy and was doing String concatenation. This can be a performance issue in Java. According to Joshua Bloch
Using the string concatenation operator repeatedly to concatenate n strings requires time quadratic in n.
p. 155 Effective Java (2nd Edition) - Joshua Bloch





In the code, click the icon for the analyzer recommendation and select "Quick Fix". For my issue, it will refactor the code by extracting a constant, and inserting the constant where the current string is. The string becomes private static final String MSG_SUBJECT = "New Strongback Consulting Contact!"; //$NON-NLS-1$

Friday, April 23, 2010

What's new in Rational Software for POWER Systems presentation

For those who missed our webinar last week on the updated tools from Rational, I'm posting the presentation here (thanks to Slideshare).  If you want the audio... well.. .you'll just have to give one of us a call here at the office and we'll reenact it. O.K.?




The updated development environment allows you do COBOL, RPG, or C/C++ for any of the 3 operating systems on the POWER server. Lots of productivity features. As I mentioned before, you do have a POWER7 system, you will not be able to take advantage of the updated processor features or language features with PDM/SEU. You will need to migrate to using an actual GUI for your RPG code (i.e. Rational Developer for POWER).

Thursday, April 22, 2010

10 HTML tags you've probably forgotten or don't know

We all do it. We get into a funk when designing applications, or we just take what we are given by our wizardy-like design interfaces. As such we get stuck in the same rut of using the same old design elements and styles and forget that there are a plethora of HTML/XHTML tags that we either have totally ignored, or just plain forgotten. We'll here is a reminder and where you might be able to use them.


1 - ACRONYM
This is is useful for abbreviating an acronym but giving the user an easy mouse-over popup to explain this to a user. Being that I work primarily with IBM software, I have a minefield of acronyms I have to deal with and some may have multiple meanings. I use this technique a lot with HATS (which is used for dynamically converting mainframe or as/400 green screen apps into web pages), to give acronyms a popup, which can really improve usability and reduce training time for such applications. This tag is nearly identical to the ABBR tag. The attributes and events are identical and can be used interchangeably - just be sure to close the tag with the same one of course. Heck, I even used both tags in this definition!
2 - DL
DL is 'Definition List', and is use for defining a list of terms. the DT and DD tags are nested in between. It is more appropriate for say a list of "10 HTML tags you've probably forgotten or don't know", than using an ordered or unordered list (UL/LI or OL/LI). The elements are separately styleable. Think name/value pairs.
2 - DT
Just as mentioned above, this is nested in DL tags and is paired with the DD tag. This is the first part of the definition or the 'name' part.
3 - DD
You guess it - this is the 'Data Definition' part or the value part.
4 - BLOCKQUOTE
This by default in most browsers will indent and italicize the text. It is also easier than adding a div with a separate class attribute. This type of element is ideal for quoting persons in a conversation, or text from a referenced article. A similar tag is the Q tag, or 'quote' tag. This will insert quotation marks around your text, but otherwise offers you similar styling.
5 - CITE
This type of element is used for citing a reference. Don't confuse it with the BLOCKQUOTE element. Here is an example of usage of the two elements:
80% of development costs are spent identifying and fixing defects.
U.S. Commerce Department's National Institute of Science and Technology (NIST)
6 - CODE
This element has traditionally been used to style computer code. By default the browser renders it with a mono spaced font, which can be overiden with a style sheet.
7 - PRE
If you need to ensure indentations, and spacing, be sure to nest your CODE tag between a PRE tag, which PREserves white space in the browser rendering. It does not however allow you to paste in HTML code and render the brackets as you see it in your editor. You will still need to encode those brackets. The same applies to the CODE tag.
8 - LABEL
This tag should be used with the INPUT tag, and defines a caption or label for a text input field. When used with the next element you can almost entirely break away from traditional table based layouts.
9 - FIELDSET
The FIELDSET element is used to logically group elements together within a FORM. It also draws a box around the group. It also needs a LEGEND element to define the group, which is usually the first child element. The following is an example of using FIELDSET, LEGEND, LABEL, and INPUT altogether:
Your Info:
Email:
Date of birth:
10 - FONT
This is a trick one. If you have forgotten this tag, give yourself a pat on the back. If you are still using it, give yourself a good kick. This tag has been deprecated and should NEVER be used today! Some tools still spit out the FONT tag, along with several other deprecated tags such as I, B, S, and CENTER. These tags override any and all Cascading Style Sheet elements, and cannot be properly styled themselves. You would better served by surrounding the affected text with a STYLE tag, or a SPAN tag with a style attribute. Note too that depending upon the text, you could use and separate your elements with CITE, BLOCKQUOTE, SPAN, P, H1-H6, VAR, CODE, STRONG, or EM elements, which are more easily styled using an external style sheet.




Take a look at the source above to see how the examples were written. The list above is a DL, with nested DT and DD tags.

Friday, April 16, 2010

LotusLive: Wicked cool integration with SalesForce.com, Skype, eSignature

I picked up on this from a twitter post. LotusLive, which is IBM's cloud email and collaboration offering, just got some new integrations with Salesforce.com, Skype, and Silanis e-Sign.


#LotusKnows Lotus Domino 6.5 support ends in two weeks (April 30)

As a reminder, Lotus Notes and Domino support for version 6.5 will end on April 30th, which is two weeks from today. If you have a product issue and need support, you should enter your PMR now before time runs out.

After that you will have to upgrade your environment to a supported version in order to obtain support from IBM. If your software maintenance has lapsed, you can renew for a much reduced cost than buying new software. In fact, depending upon your usage patterns, it might be good to buy new, but different licenses. For example, if you are on 5 old 6.5 servers and its aged equipment, you could consolidate those servers onto new equipment - say down to 2 servers and save license renewal costs for those other 3 servers.  If you were running on Windows, you could move your servers to AIX on a POWER7 and REALLY consolidate your environment, thus saving even more (power costs, software maintenance licensing, and hardware maintenance costs).

Here are 3 new features since 6.5 that are reasons alone to upgrade your environment:
  • DAOS - IBM has seen up to 40% reduction in storage space using DAOS features of 8.5. I have personally witnessed a minimum of 17% on a small customer, up to 32% disk storage reduction on larger customers. 
  • Policies - use centralized configuration to manage your company's desktop user Notes client. This feature can control desktop, security, mail, archiving, and setup of Lotus Notes clients, saving valuable administrator time.
  • MUCH improved Lotus Notes clients - the desktop client has many new mail and calendaring features including support for iCalendar, prining of calendars, mail threads, and overall usability
  • Support for Mobile Clients - iNotes web access now has an ultra-lite mode that supports mobile clients. The UI looks great on iPhone and Blackbery browsers. Also, there is now a push based server called Lotus Traveler that can do store-forward, push based messaging to iPhones, Symbian, and Windows mobile devices similar to how a Blackberry Enterprise server works
Ok, so I can't count today. That's four reasons. If you need more, check out this article on IBM Developerworks
http://www-10.lotus.com/ldd/nd85forum.nsf/0/a2725372ae9549eb85257458006074cb?OpenDocument&ExpandSection=2#_Section2


If you are under software maintenance and have not upgraded, then ask the powers that be "why not"?

Tuesday, April 13, 2010

IBM Rational Releases HATS 7.5.1, Developer for POWER 7.6, and new AIX Compilers

Today, IBM has released several products geared towards development on IBM POWER systems (notably, the POWER7). IBM is targetting customers running on Sun hardware and especially Oracle applications. Now customer will be able to migrate from Solaris/SPARC to POWER/AIX with new compilers and development tools for C/C++ and COBOL. New compilers (priced separatly or packacked with RDp) are available for Fortran, C/C++, COBOL and RPG.

Here's a summary of the announcements:


    Rational Developer for POWER Systems 7.6

    • C/C++ development tools for AIX
    • COBOL development tools for AIX
    • RPG and COBOL development tools for IBM i
    The C/C++ development tools have lots of new features:
    • Remote access to files, processes, and shells
    • Rich editor support (content assist, outline view, color tokenizing,…)
    • Integrated build support with error feedback
    • Remote debugging of C/C++ code
    • Debug core files for postmortem analysis
    • Call and type hierarchy views
    • Language aware searching
    COBOL on AIX has long been a neglected area. IBM returns to this arena with a vengeance as competitors have been dominant in this space for a long time. The COBOL tools feature:
    • Eclipse based Edit, Compile, Debug
    • Remote or Local Projects
    • Rich edit support (outline view, content assist, syntax checking, color tokenizing, and more)
    • Integrated build support with error feedback
    • Remote debug
    • Exploiting of IBM i & z skills
    Finally the i development tools, for which the product has the largest base of current users have several significant features:
    • Lightweight, modern, development tools for RPG, COBOL, CL, and DDS
    • Integrated file access, search, edit, compile and debug
    • Rich editing features such as outline view, content assist, formatting, color tokenizing
    • Visualize program structure with Application Diagram debug batch, interactive, and Web applications and Web services with a common visual debugger
    • Visual DDS design tools: Screen and Report Designer
    All of the features above integrate with Rational Team Concert for Power, which is also being focused on in this launch. With this release of POWER7 and i/OS 7.1, the PDM/SEU tools have NOT been rolled forward. This means you will NOT be able to take advantage of the new processor features unless you are using RDp. PDM/SEU remain at their 6.1 revision level and will not advance!


    IBM is offering a 10% discount by purchasing Rational Developer for POWER with the new Rational compilers. The two main products are the COBOL Development Studio for AIX, and C/C++ Development Studio for AIX.

    IBM Rational Compilers

    • These new sets of compilers are designed to take advantage of the new processor features. There are over 100 new optimizations introduced in the last 5 years.
    • Compilers perform in-depth code analysis
    • Generates code that exploits the best features on all POWER systems (5/6/7)
    • Support multicore parallel development using OpenMP (open-multiprocessing) API meaning automatic parallelization by the compilers
    For AIX, the new compilers include:
    • XL C/C++ for AIX 11.1
    • XL C for AIX 11.1
    • XL Fortran for AIX 13.1
    • PL/I for AIX 2
    • COBOL for AIX 3.1
    To take advantage of your new processors, you'll need to upgrade or purchase these compilers. Simply recompiling your existing applications with the new compilers. The COBOL compilers are Oracle Tuxedo Oracle DB certified.

    Also, the HATS development team has issued a new point release to address some hot topics in the user community:

    HATS 7.5.1

    • New support for the Safari on the Apple iPhone and iPod touch
    • Added support for rich client to deploy within Lotus Notes 8.5.1
    • Ajax to support automatic refresh and disconnect (no more applet needed)
    • Simplified, customizable web services definitions
    • Single-sign on to WebSphere Portal with JSR168 portlets to credential vault
    Planned GA will be May 26th for HATS 7.5.1



    Want more information?

    Come and hear more this Friday April 16th at 11AM! We'll give a brief demo and talk more about what's in store.



      Monday, April 12, 2010

      GoToWebinar gets school in Lotus and iCalendar

      I've been using GoToMeeting for a few months, and started using GoToWebinar for, you guessed it, some webinars for Strongback Consulting. Well, in the process of setting up my latest webinar, I've come across some institutional bigotry with the company. No, I'm not talking about black or white, catholic or protestant, muslim or jew or christian. I'm talking Microsoft vs. Lotus.

      In the email notifications sections, where you specify how you would like to follow up with registrants, you have the option to send them an iCalendar invite. However, their corporate institutional bias, assumes you are using MS Outlook.  Now, being an employee of an IBM Business Partner, and a Lotus geek, I was irritated because I can't change the link description!

      So, I emailed their customer service department and complained. Here is the response I received:

      Dear Kenny,
      Thank you for contacting Global Customer Support and for using GoToWebinar

      Your suggestion is certainly a valid and well thought recommendation for a product or service enhancement. We have taken the opportunity to record your feedback and thank you for contacting us.

      Outlook uses a file type .ics for calendar appointments. When clicking "Add to Outlook claendar", the .ics file is downloaded and opened into Outlook. though I have not worked directly with Lotus Notes much myself, my research shows that Lotus Notes uses a .nsf file type.

      Have you tried using the same link to add the event to your Lotus Notes calendar successfully?

      Not all users even have an e-mail service with a calendar. To avoid confusion, the link states what application the appointment is intended for.

      Again, your feedback has been recorded and is appreciated.

      If you have any additional questions or need further clarification regarding this matter, please feel free to reply directly to this email. For any other product inquiries or technical assistance, please visit us at our Support Centers listed at the bottom of this email. Our Support Centers include Self Help files and our Global Customer Support Contact Information.

      Thank you again for your interest in GoToWebinar

      I wrote them back to thank them for following up (something I did not expect, based on my rant), and tried to educate them on Lotus.

      Thank you for responding to me. It is a bit embarrasing to show a client a link like this, especially in many cases, I'm trying to sell them Lotus Notes to replace Outlook and Exchange.

      The attachment .ICS is an Internet standard format for calendar. It is not specific to Outlook. It is used to accept calendar invites from Internet senders. Lotus Notes has supported this format for the past several years, and works without issue. The extension you mentioned (.NSF) for Lotus Notes is the actual mail file, similar to how Outlook has a .PST or .OST to store its mail in.


      I certainly hope they make the change, because there is not just Lotus Notes, but other email clients that support this format including Google Apps, Novell Groupwise, and some open source clients like Evolution. Heck, there is even Entourage which is Microsoft's client for Mac.

      Wednesday, April 07, 2010

      What does Rational software offer for POWER customers?

      We'll be answering this question and more on April 16th at 11AM. This is webinar that is geared towards those participating the POWER7 launch events.

      We'll cover:
      • Leverage graphical tools to increase quality and time to market within smaller teams
      • Team collaboration features to improve your development process workflow
      • Expose host business processes as Web Services
      • New features in compilers that can reduce your workload
      • Automate compliance and documentation with a secure, single native repository
      • Automate manual, error-prone business processes
      To register for this webinar, click here.

      Starting a Jazz based server on boot in linux with init.d

      There are several Jazz based products that run on Linux, namely Rational Team Concert, Quality Manager, and Requirements Composer. When you install these products, either through extracting a zip file, or using the Installation Manager approach, you do not get the option to start on boot. You will have to manually configure this.

      IBM released a technote yesterday along with some scripts to use. I have previously posted on Team Concert, but this note gives some special consideration to Requirements Composer as it requires Xvfb. X virtual framebuffer is an X11 server that performs all graphical operations in memory, not showing any screen output. From the point of view of the client, it acts exactly like any other server, serving requests and sending events and errors as appropriate. However, no output is shown. This virtual server does not require the computer it is running on to even have a screen or any input device. Only a network layer is necessary.

      Once you save the files, you need to activate them (the article does not address this!).

      To do so issue chkconfig --add rrc_start.sh as root or otherwise authorized user.  This ensures the server will start under the normal run levels. This command works on Suse Linux. BTW, Team Concert and its build engine work great on both OpenSuse 11.2, as well as Fedora 11 Linux. We are running these in production.


      The technote gives instructions specific for Red Hat Linux 5, but does not mention how to activate the scripts for auto start.

      See also my post on auto-starting the Java Build Engine (jbe) on linux for Team Concert.

      Monday, April 05, 2010

      Featuring the feature pack for Web 2.0

      If you have not used the Web 2.0 feature pack for WebSphere App Server, you might be missing out on a free and valuable tool. This feature pack is for WebSphere App Server 6.1 and 7.0.

      Web 2.0 Feature Pack Overview

      In RAD / RSA, there you have built in support for the Dojo toolkit, which means you can drag and drop Dojo enabled widgets from the palette onto your JSP. For less experienced programmers, this is a blessing as it stubs out the required JavaScript for you in both the HTML element, and the header (such as effective path to dojo.js, the required dojo stylesheets, and the dojo.require statements).


      Also included are some IBM provided widgets, which are only available in RAD/RSA. These include the FeedView, FeedViewEntry, FeedViewEditor widgets which are for reading, and manipulating ATOM feeds. The are instrumentation widgets for building gauges to display tabular data.


      The IBM widgets require the Feature pack for Web 2.0. This feature pack includes an Ajax proxy servlet and server-side libraries. The Ajax proxy servlet allows you to pull data via JavaScript from outside of the local domain - a feat that is prohibited by most browsers (thankfully). The JSON4J library allows a developer to create simple data models to be delivered to the browser in JSON format, which is easier to manipulate in JavaScript than is XML. With XML you have to parse the text. With JSON, you get true JavaScript objects.


      If you already have RAD or RSA, be sure to update to the latest build. You want support for Dojo Toolkit 1.4, which is included in version 7.5.5.1 of the software development platform. This is the latest release as of this writing.


      Tips

      To use the AJAX proxy, you must first enable the project facet on your project settings. This is under the 'Project Facets - Web 2.0". Once enabled, you'll then have to configure the proxy-config.xml file, located under WEB-INF. This is a white list of authorized locations that your application can pull from. While you could allow all sites f using the AJAX proxy, you should restrict this to ONLY sites you know you are developing for. Giving wide open access has many risks. First, even if you are allowing your users to list their own feed settings, you have the risk of users being lured into pulling data from malicious sites. Such site could present your users with a phishing attack, or cross-site scripting attack. Because the data would be coming from the original host, the browser is more likely to allow such attack, and worse, your server will be enabling it! Be sure and lock down this file to only domains or IP address ranges you know to be secure. I also recommend using OpenDNS as your primary DNS provider to further prevent such attacks.

      Resources

      IBM developerworks has some great articles on the toolkit.
      Using IBM Rational Application Developer Version 7.5 to develop a Web 2.0 page that references a session bean

      A look at the WebSphere Application Server Feature Pack for Web 2.0

      Friday, April 02, 2010

      Rational On-Demand Support


      This helpful 14 minute video discusses:
      Rational or Telelogic Downloads & License Keys
      • Where do you go to download software?
      • Who do you call when you can't find downloads or upgrades?
      • Where do you go for license keys?
      • Who do call when you can't find license keys?
      Order and Site Management
      • How to move entitlements or orders from one site to another?
      • How do you change site contacts?
      Customer Support
      • How do you get support?
      • Who do you call to get support because of a missing entitlement?
      • Who do you call when you can't get support because you don't have an ICN?
      • Who do you call when you can't open an electronic ticket via SR?



      The Camtasia Studio video content presented here requires a more recent version of the Adobe Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

      New track at Rational Conference on Power Systems

      This year, IBM has  launched the “Power Your Innovation” track at Innovate 2010 (t.c.f.k.a Rational Software Conference). This all-new track will feature:

      • a program of skill-building sessions
      • customers presentations
      • hands-on technical workshops
      • an impressive lineup of speakers and panel participants (especially that Kenny Smith guy).

      Mark your calendars and make plans to be part of this track. Come and learn how Rational application development solutions can help you increase productivity and agility, reduce cost and cycle time, and maximize ROI on new POWER7 systems running AIX, i, or Linux operating environments.

      If you have not registered yet, you can register for Innovate 2010 with promo code "PWRT" and save $100. Register today