SlideShare a Scribd company logo
All the Java ADF Beginners
       need to know! – Part 1

              Markus Eisele
              Oracle ACE Director
              Msg systems ag, Germany



1          Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
http://blog.eisele.net
http://twitter.com/myfear
markus@eisele.net
Overview



         1.    Introduction
         2.    History
         3.    Java„s Characteristics
         4.    Java Editions
         5.    Development Environments
         6.    Your First Program
         7.    The Language Basics




3                                 Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
Introduction



         The term Java actual refers to more than just a
         particular language like C or Pascal. Java
         encompasses several parts, including :

         •   A high level language
             The Java language is a high level one that at a
             glance looks very similar to C and C++ but offers
             many unique features of its own.

         •   Java bytecode
             A compiler, such as Sun's javac, transforms the Java
             language source code to bytecode that runs in the
             JVM.

         •   Java Virtual Machine (JVM)
             A program, such as Sun's java, that runs on a given
             platform and takes the bytecode programs as input
             and interprets them just as if it were a physical
             processor executing machine code.


4                                  Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
Introduction



         There were five primary goals in the creation of the
         Java language.

         It should:
         • be "simple, object oriented, and familiar".
         • be "robust and secure".
         • have "an architecture-neutral and portable
             environment".
         • execute with "high performance".
         • be "interpreted, threaded, and dynamic".




5                                 Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
History

        Year                                                Milestone

        JDK 1.1 (released on Feb 19,1997)                   Major additions included an extensive retooling of
                                                            the AWT event model, inner classes added to the
                                                            language, JavaBeans and JDBC.

        J2SE 1.2 (Dec 8, 1998)                              Reflection, a Collections framework, Java IDL (an
        Codename Playground.                                IDL implementation for CORBA interoperability),
                                                            Swing graphical API, a Java Plug-in, JIT compiler.

                                                            Bundling of the HotSpot JVM (the HotSpot JVM was
        J2SE 1.3 (May 8, 2000)
                                                            first released in April, 1999 for the J2SE 1.2 JVM),
        Codename Kestrel.                                   JavaSound, JNDI and JPDA.

        J2SE 1.4 (Feb 6, 2002)                              Developed under the Java Community Process as
        Codename Merlin.                                    JSR 59. Regular expressions modeled after Perl,
                                                            exception chaining, an integrated XML parser and
                                                            XSLT processor (JAXP), and Java Web Start.

        J2SE 5.0 or 1.5 (Sep 30, 2004)                       Developed as JSR 176, New language features
        Codename Tiger.                                     including the for-each loop, generics, autoboxing
                                                            and var-args.

        Java SE 6 (Dec 11, 2006)                            Database manager, Use of scripting languages with
        Codename Mustang                                    the JVM, Visual Basic language support. Support
                                                            for pluggable annotations (JSR 269), GUI
                                                            improvements, including native UI enhancements,
                                                            improvements to the JPDA & JVM Tool Interface

        Java SE 7 — Codename Dolphin.                        The Dolphin Project started in August 2006, with
                                                            first release estimated in September 2010.


6                                           Markus Eisele, Oracle ACE Director FMW & SOA                           msg systems ag, 26/06/11
Java‘s Characteristics

         •   Platform Independence
             The Write-Once-Run-Anywhere ideal
         •   Object Oriented
             Object oriented throughout - no coding outside of class definitions, including main().
         •   Compiler/Interpreter Combo
             Code is compiled to bytecodes that are interpreted by a Java virtual machines (JVM) .
         •   Robust
             Exception handling built-in, strong type checking (that is, all data must be declared an explicit type),
             local variables must be initialized.
         •   Several dangerous features of C & C++ eliminated:
             No memory pointers , No preprocessor , Array index limit checking
         •   Automatic Memory Management
             Automatic garbage collection - memory management handled by JVM.
         •   Security
             No memory pointers, Programs runs inside the virtual machine sandbox, Array index limit checking
         •   Dynamic Binding
             ´The linking of data and methods to where they are located, is done at run-time. New classes can be
             loaded while a program is running. Linking is done on the fly. Even if libraries are recompiled, there is
             no need to recompile code that uses classes in those libraries.
         •   Good Performance
             Interpretation of bytecodes slowed performance in early versions, but advanced virtual machines with
             adaptive and just-in-time compilation and other techniques now typically provide performance up to
             50% to 100% the speed of C++ programs.
         •   Threading
             Lightweight processes, called threads, can easily be spun off to perform multiprocessing. Can take
             advantage of multiprocessors where available Great for multimedia displays.
         •   Built-in Networking
             Java was designed with networking in mind and comes with many classes to develop sophisticated
             Internet communications.


