JAVA STANDARD EDITIONS

JAVA EDITIONS DETAILS:

JAVA-Skeleton

J2SE
JAVA 2 STANDARD EDITION
J2EE
JAVA 2 ENTERPRISE EDITION
J2ME
JAVA 2 MICRO EDITION
APPLICATION

APPLET

UTILITY

JFC
(Java Foundation Classes)

AWT
(Abstract Window Toolkit)

SWING

NETWORKING

JDBC
(Java Database Connectivity)
SERVLET

JSP
(Java Servelet Page)

EJB
(Enterprise Java Bean)

FRAMEWORKS
Structs
Hibernate
Spring
Ajax
MID-LET


JAVA INSTALLATION

Before getting into Java installation one needs to know about two important factors

  1. JDK (Java Development Kit).
  2. JRE (Java Run-time Environment).

Now let me move for installation process.

Download the any version of Java SE with from oracle website or with the below link:


http://www.oracle.com/technetwork/java/archive-139210.html (Java SE Development Kit 5.0u22)

INSTALLATION STEPS

Follow the Screen shots for the installation for J2SE 1.5

Click next in all the steps and if you want to change the installation drive then just make it.









 That's it so simple.

JAVA FOR BEGINNERS

JAVA TECHNOLOGY

  • Interesting to say, the name JAVA had been taken from a coffee brand called "JAVA".
  • The people behind this language were so attracted to the aroma and taste of this coffee brand which they took during the period of this language development to refresh themselves, that they decided to name their own programming language as "JAVA".
  • In this blog am going to follow JAVA 1.5.

JAVA TIMELINE AND VERSION DETAILS:

DATE VERSIONS CODE NAME
1995 JDK Alpha and Beta ------
23-01-1996 JDK 1.0 Oak
19-02-1997 JDK 1.1 Sparkler
08-12-1998 J2SE 1.2 Playground
08-05-2000 J2SE 1.3 Kestrel
06-02-2002 J2SE 1.4 Merlin
30-09-2004 J2SE 5.0 or 1.5 Tiger
11-12-2006 Java SE 6 Mustang
28-07-2011 Java SE 7 Dolphin


KEY FACTORS IN JAVA

KEY FACTORS IN JAVA

The factors which are listed below will help you @ the level of begging.

1.Java is a pure Object-Oriented Programming Language(OOPL).

2.There are four important key factors that completely constitutes java language,they are
  • Class
  • Object
  • Variable
  • Method
3.Java without a class is an impossible one.

ARCHITECTURE FOR SIMPLE JAVA PROGRAM

class classname
{
         variable(s);
         method(s)
         {
          ................
          ................
         }
}

1.classname is a user-defined name.

2.method(s) and varibles can be either pre-defined or user defined or the both.

3.All the code will come under the class block.


SET OF RULES WHILE WRITING A JAVA PROGRAM

1.The file name and the class name should be the same one.

2.The class name should start with the capital letter or with an upper case letters and the consecutive word should also have the same constraint.

3.The method name should start with small or lower case letters and all the consecutive word will start with capital letter.

Example:
Naming a class:

  • SampleJavaProgram
  • MyFirstProgram

Naming a mathods:

  • doSampleJavaProgram()
  • runMyFirstProgram()

Will meet you in the next post with a simple java program with all the above constraints.....

JAVA SIMPLE ARCHITECTURE

A SIMPLE ARCHITECTURE TO UNDERSTAND THE JAVA(J2SE) IN 2 MINUTES

class
{    // class block;
      variable(s ); // variables inside the class
      method(s)   // method block
      {
             variable(s ); // variables inside the methods
      }
}

A SIMPLE ARCHITECTURE OF JAVA
(Not the actual architecture but it helps the beginners to under the language better)

  • To access the class,methods,variables the key is OBJECT.

  • The super class of all the classes is OBJECT.

  • We will discuss about accessing and naming methodologies of class,methods,variables in the later posts.