How Java is Organized?

By: Emiley J. Emailed: 1729 times Printed: 2341 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 'java.io' package consists of all classes that do input output such as reading files, writing to files etc. where as the 'java.net' 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

Comments(1)


1. View Comment

Thanks

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 R.java 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 VB.net
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)
wait(), notify() and notifyAll() in Java - A tutorial
Method Overriding in Java
What is Java?
XML and Java - Parsing XML using Java Tutorial
InetAddress Example program in Java
How to use ArrayList in Java
Method Overloading (function overloading) in Java
Read from a COM port using Java program
Vector example in Java
Stack example in Java - push(), pop(), empty(), search()
Calendar - sample program in Java
Use of return statement in Java
Student marks calculation program in Java
arraycopy example in Java
Most Emailed Articles (in Java)
Vector in Java - Sample Program
Use of return statement in Java
The Basic Structure of a Simple Java program
Taking the size of an Array at runtime & generate random numbers to populate the Array
instanceof operator example in Java
PushbackReader sample program in Java
CharArrayWriter sample program in Java
iterator() and hasNext() in Java
3-D Secure Payment or 3DS - (3-Domain Secure Payment)
What is a Java Package and how to use it?
How to use Iterator in Java
J2EE Components
The modulus Operators
The java Buzzwords
Java Chat Client Sample Applet