7                                             Markus Eisele, Oracle ACE Director FMW & SOA                               msg systems ag, 26/06/11
Java Editions




               Optional
              Packages

                            Optional
                           Packages

                                                       Optional               Optional
                 Java                                 Packages               Packages
               Platform
                              Java
              Enterprise                                  MIDP             Personal Profile
                            Platform
                Edition
                            Standard                     CLDC                   CDC
              (Java EE)
                             Edition
                           (Java SE)                            Java Platform
                                                                Micro Edition
                                                                 (Java ME)



8                           Markus Eisele, Oracle ACE Director FMW & SOA                      msg systems ag, 26/06/11
Java Editions




     Source: http://en.wikipedia.org/wiki/Java_(software_platform)


9                                                                    Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
Development Environments




10                              Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
Your First Program




11                        Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
The Language Basics




12                         Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
Lesson in a tweet




      “The best thing about a boolean is
      even if you are wrong,
      you are only off by a bit.”
      (Anonymous)




      http://www.devtopics.com/101-great-computer-programming-quotes/


13                                             Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
Thanks!




               http://www.sagecomputing.com.au/



14                      Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
Free eBooks




                                               http://java.sun.com/docs/books/jls/
                                               http://www.mindviewinc.com/Books/downloads.html
                                               http://download.oracle.com/javase/tutorial/
                                               http://math.hws.edu/javanotes/




15                 Markus Eisele, Oracle ACE Director FMW & SOA                msg systems ag, 26/06/11
Thank you for your attention




     Markus Eisele

     Principle IT Architect

     http://blog.eisele.net
     http://twitter.com/myfear

     www.msg-systems.com




                                      www.msg-systems.com




16                               Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11

More Related Content

PDF
A guide to ADF fusion development
PPTX
J2ee seminar
PPT
Introduction to java ee
PPT
JEE Course - JEE Overview
PPT
PPT
J2EE and Servlet
PPT
Designing JEE Application Structure
PPTX
Java ee introduction
A guide to ADF fusion development
J2ee seminar
Introduction to java ee
JEE Course - JEE Overview
J2EE and Servlet
Designing JEE Application Structure
Java ee introduction

What's hot (20)

PDF
Building Enterprise Application with J2EE
PPT
Java J2EE
PDF
Java Enterprise Edition 6 Overview
PPTX
How To Find Resumes On Google | Boolean Search | Image Search Java Developer...
PPTX
Chapter2 j2ee
PDF
Summer training java
DOC
Sid K
PPT
Summer training java
PDF
Technical Recruitment Overview & Tips
PDF
Java EE 8 Web Frameworks: A Look at JSF vs MVC
PPTX
J2ee architecture
PDF
Overall & technical IT Recruitment skills
PPT
Ankara JUG Ağustos 2013 - Oracle ADF
DOCX
J2EE and layered architecture
PPT
Spring ppt
PPTX
Introduction Java Web Framework and Web Server.
DOCX
Project report for final year project
DOC
PDF
Java EE7 Demystified
Building Enterprise Application with J2EE
Java J2EE
Java Enterprise Edition 6 Overview
How To Find Resumes On Google | Boolean Search | Image Search Java Developer...
Chapter2 j2ee
Summer training java
Sid K
Summer training java
Technical Recruitment Overview & Tips
Java EE 8 Web Frameworks: A Look at JSF vs MVC
J2ee architecture
Overall & technical IT Recruitment skills
Ankara JUG Ağustos 2013 - Oracle ADF
J2EE and layered architecture
Spring ppt
Introduction Java Web Framework and Web Server.
Project report for final year project
Java EE7 Demystified
Ad

Similar to All the Java ADF beginners need to know - part1 (20)

PPTX
Presentation on Java Basic
PDF
Introducing Java 7
DOCX
Java 7 Dolphin manjula kollipara
PPTX
JAVA_Day1_BasicIntroduction.pptx
PPTX
JAVAPart1_BasicIntroduction.pptx
PDF
Java Programming - 01 intro to java
PPTX
Introduction to java
PPT
Object Oriented Programming-JAVA
PPTX
Java Lecture 1
PPTX
Module1_htryjtjhkrhdegtfhsfhrdgfhpart1.pptx
PPTX
Introduction to Basic Java Versions and their features
PPTX
Classes and Objects
PPTX
Basics of JAVA programming
PDF
Java ppt1
PDF
Learn Java Part 1
PPSX
Introduction of java
PDF
Java Concepts and Features-Programming in Java
PDF
Java Introduction | PDF
PDF
TechSearchWeb.pdf
Presentation on Java Basic
Introducing Java 7
Java 7 Dolphin manjula kollipara
JAVA_Day1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
Java Programming - 01 intro to java
Introduction to java
Object Oriented Programming-JAVA
Java Lecture 1
Module1_htryjtjhkrhdegtfhsfhrdgfhpart1.pptx
Introduction to Basic Java Versions and their features
Classes and Objects
Basics of JAVA programming
Java ppt1
Learn Java Part 1
Introduction of java
Java Concepts and Features-Programming in Java
Java Introduction | PDF
TechSearchWeb.pdf
Ad

More from Markus Eisele (20)

PDF
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
PDF
Backstage Software Templates for Java Developers
PDF
SparksCon 2024 - Die Ringe der Macht
PDF
Sustainable Software Architecture - Open Tour DACH '22
PDF
Going from java message service (jms) to eda
PDF
Let's be real. Quarkus in the wild.
PDF
What happens when unicorns drink coffee
PDF
Stateful on Stateless - The Future of Applications in the Cloud
PDF
Java in the age of containers - JUG Frankfurt/M
PDF
Java in the Age of Containers and Serverless
PDF
Migrating from Java EE to cloud-native Reactive systems
PDF
Streaming to a new Jakarta EE / JOTB19
PDF
Cloud wars - A LavaOne discussion in seven slides
PDF
Streaming to a new Jakarta EE
PDF
Reactive Integrations - Caveats and bumps in the road explained
PDF
Stay productive while slicing up the monolith
PDF
Stay productive while slicing up the monolith
PDF
Stay productive_while_slicing_up_the_monolith
PDF
Architecting for failure - Why are distributed systems hard?
PDF
Stay productive while slicing up the monolith
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Backstage Software Templates for Java Developers
SparksCon 2024 - Die Ringe der Macht
Sustainable Software Architecture - Open Tour DACH '22
Going from java message service (jms) to eda
Let's be real. Quarkus in the wild.
What happens when unicorns drink coffee
Stateful on Stateless - The Future of Applications in the Cloud
Java in the age of containers - JUG Frankfurt/M
Java in the Age of Containers and Serverless
Migrating from Java EE to cloud-native Reactive systems
Streaming to a new Jakarta EE / JOTB19
Cloud wars - A LavaOne discussion in seven slides
Streaming to a new Jakarta EE
Reactive Integrations - Caveats and bumps in the road explained
Stay productive while slicing up the monolith
Stay productive while slicing up the monolith
Stay productive_while_slicing_up_the_monolith
Architecting for failure - Why are distributed systems hard?
Stay productive while slicing up the monolith

Recently uploaded (20)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
Big Data Technologies - Introduction.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Machine learning based COVID-19 study performance prediction
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Cloud computing and distributed systems.
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPT
Teaching material agriculture food technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Big Data Technologies - Introduction.pptx
cuic standard and advanced reporting.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
20250228 LYD VKU AI Blended-Learning.pptx
Machine learning based COVID-19 study performance prediction
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Cloud computing and distributed systems.
Mobile App Security Testing_ A Comprehensive Guide.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Teaching material agriculture food technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Review of recent advances in non-invasive hemoglobin estimation
Digital-Transformation-Roadmap-for-Companies.pptx
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx

