By: Niraj in Java Tutorials on 2023-04-23
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
This policy contains information about your privacy. By posting, you are declaring that you understand this policy:
- Your name, rating, website address, town, country, state and comment will be publicly displayed if entered.
- Aside from the data entered into these form fields, other stored data about your comment will include:
- Your IP address (not displayed)
- The time/date of your submission (displayed)
- Your email address will not be shared. It is collected for only two reasons:
- Administrative purposes, should a need to contact you arise.
- To inform you of new comments, should you subscribe to receive notifications.
- A cookie may be set on your computer. This is used to remember your inputs. It will expire by itself.
This policy is subject to change at any time and without notice.
These terms and conditions contain rules about posting comments. By submitting a comment, you are declaring that you agree with these rules:
- Although the administrator will attempt to moderate comments, it is impossible for every comment to have been moderated at any given time.
- You acknowledge that all comments express the views and opinions of the original author and not those of the administrator.
- You agree not to post any material which is knowingly false, obscene, hateful, threatening, harassing or invasive of a person's privacy.
- The administrator has the right to edit, move or remove any comment for any reason and without notice.
Failure to comply with these rules may result in being banned from submitting further comments.
These terms and conditions are subject to change at any time and without notice.
Most Viewed Articles (in Java )
Latest Articles (in Java)
- Data Science
- React Native
- Cloud Computing
- Java Beans
- Mac OS X
- Office 365
- Tech Reviews