Build a Web application without writing any code, Part 1

Install and configure Rational Application Developer, DB2, and WebSphere Application Server

Learn how to build a robust Web application. In this tutorial, learn how to install, set up, and configure trial versions of Rational® Application Developer for WebSphere® Software, DB2® Enterprise V9.0, and WebSphere Application Server V6.1. In Part 2, you will use Rational Application Developer to build a Web application using data from a DB2 database, and publish your page to a WebSphere Application Server, all without writing any code. IBM's middleware takes care of all the hard work so you can focus on your own unique business logic.

Eric Long (elong@us.ibm.com), Software Engineer, IBM

Author photoEric Long is a software engineer in the IBM Developer Skills Program. Eric graduated from the University of Texas with a degree in Computer Science, and currently works in Austin, Texas. He provides technical information to developers on emerging open source and industry trends and technologies through world-wide technical briefings, speaking engagements, workshops, Web content, and faculty consultations at IBM Academic Initiative member universities. His work also includes technical demos and content available at ibm.com/university and ibm.com/developerWorks.



11 September 2007

Also available in Chinese Vietnamese

Before you start

About this tutorial

If you are a Web application developer, enterprise application developer, XML developer, or someone curious about new IBM technologies and tools, this series is for you.

This tutorial describes how to install and configure Rational Application Developer, DB2, and WebSphere Application Server. You will also configure these technologies to begin creating a Web application (which you'll finish in Part 2).

Prerequisites

This tutorials assumes you have some understanding of Java technology, SQL, and XML. Knowledge of Web design is helpful, but not required.

System requirements

None

Product descriptions

In this two-part series you will be installing and using the following IBM products:

Rational Application Developer for WebSphere Software V7.0
The IBM Rational Application Developer for WebSphere software application helps Java™ developers create Java/Java Platform, Enterprise Edition (J2EE), portal, Web, Web services, and Service-Oriented Architecture (SOA) applications. This integrated development environment helps you to rapidly design, develop, assemble, test, and deploy these applications.

The Rational Application Developer visual tools can be leveraged to reduce manual coding by abstracting the J2EE programming model, making it easier for those less familiar with Java technology to complete development projects. It is designed to be a highly flexible development tool based on the Eclipse open framework, with a range of flexible installation options.

DB2 Enterprise V9.0
DB2 9 (formerly known as Viper) is a leading edge hybrid data server capable of supporting both relational and pureXML™ storage. pureXML provides seamless integration of XML with relational data that speeds application development, improves search performance with highly optimized XML indexes, enables information as a service, and is flexible because both SQL and XQuery can be used to query XML data.
WebSphere Application Server V6.1
IBM WebSphere Application Server V6.1 is the foundation of the IBM WebSphere software platform, and a key building block for a Service-Oriented Architecture (SOA). As the premier Java 2 Enterprise Edition (J2EE™) and Web services application platform, WebSphere Application Server V6.1 delivers a high performance transaction engine that can help you build, run, integrate and manage dynamic, On Demand Business™ applications.

Rational Application Developer installation and setup

To install and set up Rational Application Developer for WebSphere Software:

  1. Begin by downloading Rational Application Developer. Navigate a Web browser to http://www.ibm.com/developerworks/downloads/r/rad/, as shown below.
    Figure 1. Trial download page
    rad trial page
  2. Click the Multiplatform download link at the bottom of the panel.
  3. Yes, you do have to sign in with developerWorks to access the trial download.
    Figure 2. developerWorks sign in
    rad sign in
  4. Follow the steps for the sign in process until you arrive at the download page.
  5. From the download page, select all of the check boxes to install the full version of Rational Application Developer. This is a very large download, but you can customize which sections you want to download, if you want.
    Figure 3. Rational Application Developer download page
    rad downloads
  6. Depending on your internet connection and how many options you selected, this might be a good time to get a cup of coffee or watch your favorite movie trilogy.

    After all of your files have downloaded, begin the installation process.

  7. Navigate to the directory of the downloaded files. (If you used Download Director, go to C:\DownloadDirector.)
  8. Open the directory to see the downloaded disks.
    Rational Application Developer download directory
    rad directory
  9. Double-click disk1 to open the folder.
  10. Double-click launchpad.exe.
    Figure 5. Rational Application Developer launchpad
    rad launchpad
  11. Click Install IBM Rational Application Developer v7.0.
    Figure 6. Rational Application Developer installation
    rad install
  12. If this is your first time downloading an IBM product, you will be prompted to install the Installation Manager.
  13. Click Next.
    Figure 7. Installation Manager wizard
    rad install manager
  14. Accept the default settings and finish the installation.
  15. After the Installation Manager installs, you should see the panel in Figure 8.
    Figure 8. Installation Manager
    rad install manager 2
  16. Check Rational Application Developer and all other check boxes, then click Next.
  17. Accept the default instructions for all panels until you arrive at the Install Packages window to install specific features, as shown below.
    Figure 9. Rational Application Developer Features
    rad features
  18. This is where you select all features to be installed in your workbench. If you want to explore all that Rational Application Developer has to offer, check everything.
  19. Click Next.
  20. Click Install.

You have now successfully installed Rational Application Developer. The next step is to install DB2 Enterprise v9.0, as described in the next section.


DB2 Enterprise v9.0 installation and setup

To install and set up DB2 Enterprise v9.0:

  1. Navigate a Web browser to http://www.ibm.com/developerworks/downloads/im/udb, as shown below.
    Figure 10. DB2 trial download
    db2 trial page
  2. Select the Multiplatform link.
  3. Follow the same sign in procedure described in the first section.
  4. If you are running a 32-bit Windows machine, select the following download:
    Figure 11. Download Selection
    db2 download
  5. In the browser, click Continue.
  6. You might be asked to fill in more information about your use of DB2. After completing the information, click I confirm.
  7. Check the box DB2 Enterprise 9 for Windows on 32-bit AMD and Intel systems (x86).
    Figure 12. Download Selection
    db2 download 2
  8. Follow the Download Director instructions to finish the installation.
  9. Navigate to the location of the downloaded files.
  10. Expand db2_v9_ese_win_32 > image, and double-click the setup.exe file.
    Figure 13. Setup
    db2 setup
  11. From the menu, select Install a Product.
    Figure 14. Install a product
    db2 install a product
  12. In the DB2 Enterprise Server Edition section, click Install New.
    Figure 15. DB2 Install New Enterprise Server
    db2 install new
  13. Follow the wizard to finish the installation of DB2 Enterprise Server.
  14. Once you click Finish on the final page, you are done installing DB2 Enterprise Server.

You can optionally install the DB2 Client to work with the server, but it is not covered in this series (you will use Rational Application Developer instead).


WebSphere Application Server V6.1 installation and setup

To install and set up WebSphere Application Server V6.1:

  1. Begin downloading by navigate a Web browser to http://www.ibm.com/developerworks/downloads/ws/was, as shown below.
    Figure 16. Trial download page
    was trial page
  2. Click the Multiplatform link.
  3. Click the Windows link.
  4. Again, you may be prompted to fill in additional information.
  5. Use the Download Director to download the installation files onto your machine.
  6. Navigate to the location of the downloaded files.
  7. Unzip was.cd.6100.trial.base.windows.ia32.zip.
  8. Expand the WAS folder.
  9. Double-click install.exe.
    Figure 17. WebSphere Application Server install.exe
    was setup
  10. The WebSphere Application Server install wizard opens.
    Figure 18. WebSphere Application Server install wizard
    was install 1
  11. Click Next.
  12. Accept the terms, and click Next.
  13. Ensure that your system passed the system prerequisites.
    Figure 19. System prerequisites check
    was install 2
  14. Click Next.
  15. Check the Install the sample applications box.
  16. Click Next.
  17. Accept the default installation location.
  18. Click Next.
  19. It's a good idea to enable administrative security at this point. You must assign a password for the sample application.
    Figure 20. Administrative security
    was install 3
  20. Click Next.
  21. Review the summary and click Next.
  22. WebSphere Application Server is now installed on your machine. You can optionally check the Start first steps Web page box and explore the features of WebSphere Application Server V6.1.
  23. Click Finish to complete the installation.

Conclusion

Congratulations! In this tutorial you installed and set up Rational Application Developer for WebSphere Software, DB2 Enterprise v9.0, and WebSphere Application Server.

In Part 2 of this series you will learn how to build, from scratch, a Web application that connects to a DB2 database and is published on WebSphere Application Server, without writing a single line of code.

Resources

Learn

Get products and technologies

Discuss

Comments

developerWorks: Sign in

Required fields are indicated with an asterisk (*).


Need an IBM ID?
Forgot your IBM ID?


Forgot your password?
Change your password

By clicking Submit, you agree to the developerWorks terms of use.

 


The first time you sign into developerWorks, a profile is created for you. Information in your profile (your name, country/region, and company name) is displayed to the public and will accompany any content you post, unless you opt to hide your company name. You may update your IBM account at any time.

All information submitted is secure.

Choose your display name



The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerWorks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

Required fields are indicated with an asterisk (*).

(Must be between 3 – 31 characters.)

By clicking Submit, you agree to the developerWorks terms of use.

 


All information submitted is secure.

Dig deeper into Rational software on developerWorks


static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Rational, Information Management, DevOps
ArticleID=253873
ArticleTitle=Build a Web application without writing any code, Part 1
publish-date=09112007