Home arrow Java arrow Getting Set with J2EE, conclusion

Getting Set with J2EE, conclusion

This article, the second of two parts, will take you through writing a simple application with J2EE 1.4 SDK. It is excerpted from chapter two of the book Beginning J2EE 1.4 From Novice to Professional, written by James L. Weaver, Kevin Mukhar, and Jim Crume (Apress, 2005; ISBN: 1590593413).

Author Info:
By: Apress Publishing
Rating: 5 stars5 stars5 stars5 stars5 stars / 5
December 15, 2005
  1. · Getting Set with J2EE, conclusion
  2. · Try it Out: Hello J2EE World
  3. · How it works
  4. · Summary

print this article

Getting Set with J2EE, conclusion
(Page 1 of 4 )

Compiling and Deploying Hello J2EE World

As a final test, we're going to walk through the process of creating and deploying a JavaServer page. This is going to make certain that the J2EE server is working properly first, and give you your first taste of building, deploying, and testing a J2EE application.

This will consist of the following steps:

  • Create a working directory. This will give us a sandbox for creating the application files and editing them.
  • Create a text file for the JavaServer Page. This will be a text file of HTML with snippets of Java code, which will be compiled by the J2EE server into a servlet.
  • Using the Deployment Tool utility, select the components for the application and package them up into a Web Archive. The Web Archive is a jar file that bundles all of the application components into a single file for easy deployment.
  • Verify the contents of the Web Archive. The Deployment Tool has a utility that will test the contents of the Web Archive before it's distributed to catch problems beforehand.
  • Distribute the Web Archive to the J2EE server. Once this is done, the application is available and ready to be run.
  • Test the application.

So, lets get started!

blog comments powered by Disqus

- Java Too Insecure, Says Microsoft Researcher
- Google Beats Oracle in Java Ruling
- Deploying Multiple Java Applets as One
- Deploying Java Applets
- Understanding Deployment Frameworks
- Database Programming in Java Using JDBC
- Extension Interfaces and SAX
- Entities, Handlers and SAX
- Advanced SAX
- Conversions and Java Print Streams
- Formatters and Java Print Streams
- Java Print Streams
- Wildcards, Arrays, and Generics in Java
- Wildcards and Generic Methods in Java
- Finishing the Project: Java Web Development ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials