More mobile stats, Google and Apple dominate

Some stats were published by the New York Times as part of an article on the recent acquisition of Motorola Mobility by Google. The implication is clear that Google Android and Apple iOS device are accelerating their dominance of the mobile smartphone landscape, with RIM’s Blackberry running third. Together these companies have 78% of the smartphone market. Using HTML5/CSS3 based products like cm Power and WebClient i+ mobile enable app developer in PHP, Java, and CA Plex to cover all these platforms (on BlackBerry, BB6 and above).

New York Times Stats

Posted in Industry | Leave a comment

Interesting Mobile App Stats

Some very interesting stats on how mobile apps and social medial is becoming more and more pervasive in our business and personal lives.

Posted in Industry | Leave a comment

Recommended Mockup Tool for Mobile/Web

We have received some recent inquiries on wireframe mockup tools for web and mobile application development.

Although there are many available, we recommend this one as the one we use.

http://balsamiq.com/

Enjoy!

Posted in Integrations | Leave a comment

Mobile Development for the IBM i

Presentation given at the Dallas / Fort Worth Metro Midrange Association Meeting.

Posted in Bulletin | Leave a comment

Authenticate to the IBM i with WebClient

In many circumstances you need programmatic control of the IBM i authentication process, for example in single sign on situations. Please follow these basic steps for to implement.

Note that this method will work for both standard WebClient and for WebClient Mobile applications

1. Create a Plex function to accept your User Id and Password. You can create a panel for the user to enter in this information.

2. Add variables to the Local context:

  • IBMi Connection Property
  • Property Value
  • Return Value

3. Add Java source to authenticate the user to the IBMi

import com.ibm.as400.access.AS400;
import com.ibm.as400.access.AS400SecurityException;
 
{
	{
	   try {
			&(4:).set(new ObCharFld("   "));
			AS400 myas400 = new AS400(&(1:).getValue());        
			myas400.validateSignon(&(2:).getValue(),&(3:).getValue());
		}
	   	catch (AS400SecurityException i) {
			&(4:).set(new ObCharFld("INF"));
		}
		catch (Exception e){
			&(4:).set(new ObCharFld("ERR"));
		}     
	}
}

4. Once the user has been authenticated to the AS400, Java API calls are used to complete the process.

5. Make sure the obclient.properties file is located within the Java project in WebClient.

 

6. Obtain jt400.jar (Supplied by IBM) and add to your build path / deployment assembly in Eclipse. Compile and run the process.

First add to Java Project and add to build path

Copy and paste the jt400.jar file into the root of the Java project. Then right click and choose the build path option, libraries tab. Choose add JAR’s button.

Then add to Deployment Assembly in the Web project

Right click on the Web project. Select Properties, and select Deployment Assembly. Choose “Archives from Workspace”, then add the jar from the java project.

Note: This process is very similar to a standard Plex login to the IBMi. In client-server CA Plex apps each user has their own local copy of obclient.properties. The difference here is that WebClient maintains a user copy of the obclient.properties file in the session.  So that the login is maintained for a specific user for a specific session

Contributed by Mark Schroeder. Mark can be reached at mlschroeder@cmfirsttech.com

Posted in Instructions | Leave a comment

May 2011 Newsletter Published

Highlights of this edition include:

 

Posted in Bulletin | Leave a comment

Linking your CA Plex Java source folders in Eclipse

For many developers it is more convenient to link your CA Plex GEN folders directly into your Eclipse workspace, eliminating the need to run ANT scripts and move the Java source files. Eclipse will detect the fact that you have generated / changed your source files from CA Plex and will automatically build if you desire this.

To configure, follow these steps. You will link to the GEN/Src directory and to the GEN/Src/Res directory as generated from your Plex application. You will need to enter an exclusion pattern to avoid showing duplicate resource files in your project.

First, Right click on your Java project and select Build Path / Configure Build Path…

Next, select the link source button. Then enter the following path the your Plex GEN/Src directory:

Click next, and enter an exclusion pattern

Click Finish. Repeat for the Res (resource) subdirectory but do not add an exclusion pattern

