How Java is Organized?

By: Emiley J. Emailed: 1599 times Printed: 2051 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)
Method Overriding in Java
Recursion in java
InetAddress Example program in Java
Abstract classes in Java
How to use ArrayList in Java
XML and Java - Parsing XML using Java Tutorial
Vector example in Java
Using StringTokenizer in Java
Read from a COM port using Java program
How to use Iterator in Java
Method Overloading (function overloading) in Java
compareTo( ) in Java
FileReader and FileWriter example program in Java
wait(), notify() and notifyAll() in Java - A tutorial
Most Emailed Articles (in Java)
inheritance in Java
Creating Users and Passwords with Tomcat using tomcat-users.xml
interface Example in Java
Java program to display numbers from 1 to 10 on Applet
How to modify the objects using java classes
Using Parameters in JasperReports
What is a Java CLASSPATH and why you need it?
Java scripting embedded in HTML.
Executing Java Scripts
Recursion in java
The Basic Structure of a Simple Java program
Reverse a number in Java
Vector in Java - Sample Program
Java program to print prime numbers using Thread
Draw a bar chart in Java