|
SESSION 3 Part2 |
Basics for Java -
continued |
 |
|
|
|
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
 |
 |
|
Yes, I had a good sleep!
I feel fantastic!
Sorry for that. |
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
OK, OK, I am happy for you..
Now, let's get straight into it!
Since we have decided to use
Java for development language,
Let's have a quick look at
Java this time.
Again, just have a skim read
this time.
You don't need to remember
in details.
You may find that you don't
understand some parts, but
You will become to understand
l ater, so don't worry.
|
|
|
 |
 |
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
Java is
program development language.
We also call Java,
including the running environment.
Let's take a look at the main features of Java. |
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
 |
|
|
|
|
 |
|
Sure thing. |
|
|
|
|
|
The main features of Java |
|
 |
|
 |
|
The main features of Java |
|
Once code is written, it can be run anywhere
(Write Once, Run Anywhere) |
Java's concept and the best feature.
Once created, the same soft can be
operated in various environment.
There is no need to re-create for each
OS.
Currently, it supports Windows, Mac,
Linux, and other major OS. |
|
|
Automation of memory management |
It automates difficult memory management
with the function called "Garbage
Collection".
Unused memories will be automatically
released, so it enables to create safe
application which is less likely to go
out of control.
|
|
|
There are many network related functions. |
From Applet which operates on browser,
to Servlet which operates on server,
and JavaWebStart which is able to auto
update using internet,
there are many network functions. |
|
|
Focus on security |
With things like "Sandbox" concept which
encloses the program within protected
areas to run,
safety is considered even when using
internet.
The program run enclosed is unable to do
any harm. |
|
|
Object oriented language |
It is designed as object oriented
language to enable to create the program
with flexible and high extensibility.
|
|
|
|
|
|
|
|
 |
|
 |
|
Don't
worry |

|
There are
so many of
them, huh?
I only know
roughly…. |
|
|
|
|
 |
|
|
|
|
 |
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
Java is a development language created by Sun Microsystems.
This is revolutionary language created with assumption of
internet era's arrival.
I am not too exaggerating, you know.
In fact, it made huge influence on those languages which
came
afterwards.
It used to be said that running speed is slow, but
now, thanks to improvement of Java and development of computer,
it is not slow at all. It is rather fast, actually.
Java's language form is similar to C and C++. It is C/C++ type.
What you learned with Java can be adapted to other cases.
In January 2010, Sun Microsystems was taken over by Oracle, and
Oracle is the main administrator/developer/support provider
at the moment.
There are many features but these are the main ones. |
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
Java is used at various field
at the moment.
From big size business system, to
Web server, mobile game,
there are countless examples.
We just don't notice but it is used
everywhere.
Also, from game to business soft,
it can be applied to create most softs.
If you use Java FX coming up at the
end of 2008,
it is planned to be able to create like
Flash as well.
Currently, it is being developed openly
so many companies and developers
are providing
ideas and technologies to create it.
Anyone can see the inside of Java
(source code), and
it is free to use.
…well, that's about it for summary. |
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
There is always the latest technology
adopted as it gets developed.
The latest version of Java is 8.
(as of 19/3/2014) |
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
 |
|
|
|
|
|
|
|
 |
|
 |
|
Java's edition |
|
Edition |
Contents |
Java SE
(Java Platform, Standard Edition)
Standard Edition |
Normal Java used for desktop computer etc. |
Java
ME
(Java Platform, Micro Edition)
Portable terminal Edition |
Small set with SE designed for portable terminal.
It is used for a mobile phone, as well as for built- in
use with information appliance.
|
Java
EE
(Java Platform, Enterprise Edition)
Corporate Edition |
In this set, SE is added with extension designed for
corporate.
There are many functions about server. |
|
|
|
|
|
 |
|
 |
|
 |
 |
OK. |
|
|
|
|
 |
|
|
|
|
 |
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
Also, with Java
there are three editions depending on its purpose.
For normal use, we have Java SE (Standard Edition).
Java Me (Micro Edition) is used for things like mobile phone.
You know that there is Java application or game. |
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
Wait!
I know what Java is…. |
|
 |
 |
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
 |
 |
|
Ah,
have you heard about it
before? |
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|
|
It is the same name as
the big boss of snails
in Star W*rs, isn't it?
|
|
|
|
|
|
 |
 |
|
 |
 |
|
|
 |
 |
 |
 |
 |
|
|
|
|
 |
|
|
|
|
|
|
|
|
You have
something
more than
"curry" stuff?
You are so
geeky sometimes. |
|
 |
Oops.
It just
came to
my mind
you know.
I am sorry. |
|
|
|
|
|
|
|
|
|