All the Java ADF beginners need to know - part1

  • 1. All the Java ADF Beginners need to know! – Part 1 Markus Eisele Oracle ACE Director Msg systems ag, Germany 1 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 3. Overview 1. Introduction 2. History 3. Java„s Characteristics 4. Java Editions 5. Development Environments 6. Your First Program 7. The Language Basics 3 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 4. Introduction The term Java actual refers to more than just a particular language like C or Pascal. Java encompasses several parts, including : • A high level language The Java language is a high level one that at a glance looks very similar to C and C++ but offers many unique features of its own. • Java bytecode A compiler, such as Sun's javac, transforms the Java language source code to bytecode that runs in the JVM. • Java Virtual Machine (JVM) A program, such as Sun's java, that runs on a given platform and takes the bytecode programs as input and interprets them just as if it were a physical processor executing machine code. 4 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 5. Introduction There were five primary goals in the creation of the Java language. It should: • be "simple, object oriented, and familiar". • be "robust and secure". • have "an architecture-neutral and portable environment". • execute with "high performance". • be "interpreted, threaded, and dynamic". 5 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 6. History Year Milestone JDK 1.1 (released on Feb 19,1997) Major additions included an extensive retooling of the AWT event model, inner classes added to the language, JavaBeans and JDBC. J2SE 1.2 (Dec 8, 1998) Reflection, a Collections framework, Java IDL (an Codename Playground. IDL implementation for CORBA interoperability), Swing graphical API, a Java Plug-in, JIT compiler. Bundling of the HotSpot JVM (the HotSpot JVM was J2SE 1.3 (May 8, 2000) first released in April, 1999 for the J2SE 1.2 JVM), Codename Kestrel. JavaSound, JNDI and JPDA. J2SE 1.4 (Feb 6, 2002) Developed under the Java Community Process as Codename Merlin. JSR 59. Regular expressions modeled after Perl, exception chaining, an integrated XML parser and XSLT processor (JAXP), and Java Web Start. J2SE 5.0 or 1.5 (Sep 30, 2004) Developed as JSR 176, New language features Codename Tiger. including the for-each loop, generics, autoboxing and var-args. Java SE 6 (Dec 11, 2006) Database manager, Use of scripting languages with Codename Mustang the JVM, Visual Basic language support. Support for pluggable annotations (JSR 269), GUI improvements, including native UI enhancements, improvements to the JPDA & JVM Tool Interface Java SE 7 — Codename Dolphin. The Dolphin Project started in August 2006, with first release estimated in September 2010. 6 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 7. Java‘s Characteristics • Platform Independence The Write-Once-Run-Anywhere ideal • Object Oriented Object oriented throughout - no coding outside of class definitions, including main(). • Compiler/Interpreter Combo Code is compiled to bytecodes that are interpreted by a Java virtual machines (JVM) . • Robust Exception handling built-in, strong type checking (that is, all data must be declared an explicit type), local variables must be initialized. • Several dangerous features of C & C++ eliminated: No memory pointers , No preprocessor , Array index limit checking • Automatic Memory Management Automatic garbage collection - memory management handled by JVM. • Security No memory pointers, Programs runs inside the virtual machine sandbox, Array index limit checking • Dynamic Binding ´The linking of data and methods to where they are located, is done at run-time. New classes can be loaded while a program is running. Linking is done on the fly. Even if libraries are recompiled, there is no need to recompile code that uses classes in those libraries. • Good Performance Interpretation of bytecodes slowed performance in early versions, but advanced virtual machines with adaptive and just-in-time compilation and other techniques now typically provide performance up to 50% to 100% the speed of C++ programs. • Threading Lightweight processes, called threads, can easily be spun off to perform multiprocessing. Can take advantage of multiprocessors where available Great for multimedia displays. • Built-in Networking Java was designed with networking in mind and comes with many classes to develop sophisticated Internet communications. 7 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 8. Java Editions Optional Packages Optional Packages Optional Optional Java Packages Packages Platform Java Enterprise MIDP Personal Profile Platform Edition Standard CLDC CDC (Java EE) Edition (Java SE) Java Platform Micro Edition (Java ME) 8 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 9. Java Editions Source: http://en.wikipedia.org/wiki/Java_(software_platform) 9 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 10. Development Environments 10 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 11. Your First Program 11 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 12. The Language Basics 12 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 13. Lesson in a tweet “The best thing about a boolean is even if you are wrong, you are only off by a bit.” (Anonymous) http://www.devtopics.com/101-great-computer-programming-quotes/ 13 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 14. Thanks! http://www.sagecomputing.com.au/ 14 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 15. Free eBooks http://java.sun.com/docs/books/jls/ http://www.mindviewinc.com/Books/downloads.html http://download.oracle.com/javase/tutorial/ http://math.hws.edu/javanotes/ 15 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 16. Thank you for your attention Markus Eisele Principle IT Architect http://blog.eisele.net http://twitter.com/myfear www.msg-systems.com www.msg-systems.com 16 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11