Java EE Platform


Java is a programming language. The Java EE Platform provides a runtime environment (also known as JRE or Java Runtime Environment) as well as a development kit (also known as JDK or Java Development Kit) for building applications in Java. There are a few variants of the platform:

Java Platform, Standard Edition (Java SE) is the core of Java technology used mostly for application development. The runtime environment is widely used in Web browsers to run small applications known as applets. The development kit is used to compile and deploy Java applications or applets and is usually embedded in integrated development environment (IDE) tools.

Java Platform, Micro Edition (Java ME) is a lightweight and trimmed down version of the Java SE. It is designed for mobile devices such as cellular phones.

Java Platform, Enterprise Edition (Java EE) builds on top of Java SE and adds many features that can build Web-based objects (such as servlets) and reliable enterprise applications (such as Enterprise Java Beans). Java EE is run on an application server. The next section contains many details on its architecture.

For example, you can create a simple Java program MyInteropSample.java using a text editor that prints out the simple message, "This is a simple Java application," as follows:

public class MyInteropSample {
 // define your variables here…
 public static void main(String args[]) {
 // you can insert your processing logic here…
   System.out.println
   ("Java EE .NET Interoperability Sample");
   ...
   }
   }

This simple Java application has a structure

public class <program name> { ...}
 

followed by the variables and processing logic or methods used in the program. The main() method defines the processing logic when the program starts. In this example, the main() method prints out a text message.

For more information on getting started with Java, please refer to http://java.sun.com/docs/books/tutorial/index.html. The rest of this book assumes prior knowledge of Java.

To compile the Java program, use the command javac as follows:

%javac MyInteropSample.java
 

To run the Java application, use the command java as follows:

%java MyInteropSample

Legal Disclaimer

Our website is not responsible for the information contained by this article. Webworldarticles.com is a free articles resource thus practically any visitor can submit an article. However if you notice any copyrighted material, please contact us and we will remove the article(s) in discussion right away.


This article was sent to us by: Blerick Tawman at 11272007

Related Articles

1. What is a Java Package
A Java package is a collection of related classes that can be imported into your program to support your software. They also provide namespace management, as wel...

2. Character Escape Sequences
Character escape sequences allow for a character to be interpreted differently than its literal value. Character escape sequences are defined using the backslash (\) ch...

3. Conditional Statements
The ability to choose the path that your program takes, based on any given data, is the key to all functionality in programming. In order to create conditional statemen...

4. Java Methods
Methods are used as the building blocks of your program, performing tasks that can be called again and again and using the same code to perform the task each time. The basi...

5. Variable Scope
The scope of a variable is the area in which a variable belongs, specified by the area in which it is declared. The following example code contains two declared variables, ...

6. Regular Expressions in Java
A regular expression is a code that is used to match a pattern in a given string and is new to Java 1.4. Regular expressions are made up of normal characters and metacharac...

7. Introduction to Object Oriented Programming (OOP)
The transition from a procedural programming (non-OOP) language to an object-oriented programming language is a large step for many programmers. It is true that both method...

8. Operator Precedence in programming languages
Operator precedence deciphers the order in which calculations in an expression occur. Looking at the calculation example 3 + 4 * 6, the answer could be calculated by ad...