Showing posts with label rad8. Show all posts
Showing posts with label rad8. Show all posts

Mobile browser simulator in Rational Application Developer

The Rational Application Developer 8.* (I tried this feature in 8.0.4) has a concept of Mobile browser simulator. The way it works is if you have a web application running on say WebSphere application or WebSphere Portal server you can right click and say Run on Mobile Browser Simulator
The first time you do that it will install a Mobile Browser Simulator web application on the application server and open a web page like this, which would have mobile browser simulator with the mobile simulator pointing the page that your testing.

Universal Test client application

The Rational Application Developer has a IBM Universal Test client enterprise application which is web based application that you can use to test your EJB's or JPA beans or look at the JNDI tree in your server,.. Essentially it is set of tools to troubleshoot problems.

You can follow these steps to enable IBM Universal Test client.


  1. Double click on your server name to open the server definition. On that page check "Enable universal test client " check box


  2. Once you save the server definition you will notice that the UTC application is getting deployed on your server, wait for couple of minutes to get it started

  3. Right click on the Server name and click on Universal test client > Run to access universal test client


  4. The RAD will open http://localhost:10039/UTC/ URL in the browser if you want you can directly access this page from outside the RAD


  5. RAD will prompt you to login use the was admin user and password and you should see next screen with JNDI Explorer, JPA explorer,.. use the section that you want to explore, in my case i went to JNDI explorer to see all the name bindings like this



Creating iWidget project using RAD 8

Starting from Version 8.0, Rational Application Developer provides support for creating iWidget project. It provides Create iWidget project wizard as well as wizard for creating iWidget.

  • Click on File -< New -< Web -< iWidget Project.


  • First screen in the wizard will ask you what type of technology you want to use Web Technology, means the project will not be a J2EE application instead it will be simple project that will let you package .xml,.css and other files in archive the Web And JavaEE Technology option will create a Dynamic web project with WEB-INF/web.xml file, which you can use for creating servlet,..


  • On the next screen it will ask you for name of the project and what type of wizard you want it to generate, i selected HelloIWidget and Simple Wizard like this


  • Once the wizard is completed it will create a project with HelloIWidget.xml which has sample source code for the wizard like this




I also tried creating a Widget project with J2EE component and compared it with wizard project without J2EE component