You are done! Verify your path looks like this.

 

For large generate and build requests, Eclipse may compile before you finish generating. If you get out of sync, simply Refresh your Java project to rebuild any changed files.

Posted in Instructions | Leave a comment

MatchPoint/WebClient Mobile Webcast Replay

A Message from the CA Plex CA 2E Global User Community User Community

CA Plex CA 2E Global User Community Webcast

Thursday, April 21, 2011 Replay Available

Dear Community Member,

Here are the webcast replay recording details for the CA Plex CA 2E Global User Community Webcast on Thursday, April 21, 2011 at 10:00 a.m. EDT. 100% of attendees thought this webcast was of value to them.

Topic:

  • Change Management for IBMi and CA Plex – MatchPoint i+ Release Update – Presented by Christoph Heinrich and John Rhodes, CM First

Review this replay for an interactive demonstration of change management using Matchpoint i+ advanced ALM tooling for IBM i and CA Plex. This presentation will be a preview of the detailed technical sessions planned for the CA Plex/2E Conference June 1-3 — so if you are interested in change management best practices be sure to visit CM First at the conference as well.

New and Improved Features Presented:

  • Enhanced Java and C# Support with the new Subversion connector
  • IBM i interfaces and utilities
  • Web and iPhone/Android option using WebClient i+
  • CA Plex API’s, ISV module , MKS Connector, and more

 

 
 
Click Here to Access Replay

 

 

 

Posted in Bulletin | Leave a comment

Implementing an Ajax TreeView

The WebClient TreeView advanced control was designed to work with existing Plex Active/TreeView pattern functions with minimum changes to the action diagram. Read the following for the instructions (note this article was authored by Andrew Leggett, Senior Consultant for ADC Austin. He can be reached at aleggett@adcaustin.com).

For example, you may want to implement a function that looks like this as a page in a browser.

To prepare an existing Active/TreeView or ShowTree function for WebClient.

  1. Attach the WebClientControls group model as a library to your group model. Note this is a separately licensed model.

 

2.  You can now inherit from the WebClient/_Abstract.~TreeView function.


3. If you have existing action diagram code to display a TreeView control, the only addition you will need to make is to add a ‘Go Sub TreeView Refresh’ statement at any point where you need to update the control in the browser.  This subroutine behaves similarly to a ‘Put’ statement.  For a new TreeView function, follow the article ‘Implementing a Tree Control’ in the Plex Help. 

4. When exiting the function, make sure you exit with ‘Go Sub Terminate’, as this subroutine inherits the code necessary to cleanly dispose of the tree control in memory

5. If you are displaying images for your tree nodes, you will need to make these available to the web application with the following steps: (Note: the SelectedImage property is not currently supported)

6. In Eclipse, your Web project will contain a ‘WebContent’ folder which contains the run-time resources for your web application.  Create a folder directly under ‘WebContent’ and name it ‘images’ (it is case-sensitive).

  • Copy any bitmaps that your application uses to the ‘images’ folder.

  • The web application is case-sensitive, so you need to ensure that the bitmap names match those in your model.  The Plex TreeView uses Name objects scoped to the Scripts function to get the bitmap names; e.g. MyTreeView.Scripts/FNC option NME/Image 1.  The bitmap name is stored in the literal value of the name object.  Compare these names to the bitmaps in your images folder, and rename the files if appropriate.

To see a worked example of the TreeView pattern, download the WXPCourse61 example model.

Posted in Ajax, documentation, Templates | Leave a comment

Visit our booth at the System i Networks Free Virtual Conference

Thursday, April 7, 2011 9:30 a.m. - 5 p.m. ET

Join the CM First and System iNetwork for this FREE one-day event – IBM i Essentials 2011 Virtual Conference. This interactive online event covers a wide range of fundamental topics for IBM i professionals. 

Visit the CM First booth for information on WebClient i+, PHP, CA Plex, CA 2E, and more. There will be a free Android tablet computer raffled off to one lucky visitor.

Posted in Bulletin | Leave a comment