Apache
  Home arrow Apache arrow Page 2 - Preparing the Workspace for Apache Tap...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
APACHE

Preparing the Workspace for Apache Tapestry
By: Alexander Kolesnikov
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 24
    2007-04-10

    Table of Contents:
  • Preparing the Workspace for Apache Tapestry
  • JDK
  • IDE
  • The Standard Structure of a Java Web Application

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Route your faxes to your email inbox. Private, secure fax numbers available from CallWave. Choose your fax number.

    Preparing the Workspace for Apache Tapestry - JDK
    (Page 2 of 4 )

    Before installing a JDK, first of all please check to see whether you have installed it already. To do this, try to invoke the Java compiler. Open a command prompt or a console window and enter the following command:

    javac -version

    If your computer replies similar to this:

    C:>javac -version

    javac 1.5.0

    javac: no source files

    Usage: javac <options> <source files>

    where possible options include:

    ... other output goes here ...

    then you already have a JDK. Still, check the version. Although Tapestry can work with a version of JDK as low as 1.3, we are going to use annotations in these tutorials, and annotations appeared in version 1.5 only.

    If however your computer replies that javac isn't a recognized command, or your version is lower than 1.5, you need to install an appropriate JDK.

    To do this, go to the Java.sun.com website and in the menu choose Downloads > Java SE (http://java.sun.com/javase/downloads/index.jsp).

    Here you have two options: to download and install JDK itself (the current version is JDK 6) or download and install JDK together with NetBeans IDE (currently JDK 6 with NetBeans 5.5). The latter makes sense if you agree with my suggestion to use NetBeans as the IDE for this tutorial.

    The JDK + NetBeans package is available for Windows, Linux and Solaris only, not for Mac OS X, but Macs have a JDK already installed on them anyway.

    If your Mac came with JDK 1.4.2 or earlier on it, please check the Java FAQ at Developer.apple.com (http://developer.apple.com/java/faq/) to find out how to upgrade to a higher version.

    After downloading a JDK, please follow the provided installation instructions specific to your platform. Or ask me at the discussion page if you have any difficulties.

    If you are installing JDK together with NetBeans, simply accept all the default options during the installation.

    More Apache Articles
    More By Alexander Kolesnikov


       · I hope your installation will go smoothly. If you choose to go the Eclipse way - no...
     

       

    APACHE ARTICLES

    - Putting Apache in Jail
    - Containing Intrusions in Apache
    - Server Limits for Apache Security
    - Setting Permissions in Apache
    - Installing Apache
    - Apache Installation and Configuration
    - Apache Tapestry and Custom Components: DateI...
    - Tapestry and AJAX: Autocompleter and InlineE...
    - PropertySelection and IPropertySelectionMode...
    - The DatePicker and Shell Components of Apach...
    - Apache Tapestry: ASO and More Components
    - Apache Tapestry and DirectLink, IoC and DI
    - Making a CelebrityCollector with Apache Tape...
    - Apache Tapestry and Listener Methods, Condit...
    - The Properties of Tapestry Pages

     
    Accelerating Trading Partner Performance
     
    Competing on Analytics
     
    Cost Effective Scaling with Virtualization and Coyote Point Systems
     
    Five Checkpoints to Implementing IP Telephony
     
    Hosted Email Security: Staying Ahead of New Threats
     




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway