Java is great programming language for the development of
enterprise grade applications. This programming Language is evolved from
a language named Oak.
Java Tutorials - Java Example Codes and Tutorials
Java is great programming
language for the development of enterprise grade applications. This programming
Language is evolved from a language named Oak. Oak was developed in the early
nineties at Sun Microsystems as a platform-independent language aimed at
allowing entertainment appliances such as video game consoles and VCRs to
communicate . Oak was first slated to appear in television set-top boxes
designed to provide video-on-demand services. Oak was unsuccessful so in 1995
Sun changed the name to Java and modified the language to take advantage of the
burgeoning World Wide Web.
Java is an object-oriented language, and this is very
similar to C++. Java Programming Language is simplified to eliminate language
features that cause common programming errors. Java source code files are
compiled into a format called bytecode, which can then be executed by a Java
interpreter.
Java programming tutorials:
 |
Java
Flavors |
 |
|
|
| Java For Beginner |
|
Master-Java |
- New to Java?
If you are new to Java technology and you want to learn Java
and make career in the Java technology then this page is for you.
- Use
of Java
Java technology is
a high-level programming and a platform independent language. Java is designed
to work in the distributed environment
on the Internet.
- Java
Exception
In this Java exception handling tutorial, you will
learn about different types of exception and errors with
the solutions to handle it. Basically exceptions in Java
are used to handle errors and exceptional events. Go
through the given tutorial to find out more on
exceptions..
- Java
Get Example
An introduction to various methods and functions to get
the different values in Java. After going through this
section, you will be able to get the date, time, certain
values and directory path etc..
- Pass Value
Example
- Java Break
Example
- Java Biginteger
- Java Bigdecimal
- JavaScript
Array
- Java Methods
- Java Write
- Java
Programming Introduction
Java programming language is useful for
development of enterprise grade applications. Java language comes in
light from a language named Oak.
- Learn Java In A Day
Java is the most exciting object oriented programming language in computer programming landscape
- Learn Java Quickly
This is one page introduction to java, that will teach you the
basics of java. In this quick Java tutorial you will download, install
and then create very first java program.
- Java Tools
Java Development Kit or JDK comes with
lots of tools for compiling and running the programs. These tools also
contains programs to test and document the programs. In this Java Tools
tutorials we will provide you detailed introduction of these Java Tools.
- Beginners Java Tutorials
Java Tutorial for beginners.
-
Java
Conversion Tutorials
Java conversion tutorials with example.
-
Java
Comparison
-
Java
String Examples
Java String tutorials with example.
-
Java
Exceptions
Exceptions are nothing but some anomalous conditions that occur
during the execution of the program. Exceptions are the conditions
or typically an event which may interrupt the normal flow of the
program's instructions.
-
Wrapper Class Tutorials and Examples
Wrapper class is a wrapper around a primitive data type. It represents primitive data types in their
corresponding class instances e.g. a boolean data type can be
represented as a Boolean class instance.
-
Reflection API Tutorials and Examples
Reflection API is a powerful technique (that provides the facility) to find-out
Its environment as well as to inspect the class
itself. Reflection API was included in Java 1.1.
- Java Applet Tutorials
Introduction to Java Applet and example explaining how to
write your first Applet. Java Applet tutorials for beginners, collection
many Java Applets example with running code.
- Java iText - Open Source PDF Libraries
iText is a java library that provides the facilities for
generating PDFs. You can improve the look and feel of your html which is
the browser independent by using this java library. You can get more
about the iText library inside the topic.
- Java Ftp Libraries
Here you will get some tutorials related to the java ftp
including ftp libraries and some important explained examples.
- Various
Commands that are used in java are given below
A Java Compiler javac is a computer program or set of programs which translate java source code into java byte code.
- Java ClassPath
Java is an OOP language. In java programming language for compiling the
program we use the compiler that converts the source code into the byte code
after that, that byte code is interpreted by JVM that converts the bytecode into
the machine independent code.
- Task Scheduling in JAVA
In some applications some task need to run
periodically, for example a application of report generating checks for new
database entry after one day and make reports according to the entries then save
all entries in company's permanent record.
|
|
- Master Java Tutorials
(TOC)
This tutorial will make you perfect in Java i.e. the master of
Java. You can be master of Java by going through the Master
Java Tutorial.
-
Java as a programming language
Java is an Object oriented application programming
language developed by Sun Microsystems. Java is a very powerful
general-purpose programming language.
-
Java as an Object Oriented Language
In this section, we will discuss the OOPs concepts
along with fundamentals used to develop the java applications
and programs.
- JEE 5 Tutorial
Welcome to JEE 5 tutorial guide, here you will find everything
need to know about Java Enterprise Edition 5 for developing best
enterprise application based on JEE technologies.
- JDK 6 Tutorial
The latest news for the java programmers that the Sun
MicroSystems has released the Java SE 6 on Monday December 11. So go and
grab your copy. It has been released with the promises to ease the
complexities faced in the jdk 1.5.
- Java IO Package Examples
The Java I/O is the collection of java classes and interfaces
for reading and writing on to stream, byte stream and array of byte
stream.
-
Java AWT Package Examples
In this section you will learn about the AWT package of the
Java. Many running examples are provided that will help you master AWT
package.
- Java UDP Tutorial
UDP Tutorial with many examples in Java.
- Swing Example
Here you will find many Java Swing examples with running
source code. Source code provide here are fully tested and you can use
it in your program.
- Java util Examples
The util package or java provides many utility interfaces and
classes for easy manipulation of in-memory data. The java util package
tutorials at RoseIndia.net introduces you with the Java util package of
JDK.
- Java Threading Tutorial
Threading concept is very important in Java Programming
language. A thread is a sequential path of code execution within a
program. And each thread has its own local variables, program counter
and lifetime.
- Java 5 Tutorials
Java 5.0 tutorials.
- Java-Network
Tutorials
The Java platform is extremely preferable to write an application program require to communicate with the resources on network.
- Simple java program
Write a simple java program to makes a profit a local store marks up the prices of its items by 25%.
- Java Virtual
Machine
JVM is the main component of Java architecture and it is the part of the JRE (Java Runtime
Environment) . It provides the cross platform functionality to java.
- Collection
- Java
Date
|
|
|
 |
