Joe Zuffoletto

Subscribe to Joe Zuffoletto: eMailAlertsEmail Alerts
Get Joe Zuffoletto via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Related Topics: Java EE Journal

J2EE Journal: Article

Creating a WebLogic Environment

Creating a WebLogic Environment

Setting Up a WebLogic Environment
Our goal in this part of the book has been to introduce you to WebLogic Server's many capabilities and to help you understand how to field a team that can effectively take advantage of them. We've also given you some ideas on how to design J2EE applications that can be deployed with WebLogic.

The rest of this book is hands-on, showing you in great detail how to configure WebLogic's features, how to write code that uses those features, and how to deploy and test that code. To derive the most benefit from this book, you need to install WebLogic Server and create a WebLogic environment to play in. This chapter shows you how to do so.

We start off by showing you how to install the simplest possible WebLogic development environment on a computer and verify that it is working correctly. We then show you how to connect WebLogic to two popular relational database systems, Oracle and Microsoft SQL Server, so that you can write and test database code. Finally, we give you some tips and techniques on how to create a WebLogic development environment that supports a complete application development workflow, from development to testing to final deployment.

We want to make this chapter concrete without making it too long, so we limit our discussion to WebLogic Server 7.0 running on the Windows 2000 Server operating system. WebLogic runs on a multitude of platforms, including several flavors of Unix, but showing how to install and configure WebLogic on each platform would take too much space. Many developers, especially individual developers, start with Windows 2000 anyway, so we think the greatest number of readers will benefit if we focus on that platform. Knowledgeable Unix developers can easily adapt the instructions we give here to the version of Unix that they are using. The steps to install WebLogic on those platforms are fairly similar and well-documented in the WebLogic manuals.

After you have finished reading this chapter, you will have a fully functional copy of WebLogic Server running on your machine, and you'll be ready to conquer the material in the rest of this book. So let's get to work!

Configuring a Computer for WebLogic Development
WebLogic Server's published hardware requirements are modest and sufficient for one developer working with one computer. The minimum requirements for an Intel-based, Windows system are the following:

  • Hardware: Pentium 200MHz or faster, 236MB free disk space (plus 170MB for temporary installation files), 256MB RAM
  • Operating System: Microsoft Windows NT 4.0 or Microsoft Windows 2000

    Obviously, the more capable your computer, the more productive you will be. For example, Lou runs WebLogic on a desktop running Windows 2000 Professional (this is certified only for development; Windows 2000 Server is certified for production). This machine has a 733MHz Pentium III chip, a 40GB hard drive, and 640MB of RAM. In addition to WebLogic Server, it comfortably supports his Oracle 8i installation, so he can develop and test database code.

    Note that the stated minimums are not at all sufficient for large production systems. Requirements for them will vary, depending on user traffic, application complexity, clustering configurations, and so on.

    In addition to the hardware and software requirements, WebLogic Server 7.0 requires the following to be installed on the computer running WebLogic Server:

  • Java Development Kit (JDK) 1.3. As of this writing, JDK 1.3.1_03 is bundled with WebLogic 7.0 and is automatically installed by WebLogic's installer.
  • Netscape 4.7.x and 6.2 are supported on all platforms (Windows and Unix). Microsoft Internet Explorer 5.x or 6.0 are supported on Windows. You need one of these Web browsers to run the WebLogic Console application (used to administer WebLogic).

    Having a supported browser for the WebLogic console mainly has to do with the Java applet tree on the left. Using this applet is optional in WebLogic 7.0 - you can configure the console to display only the web pages (no Java applet) in the main console window instead. For example, you can use any browser on Mac OS X (which is BSD Unix under the covers) and have no trouble administering WebLogic servers through the console.


    BEA WebLogic Server Bible, 2nd Edition
    Joe Zuffoletto
    Lou Miranda
    ISBN: 0-7645-2602-2


    From BEA WebLogic Server Bible, 2nd Edition,
    by Joe Zuffoletto and Lou Miranda.
    Copyright © 2003 by Wiley Publishing, Inc. All rights reserved. Reproduced here by permission of the publisher.

  • Comments (0)

    Share your thoughts on this story.

    Add your comment
    You must be signed in to add a comment. Sign-in | Register

    In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.