Showing posts with label JAVA. Show all posts
Showing posts with label JAVA. Show all posts

Monday, September 9, 2013

COMPUTER TRAINING COURSE- JAVA / J2EE

Source:- Freshersworld
What is Java?
Java is an object-oriented language that enables you to create real world applications.Java is the very popular technology in IT Industry .There are more and more Companies who are migrating their applications from current technologies to Java which leaves a huge empty space to be filled with Java and its technologies. The Java platform at its core is a way of computing that is based on the power of networks and the idea that the same software should run on different kinds of computers, consumer gadgets and other devices.
The architecture of network does not affect the java and this thing makes it a much significant language. The nature of Java technology is extremely important in a networked world where one cannot predict what kind of devices our partners, suppliers and employees may use to connect to you.
Java technology based software works just about everywhere from the smallest devices to super computers. It is even not affected by the kind of computer, phone, TV or operating system they run on. They work on any kind of compatible device that supports Java platform.
Why Java Programming?
Java Technologies provide an ideal entry into application development or software project management careers. Importance of Java as a coherent platform independent object oriented language is widely recognized .As we know, Oracle has become the custodian of Java through its acquisition of Sun Microsystems .Oracle-Java Certifications are among the most
sought after badges of credibility for expertise in the Information Technology marketplace. An Oracle-Java Technical Certification is a valuable, industry -recognized credential that signifies a proven level of knowledge and skill. This technology helps raise your visibility and increase your access to the industries most Challenging opportunities. Employers look for ways to distinguish employees and prospective Employees who have the solid foundation of skills needed for effective performance,
Scope of Java Programming
Service industry
  • Product industry
  • Web application Development
  • Banking
  • Insurance
  • Medical
  • E-commerce
  • Wireless
  • Mobile phone applications
Eligibility
Any undergraduate can take up this course. Only requirement is that students have a strong desire to have a career as Java developer and be willing to work hard and have fun learning and doing all assignments.

Thursday, August 29, 2013

PPT ON JAVA ENVIRONMENT SETUP

Presentation On Java Environment Setup
Download

Java Environment Setup Presentation Transcript:
1.Java Environment Setup

2.Before we proceed further it is important that we set up the java environment correctly. This section guides you on how to download and set up Java on your machine. Please follow the following steps to set up the environment.
Java SE is freely available from the link Download Java. So you download a version based on your operating system.

3.Follow the instructions to download java and run the .exe to install Java on your machine. Once you installed Java on your machine, you would need to set environment variables to point to correct installation directories:

4.Setting up the path for windows 2000/XP: 
Assuming you have installed Java in c:\Program Files\java\jdk directory:
Right-click on 'My Computer' and select 'Properties'.
Click on the 'Environment variables' button under the 'Advanced' tab.
Now alter the 'Path' variable so that it also contains the path to the Java executable. Example, 
if the path is currently set to 'C:\WINDOWS\SYSTEM32', then change your path to read 'C:\WINDOWS\SYSTEM32;c:\Program Files\java\jdk\bin'.

5.Setting up the path for windows 95/98/ME:
Assuming you have installed Java in c:\Program Files\java\jdk directory:
Edit the 'C:\autoexec.bat' file and add the following line at the end:  'SET PATH=%PATH%;C:\Program Files\java\jdk\bin'

6.Setting up the path for Linux, UNIX, Solaris, FreeBSD:
Environment variable PATH should be set to point to where the java binaries have been installed. Refer to your shell documentation if you have trouble doing this.
Example, if you use bash as your shell, then you would add the following line to the end of your '.bashrc: export PATH=/path/to/java:$PATH'

7.Popular Java Editors:
To write your java programs you will need a text editor. There are even more sophisticated IDE available in the market. But for now, you can consider one of the following:
Notepad : On Windows machine you can use any simple text editor like Notepad (Recommended for this tutorial), TextPad.
Netbeans :is a Java IDE that is open source and free which can be downloaded fromhttp://www.netbeans.org/index.html.
Eclipse : is also a java IDE developed by the eclipse open source community and can be downloaded from http://www.eclipse.org/.

Source: Power Point Presentations

PPT ON INTRODUCTION TO JAVA

Presentation On Introduction To Java
Download

Introduction To Java Presentation Transcript:
1.Java - Overview

2.Java programming language was originally developed by Sun Microsystems, which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems's Java platform (Java 1.0 [J2SE]).
As of December 08 the latest release of the Java Standard Edition is 6 (J2SE). 

3.With the advancement of Java and its wide spread popularity, multiple configurations were built to suite various types of platforms. Ex: J2EE for Enterprise Applications, J2ME for Mobile Applications.
Sun Microsystems has renamed the new J2 versions as Java SE, Java EE and Java ME respectively. Java is guaranteed to be Write Once, Run Anywhere

4.Object Oriented : In java everything is an Object. Java can be easily extended since it is based on the Object model.
Platform independent: Unlike many other programming languages including C and C++ when Java is compiled, it is not compiled into platform specific machine, rather into platform independent byte code. 

5.This byte code is distributed over the web and interpreted by virtual Machine (JVM) on whichever platform it is being run.
Simple :Java is designed to be easy to learn. If you understand the basic concept of OOP java would be easy to master.

6.Secure : With Java's secure feature it enables to develop virus-free, tamper-free systems. Authentication techniques are based on public-key encryption.
Architectural- neutral :Java compiler generates an architecture-neutral object file format which makes the compiled code to be executable on many processors, with the presence Java runtime system.