|
 |
|
 |
Detailed Java Course Material |
 |
|
|
Section I - Introduction to Java
This section introduces you the Java
programming language. These days Java programming language is
being used for programming web applications. It is also
widely used for mobile and electronic items.
- What
is Java?
Java is a high-level object-oriented programming language
developed by the Sun Microsystems. Though it is associated
with the World Wide Web but it is older than the origin of
Web.
- Java
as an Internet Language
Java is an object oriented language and a very simple
language. Because it has no space for complexities. At the
initial stages of its development it was called as OAK. OAK
was designed for handling set up boxes and devices.
- Java
as general purpose language
Java is an Object oriented application programming language
developed by Sun Microsystems.
Java Features
- Case
sensitivity
What is case sensitivity:
Case sensitivity is the mechanism in which words can be differ
in meaning based on different use of uppercase and lowercase
letters.
- Java
is Simple and platform Independent
The concept of
Write-once-run-anywhere (known as the Platform independent) is
one of the important key feature of java language that makes
java as the most powerful language.
- Java
Enabled browsers
Java language is the most powerful language and is
widely used in the web application. Today most of the web
browser are java compatible.
Java Tools
- Java Compiler
To commence with Java
programming, we must know the significance of Java Compiler.
- Java Interpreter
We can run Java on most
platforms provided a platform must has a Java interpreter.
- Java
Debugger
Java debugger helps in
finding and the fixing of bugs in Java language programs.
- Java Header File GeneratorIn Java programming we
need to implement some native methods. To implement these
methods Javah generates C header and source files that
are used by C programs to reference an Object's instance
variables from native source code.
- JavaDoc
This tool is used to
generate API documentation into HTML format from Java source
code.
- Applet ViewerApplet viewer is a
command line program to run Java applets.
Section II- Java Language
- Java
Comments
To comprehend any programming language, there are several
kind of comments which are used.
- Java
Keywords
There are few keywords in Java programming language.
Remember, we cannot use these keywords as identifiers in the
program. The keywords "const" and "goto"
are reserved though, they are not being currently used.
- Java
Data Types
Java programming language is a language in which all the
variables must be declared first and then to be used i.e. to
specify the name and the type of the variable. This specifies
that Java is a strongly-typed programming language
- Literals
By literal we mean any number, text, or other information
that represents a value. This means what you type is what you
get. We will use literals in addition to variables in Java
statement. While writing a source code as a character
sequence, we can specify any value as a literal such as an
integer.
- Arrays
In this section you will be introduced to the concept of
Arrays in Java Programming language. You will learn how the
Array class in java helps the programmer to organize the
same type of data into easily manageable format.
- Operators
Operators are symbols that performs some operations on one
or more then one operands. Once we declare and initialize
variables, we can use operators to perform certain tasks like
addition, subtraction etc.
- Controlling
your program
We all know that the execution of the statements in a
program takes place from top to bottom. We will learn how the
different kinds of statement have different effects in looping
like decision-making statements (if-then, if-then-else,
switch), the looping statements (for, while, do-while), and
the branching statements (break, continue, return) in Java
programming language.
- Java
Classes
In this section you will be introduced to some essential
classes in Java like Exceptions, Basic I/O, Concurrency etc.
- Class
Inheritance
To know the concept of inheritance clearly you must have
the idea of class and its features like methods, data members,
access controls, constructors, keywords this, super etc.
- Summary
You have been introduced to the contents of Java language
providing a great amount of information. Perhaps it would be a
bit arduous to grasp the whole lot of things at one go.
However, the implementation of these little basics will make
you a substantial programmer.
Related Java Tutorials/Articles
- Java Tutorial and articles
Here you will find articles related to the Java Programming Language. Some of the articles are:
Deadlocks in Java, Java GC, Java Compile Time Constants, Enum Inversion Problem, Head First Design Pattern, LinkedList vs.
ArrayList, Java Break to Label Statement, Strategy Pattern of Hascode Equality, Object Adapter based on Dynamic Proxy, Making Enumerations Iterable, JTable in JDK, JDK 1.5 Performance Surprises ... Click Here to View all tutorials
- Java Tutorials - Complete Java Tutorial for Beginners and Advance Programmers
- Java Security Packages JCA/JCE
In this tutorial, the author explains the cryptography-related
concepts and packages in JDK, with code examples. Many of the concepts
and technical terms thus learnt will be useful in understanding the
Cryptography API in MFC also.
|
|
The Java Tutorials are practical guides for programmers who want
to use the Java programming language to create applications. They
include hundreds of complete, working examples, and dozens of
lessons. Groups of related lessons are organized into "trails".
The Java Tutorials primarily describe features in Java SE 7.
For best results, download JDK 7.
The Java Tutorials are continuously updated to keep up with
changes to the Java Platform and to incorporate feedback from our
readers. This release of the tutorials coincides with the release of
JDK 7 Update 2.
The following sections have been updated for this release:
For information on the areas of the tutorial that are new and updated for the JDK 7 release, see the history page.
Trails Covering the Basics
These trails are available in book form as The Java
Tutorial, Fourth Edition. To buy this book,
refer to the box to the right.
- Getting Started
— An introduction to Java technology and lessons on
installing Java development software and using it to create a
simple program.
- Learning the Java Language
— Lessons describing the essential concepts and features
of the Java Programming Language.
- Essential Java Classes
— Lessons on exceptions, basic input/output,
concurrency, regular expressions, and the platform
environment.
- Collections —
Lessons on using and extending the Java Collections Framework.
- Swing — An introduction
to the Swing GUI toolkit, with an overview of features and a
visual catalog of components. See below for a more
comprehensive tutorial on Swing.
- Deployment —
How to package applications and applets using JAR files, and
deploy them using Java Web Start and Java Plug-in.
- Preparation
for Java Programming Language Certification
— List of available training and tutorial resources.
Creating Graphical User Interfaces
Specialized Trails and Lessons
These trails and lessons are only available as web pages.
- Custom Networking
— An introduction to the Java platform's powerful
networking features.
- The Extension Mechanism
— How to make custom APIs available to all applications
running on the Java platform.
- Full-Screen
Exclusive Mode API — How to write applications
that more fully utilize the user's graphics hardware.
- Generics —
An enhancement to the type system that supports operations on
objects of various types while providing compile-time type
safety. Note that this lesson is for advanced users. The Java Language trail contains a Generics lesson that is
suitable for beginners.
- Internationalization —
An introduction to designing software so that it can be easily
be adapted (localized) to various languages and regions.
- JavaBeans —
The Java platform's component technology.
- JDBC Database Access —
Introduces an API for connectivity between the Java
applications and a wide range of databases and a data sources.
- JMX— Java Management
Extensions provides a standard way of managing resources
such as applications, devices, and services.
- JNDI— Java Naming and
Directory Interface enables accessing the Naming and Directory
Service such as DNS and LDAP.
- JAXP — Introduces
the Java API for XML Processing (JAXP) 1.4 technology.
- JAXB — Introduces
the Java architecture for XML Binding (JAXB) technology.
- RMI — The Remote Method
Invocation API allows an object to invoke methods of
an object running on another Java Virtual Machine.
- Reflection — An API
that represents ("reflects") the classes, interfaces, and
objects in the current Java Virtual Machine.
- Security — Java
platform features that help protect applications from
malicious software.
- Sound — An API for
playing sound data from applications.
- 2D Graphics — How to
display and print 2D graphics in applications.
- Sockets Direct Protocol — How to
enable the Sockets Direct Protocol to take advantage of
InfiniBand.
(1) Java Quick Reference Guide
A quick Java reference guide for Java Programmers.
(2) Java Useful Resources
A collection of Java Sites, Books and Articles is given at this page.
(3) JSP Tutorial
Learn JSP in really simple steps with examples using this tutorial.
(4) JavaScript Tutorial
If you are working on Web Applications then here is a tutorial on JavaScript.
(5) Java Tutorial in PDF
Download a quick Java tutorial in PDF format.
No comments:
Post a Comment