Skip to Content
avatar image
Former Member

J2ee Hierarch

I am a beginner with Java. Would some one just guide me in what Hierarchy I have to approach the J2EE from the following list

1) EJB 2) Servlets and 3) Web Service 4) J2ee 5) Core Java 6) JSP 7) Java Proxies

And also if you would tell me the Important areas I have to cover in the above list would be greatly appreicated.

I dont need any material or Blogs.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Jul 30, 2007 at 05:55 AM

    Hi Jenni,

    For beginners the best is to begin with Tomcat installation.You can configure and install Apache Tomcat 6.0 for use as standalone webserver.The basic steps that are required for running servlets are -

    <i><b>1) Install JDK</b></i>

    Your first step is to download and install Java. Tomcat 6.0 requires JDK 1.5 Standard Edition (Java 5) or JDK 1.6 Standard Edition (Java 6). See the following sites for download and installation information.

    Once you've installed Java, confirm that everything including your PATH is configured properly by opening a DOS window and typing "java -version" and "javac -help".

    <i><b>2) Configure Tomcat</b></i>

    Go to and download and unpack the zip file for the current release build of Tomcat 6. You specify the top-level directory (e.g., C:\) and the zip file has embedded subdirectories (e.g., apache-tomcat-6.0.10).

    Next, you must set the JAVA_HOME environment variable to tell Tomcat where to find Java

    <b>Enable the Invoker Servlet</b>

    The invoker servlet lets you run servlets without first making changes to your Web application's deployment descriptor (i.e., the WEB-INF/web.xml file). Instead, you just drop your servlet into WEB-INF/classes and use the URL http://host/servlet/ServletName (or http://host/webAppName/servlet/ServletName once you start using your own Web applications.

    <i><b>3) Setup Development Environment</b></i>

    The server already knows about the servlet classes, but the compiler (i.e., javac) you use for development probably doesn't. So, if you don't set your CLASSPATH (either via an environment variable, an operating system setting, or an IDE setting), attempts to compile servlets, tag libraries, filters, Web app listeners, or other classes that use the servlet and JSP APIs will fail with error messages about unknown classes. Here are the standard Tomcat locations:



    You need to include both files in your CLASSPATH.

    <i><b>4) Test Server</b></i>

    Before trying your own servlets or JSP pages, you should make sure that the server is installed and configured properly. For Tomcat, click on install_dir/bin/startup.bat (or execute install_dir/bin/ on Unix/Linux). Next, enter the URL http://localhost/ in your browser and make sure you get the Tomcat welcome page, not an error message saying that the page could not be displayed or that the server could not be found.

    The steps mentioned here are explained in DETAIL in the following document

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 29, 2007 at 10:01 AM

    You should do in following order:

    5->2->6->1->3->7 J2EE will be covered in this process.

    You should be good in core java. And then 2,6,1 are mandatory.


    Ashwani Kr Sharma

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I would recommend using Tomcat, for reasons of being freely available, a lightweight download (max 50 MB) and you need not know tweaky administrative stuff....using WebAS for learning servelets would be overkill... 😊

  • Jul 29, 2007 at 03:40 PM


    I would suggest first be strong in core java and then move towards servlets and JSP and then to EJB, Webservices.

    Having good skills in core java is a must.


    Vivek Nidhi

    Add comment
    10|10000 characters needed characters exceeded