How Java is Organized?

By: Emiley J. Emailed: 1644 times Printed: 2108 times    

Latest comments
By: rohit kumar - how this program is work
By: Kirti - Hi..thx for the hadoop in
By: Spijker - I have altered the code a
By: ali mohammed - why we use the java in ne
By: ali mohammed - why we use the java in ne
By: mizhelle - when I exported the data
By: raul - no output as well, i'm ge
By: Rajesh - thanx very much...
By: Suindu De - Suppose we are executing

Java has changed tremendously and included more features over the years. The first basic version of Java comprised of just six packages. A package is a collection of Java classes. Sun grouped six different packages with classes doing specific jobs. For example the '' package consists of all classes that do input output such as reading files, writing to files etc. where as the '' package consists of classes that do networking such as making a HTTP connection etc..

But in recent years Java included support for many new features and the basic organization of Java can be grouped into three different editions.

  • J2EE is the Enterprise Edition of Java which caters to the Enterprise programming which uses technologies such as EJB (Enterprise Java Beans) and support for multi-tier programming
  • J2SE is the Standard Edition of Java which supports servlets and Jsps to develop web applications, client server applications and applets.
  • J2ME is the Micro Edition of Java targeted towards all smaller devices such as mobile phones, set-top boxes etc.
Choosing the right edition for development depends on the type of project at hand. For example,
  • If you need to use Enterprise Java Beans and build an enterprise level application with multiple tiers where you would like to separate the business logic from the interface design then the edition to use is J2EE. 
  • If you need to develop a web based application which uses servlets and JSPs to query database and a browser interface with applets then probably you would choose J2SE.
  • If you have a project where you need to use a 'Java enabled' mobile phone to send and receive data to a web server you will need to use J2ME for the client application with J2SE at the server side

If you are still not sure of the architecture of Java and which edition to choose, or how Java is organized check our links & resources page for more information.

Java Home | All Java Tutorials | Latest Java Tutorials

Sponsored Links

If this tutorial doesn't answer your question, or you have a specific question, just ask an expert here. Post your question to get a direct answer.

Bookmark and Share


1. View Comment


View Tutorial          By: Akhilesh at 2010-04-05 11:31:17

Your name (required):

Your email(required, will not be shown to the public):

Your sites URL (optional):

Your comments:

More Tutorials by Emiley J.
Error generating from manifest
ERROR 1251: Client does not support authentication protocol requested by server; consider upgrading MySQL client
IIS and Tomcat - how to configure to work together
PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/php4/lib/php/extensions/no-debug ......
Adding your own Application icon for your J2ME application (jar file)
Creating Menus in Code using
Traversing all files in a directory using Ruby
Using Proxy to connect to URLs in Ruby
POST a form in Ruby
Reading URL content using Ruby (HTTP)
dRuby client/server mode sample program
Benchmark module in Ruby
encoding and decoding in Ruby using Base64 Module
Module Abbrev in Ruby
Standard Library Packages in Ruby

More Tutorials in Java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Java File
Java String
Count number of vowels, consonants and digits in a String in Java
Reverse a number in Java
Student marks calculation program in Java
Handling Fractions in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
MultiLevel Inheritance sample in Java
Multiple Inheritance sample in Java
Java program using Method Overriding
Java program to check if user input is an even number

More Latest News
Most Viewed Articles (in Java )
How to Send SMS using Java Program (full code sample included)
InetAddress Example program in Java
XML and Java - Parsing XML using Java Tutorial
Read from a COM port using Java program
How to use Iterator in Java
wait(), notify() and notifyAll() in Java - A tutorial
Recursion in java
Student marks calculation program in Java
TCP Server and TCP Client in Java
Count number of vowels, consonants and digits in a String in Java
Vector example in Java
Using StringTokenizer in Java
Integer: byte, short, int, and long data types in Java
FileReader and FileWriter example program in Java
Stack example in Java - push(), pop(), empty(), search()
Most Emailed Articles (in Java)
What is Multithreaded programming?
TCP Server and TCP Client in Java
setPriority() and getPriority() in Java
Using One-Dimensional Arrays in Java
Read from a COM port using Java program
Type Casting in Java
Simple Port Scanner application using Java
constants and variables
Update contents of a file within a jar file
HTTPS Java - URL Connection program. Using HttpsURLConnection
Major components of FxObjects in JavaFX
Java program for Associate keys with values
How to use set, get basic and nested properties for Spring framework
How to reverse the elements in a Single dimension array and display the output
Of Object, equals (), == and hashCode ()