7.Portable :being architectural neutral and having no implementation dependent aspects of the specification makes Java portable. Compiler and Java is written in ANSI C with a clean portability boundary which is a POSIX subset.
Robust :Java makes an effort to eliminate error prone situations by emphasizing mainly on compile time error checking and runtime checking.

8.Multi-threaded : With Java's multi-threaded feature it is possible to write programs that can do many tasks simultaneously. This design feature allows developers to construct smoothly running interactive applications.
Interpreted :Java byte code is translated on the fly to native machine instructions and is not stored anywhere. 

9.The development process is more rapid and analytical since the linking is an incremental and light weight process.
High Performance: With the use of Just-In-Time compilers Java enables high performance.
Distributed :Java is designed for the distributed environment of the internet.

10.Dynamic : Java is considered to be more dynamic than C or C++ since it is designed to adapt to an evolving environment. 
Java programs can carry extensive amount of run-time information that can be used to verify and resolve accesses to objects on run-time.

Source: Power Point Presentations

PPT ON JAVA DATA STRUCTURES

Presentation On Java Data Structures
Download

Java Data Structures Presentation Transcript:
1.Java - Data Structures

2.Java - Data Structures
The data structures provided by the Java utility package are very powerful and perform a wide range of functions. These data structures consist of the following interface and classes:
Enumeration
BitSet
Vector
Stack
Dictionary
Hashtable
Properties
All these classes are now legacy and Java-2 has introduced a new framework called Collections Framework which is discussed in next tutorial:

3.The Enumeration: 
The Enumeration interface isn't itself a data structure, but it is very important within the context of other data structures. 
The Enumeration interface defines a means to retrieve successive elements from a data structure.
For example, Enumeration defines a method called nextElement that is used to get the next element in a data structure that contains multiple elements.
To have more detail about this interface, check The Enumeration.

4.The BitSet 
The BitSet class implements a group of bits, or flags, that can be set and cleared individually.
This class is very useful in cases where you need to keep up with a set of boolean values; you just assign a bit to each value and set or clear it as appropriate.
To have more detail about this class, check The BitSet.

5.The Vector
The Vector class is similar to a traditional Java array, except that it can grow as necessary to accommodate new elements.
Like an array, elements of a Vector object can be accessed via an index into the vector.
The nice thing about using the Vector class is that you don't have to worry about setting it to a specific size upon creation; it shrinks and grows automatically when necessary.
To have more detail about this class, check The Vector.

6.The Stack
The Stack class implements a last-in-first-out (LIFO) stack of elements.
You can think of a stack literally as a vertical stack of objects; when you add a new element, it gets stacked on top of the others.
When you pull an element off the stack, it comes off the top. In other words, the last element you added to the stack is the first one to come back off.
To have more detail about this class, check The Stack.

7.The Dictionary
The Dictionary class is an abstract class that defines a data structure for mapping keys to values.
This is useful in cases where you want to be able to access data via a particular key rather than an integer index.
Since the Dictionary class is abstract, it provides only the framework for a key-mapped data structure rather than a specific implementation.
To have more detail about this class, check The Dictionary.

8.The Hashtable 
The Hashtable class provides a means of organizing data based on some user-defined key structure.
For example, in an address list hash table you could store and sort data based on a key such as ZIP code rather than on a person's name.
The specific meaning of keys in regard to hash tables is totally dependent on the usage of the hash table and the data it contains.
To have more detail about this class, check The Hashtable.

9.The Properties 
Properties is a subclass of Hashtable. It is used to maintain lists of values in which the key is a String and the value is also a String.
The Properties class is used by many other Java classes. For example, it is the type of object returned by System.getProperties( ) when obtaining environmental values.


Source: Power Point Presentations

PPT ON JAVA CHARACTER CLASS

Presentation On Java Character Class
Download

Java Character Class Presentation Transcript:
1.Java - Character Class

2.Java - Character Class
Normally, when we work with characters, we use primitive data types char.
Example:
char ch = 'a'; 
// Unicode for uppercase Greek omega character char uniChar = '\u039A';
 // an array of chars 
char[] charArray ={ 'a', 'b', 'c', 'd', 'e' }; 

3.However in development we come across situations were we need to use objects instead of primitive data types. In-order to achieve this Java provides wrapper classe Character for primitive data type char.
The Character class offers a number of useful class (i.e., static) methods for manipulating characters. You can create a Character object with the Character constructor:

4.Character ch = new Character('a');
The Java compiler will also create a Character object for you under some circumstances. 
For example, if you pass a primitive char into a method that expects an object, 
the compiler automatically converts the char to a Character for you. 
This feature is called autoboxing or unboxing, if the conversion goes the other way.

5.Example:
// Here following primitive char 'a' 
// is boxed into the Character object ch Character ch = 'a'; 
// Here primitive 'x' is boxed for method test, 
// return is unboxed to char 'c' 
char c = test('x');

6.Escape Sequences: 
A character preceded by a backslash (\) is an escape sequence and has special meaning to the compiler.
The newline character (\n) has been used frequently in this tutorial in System.out.println() statements to advance to the next line after the string is printed.
Following table shows the Java escape sequences:

7.If you want to put quotes within quotes you must use the escape sequence, \", on the interior quotes:
public class Test
     { 
public static void main(String args[]) 

System.out.println("She said \"Hello!\" to me.");
 } 
    }
This would produce following result:
She said "Hello!" to me.

Source: Power Point Presentations