SlideShare a Scribd company logo
1 of 16
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

What's hot

Building Enterprise Application with J2EE
Building Enterprise Application with J2EEBuilding Enterprise Application with J2EE
Building Enterprise Application with J2EECalance
 
Java Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewJava Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewEugene Bogaart
 
How To Find Resumes On Google | Boolean Search | Image Search Java Developer...
How To Find Resumes On Google  | Boolean Search | Image Search Java Developer...How To Find Resumes On Google  | Boolean Search | Image Search Java Developer...
How To Find Resumes On Google | Boolean Search | Image Search Java Developer...TheStaffingCircle
 
Summer training java
Summer training javaSummer training java
Summer training javaArshit Rai
 
Sid K
Sid KSid K
Sid KSid K
 
Summer training java
Summer training javaSummer training java
Summer training javaArshit Rai
 
Java EE 8 Web Frameworks: A Look at JSF vs MVC
Java EE 8 Web Frameworks: A Look at JSF vs MVCJava EE 8 Web Frameworks: A Look at JSF vs MVC
Java EE 8 Web Frameworks: A Look at JSF vs MVCJosh Juneau
 
Overall & technical IT Recruitment skills
Overall &  technical IT Recruitment skills Overall &  technical IT Recruitment skills
Overall & technical IT Recruitment skills Toine Van Kastel
 
Ankara JUG Ağustos 2013 - Oracle ADF
Ankara JUG Ağustos 2013 - Oracle ADFAnkara JUG Ağustos 2013 - Oracle ADF
Ankara JUG Ağustos 2013 - Oracle ADFAnkara JUG
 
J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architectureSuman Behara
 
Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.suranisaunak
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year projectsuneel singh
 
Java EE7 Demystified
Java EE7 DemystifiedJava EE7 Demystified
Java EE7 DemystifiedAnkara JUG
 

What's hot (20)

Building Enterprise Application with J2EE
Building Enterprise Application with J2EEBuilding Enterprise Application with J2EE
Building Enterprise Application with J2EE
 
Java J2EE
Java J2EEJava J2EE
Java J2EE
 
J2ee
J2eeJ2ee
J2ee
 
Java Enterprise Edition 6 Overview
Java Enterprise Edition 6 OverviewJava Enterprise Edition 6 Overview
Java Enterprise Edition 6 Overview
 
How To Find Resumes On Google | Boolean Search | Image Search Java Developer...
How To Find Resumes On Google  | Boolean Search | Image Search Java Developer...How To Find Resumes On Google  | Boolean Search | Image Search Java Developer...
How To Find Resumes On Google | Boolean Search | Image Search Java Developer...
 
Chapter2 j2ee
Chapter2 j2eeChapter2 j2ee
Chapter2 j2ee
 
Summer training java
Summer training javaSummer training java
Summer training java
 
Sid K
Sid KSid K
Sid K
 
Summer training java
Summer training javaSummer training java
Summer training java
 
Technical Recruitment Overview & Tips
Technical Recruitment Overview & TipsTechnical Recruitment Overview & Tips
Technical Recruitment Overview & Tips
 
Java EE 8 Web Frameworks: A Look at JSF vs MVC
Java EE 8 Web Frameworks: A Look at JSF vs MVCJava EE 8 Web Frameworks: A Look at JSF vs MVC
Java EE 8 Web Frameworks: A Look at JSF vs MVC
 
J2ee architecture
J2ee architectureJ2ee architecture
J2ee architecture
 
Overall & technical IT Recruitment skills
Overall &  technical IT Recruitment skills Overall &  technical IT Recruitment skills
Overall & technical IT Recruitment skills
 
Ankara JUG Ağustos 2013 - Oracle ADF
Ankara JUG Ağustos 2013 - Oracle ADFAnkara JUG Ağustos 2013 - Oracle ADF
Ankara JUG Ağustos 2013 - Oracle ADF
 
J2EE and layered architecture
J2EE and layered architectureJ2EE and layered architecture
J2EE and layered architecture
 
Spring ppt
Spring pptSpring ppt
Spring ppt
 
Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.Introduction Java Web Framework and Web Server.
Introduction Java Web Framework and Web Server.
 
Project report for final year project
Project report for final year projectProject report for final year project
Project report for final year project
 
Bhargav
BhargavBhargav
Bhargav
 
Java EE7 Demystified
Java EE7 DemystifiedJava EE7 Demystified
Java EE7 Demystified
 

Similar to All the Java ADF beginners need to know - part1

Java 7 Dolphin manjula kollipara
Java 7 Dolphin manjula kolliparaJava 7 Dolphin manjula kollipara
Java 7 Dolphin manjula kolliparaManjula Kollipara
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxMurugesh33
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxMurugesh33
 
Introduction to java
Introduction to java Introduction to java
Introduction to java Sandeep Rawat
 
Object Oriented Programming-JAVA
Object Oriented Programming-JAVAObject Oriented Programming-JAVA
Object Oriented Programming-JAVAHome
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1Qualys
 
Introduction to Basic Java Versions and their features
Introduction to Basic Java Versions and their featuresIntroduction to Basic Java Versions and their features
Introduction to Basic Java Versions and their featuresAkash Badone
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and ObjectsPrabu U
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programmingElizabeth Thomas
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDFGeekster
 
Technology Tutorial.pdf
Technology Tutorial.pdfTechnology Tutorial.pdf
Technology Tutorial.pdfTechSearchWeb
 
Introduction to Java in cs engineering .pptx
Introduction to Java in cs engineering .pptxIntroduction to Java in cs engineering .pptx
Introduction to Java in cs engineering .pptxrastogimehak3845
 

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

Presentation on Java Basic
Presentation on Java BasicPresentation on Java Basic
Presentation on Java Basic
 
Introducing Java 7
Introducing Java 7Introducing Java 7
Introducing Java 7
 
Java 7 Dolphin manjula kollipara
Java 7 Dolphin manjula kolliparaJava 7 Dolphin manjula kollipara
Java 7 Dolphin manjula kollipara
 
JAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptxJAVA_Day1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
 
JAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptxJAVAPart1_BasicIntroduction.pptx
JAVAPart1_BasicIntroduction.pptx
 
Java Programming - 01 intro to java
Java Programming - 01 intro to javaJava Programming - 01 intro to java
Java Programming - 01 intro to java
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Object Oriented Programming-JAVA
Object Oriented Programming-JAVAObject Oriented Programming-JAVA
Object Oriented Programming-JAVA
 
Java Lecture 1
Java Lecture 1Java Lecture 1
Java Lecture 1
 
Java
JavaJava
Java
 
Introduction to Basic Java Versions and their features
Introduction to Basic Java Versions and their featuresIntroduction to Basic Java Versions and their features
Introduction to Basic Java Versions and their features
 
Classes and Objects
Classes and ObjectsClasses and Objects
Classes and Objects
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Java ppt1
Java ppt1Java ppt1
Java ppt1
 
Learn Java Part 1
Learn Java Part 1Learn Java Part 1
Learn Java Part 1
 
Introduction of java
Introduction  of javaIntroduction  of java
Introduction of java
 
Java Introduction | PDF
Java Introduction |  PDFJava Introduction |  PDF
Java Introduction | PDF
 
TechSearchWeb.pdf
TechSearchWeb.pdfTechSearchWeb.pdf
TechSearchWeb.pdf
 
Technology Tutorial.pdf
Technology Tutorial.pdfTechnology Tutorial.pdf
Technology Tutorial.pdf
 
Introduction to Java in cs engineering .pptx
Introduction to Java in cs engineering .pptxIntroduction to Java in cs engineering .pptx
Introduction to Java in cs engineering .pptx
 

More from Markus Eisele

Sustainable Software Architecture - Open Tour DACH '22
Sustainable Software Architecture - Open Tour DACH '22Sustainable Software Architecture - Open Tour DACH '22
Sustainable Software Architecture - Open Tour DACH '22Markus Eisele
 
Going from java message service (jms) to eda
Going from java message service (jms) to eda Going from java message service (jms) to eda
Going from java message service (jms) to eda Markus Eisele
 
Let's be real. Quarkus in the wild.
Let's be real. Quarkus in the wild.Let's be real. Quarkus in the wild.
Let's be real. Quarkus in the wild.Markus Eisele
 
What happens when unicorns drink coffee
What happens when unicorns drink coffeeWhat happens when unicorns drink coffee
What happens when unicorns drink coffeeMarkus Eisele
 
Stateful on Stateless - The Future of Applications in the Cloud
Stateful on Stateless - The Future of Applications in the CloudStateful on Stateless - The Future of Applications in the Cloud
Stateful on Stateless - The Future of Applications in the CloudMarkus Eisele
 
Java in the age of containers - JUG Frankfurt/M
Java in the age of containers - JUG Frankfurt/MJava in the age of containers - JUG Frankfurt/M
Java in the age of containers - JUG Frankfurt/MMarkus Eisele
 
Java in the Age of Containers and Serverless
Java in the Age of Containers and ServerlessJava in the Age of Containers and Serverless
Java in the Age of Containers and ServerlessMarkus Eisele
 
Migrating from Java EE to cloud-native Reactive systems
Migrating from Java EE to cloud-native Reactive systemsMigrating from Java EE to cloud-native Reactive systems
Migrating from Java EE to cloud-native Reactive systemsMarkus Eisele
 
Streaming to a new Jakarta EE / JOTB19
Streaming to a new Jakarta EE / JOTB19Streaming to a new Jakarta EE / JOTB19
Streaming to a new Jakarta EE / JOTB19Markus Eisele
 
Cloud wars - A LavaOne discussion in seven slides
Cloud wars - A LavaOne discussion in seven slidesCloud wars - A LavaOne discussion in seven slides
Cloud wars - A LavaOne discussion in seven slidesMarkus Eisele
 
Streaming to a new Jakarta EE
Streaming to a new Jakarta EEStreaming to a new Jakarta EE
Streaming to a new Jakarta EEMarkus Eisele
 
Reactive Integrations - Caveats and bumps in the road explained
Reactive Integrations - Caveats and bumps in the road explained  Reactive Integrations - Caveats and bumps in the road explained
Reactive Integrations - Caveats and bumps in the road explained Markus Eisele
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolithStay productive while slicing up the monolith
Stay productive while slicing up the monolithMarkus Eisele
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolithStay productive while slicing up the monolith
Stay productive while slicing up the monolithMarkus Eisele
 
Stay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithStay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithMarkus Eisele
 
Architecting for failure - Why are distributed systems hard?
Architecting for failure - Why are distributed systems hard?Architecting for failure - Why are distributed systems hard?
Architecting for failure - Why are distributed systems hard?Markus Eisele
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolith Stay productive while slicing up the monolith
Stay productive while slicing up the monolith Markus Eisele
 
Nine Neins - where Java EE will never take you
Nine Neins - where Java EE will never take youNine Neins - where Java EE will never take you
Nine Neins - where Java EE will never take youMarkus Eisele
 
How lagom helps to build real world microservice systems
How lagom helps to build real world microservice systemsHow lagom helps to build real world microservice systems
How lagom helps to build real world microservice systemsMarkus Eisele
 
CQRS and Event Sourcing for Java Developers
CQRS and Event Sourcing for Java DevelopersCQRS and Event Sourcing for Java Developers
CQRS and Event Sourcing for Java DevelopersMarkus Eisele
 

More from Markus Eisele (20)

Sustainable Software Architecture - Open Tour DACH '22
Sustainable Software Architecture - Open Tour DACH '22Sustainable Software Architecture - Open Tour DACH '22
Sustainable Software Architecture - Open Tour DACH '22
 
Going from java message service (jms) to eda
Going from java message service (jms) to eda Going from java message service (jms) to eda
Going from java message service (jms) to eda
 
Let's be real. Quarkus in the wild.
Let's be real. Quarkus in the wild.Let's be real. Quarkus in the wild.
Let's be real. Quarkus in the wild.
 
What happens when unicorns drink coffee
What happens when unicorns drink coffeeWhat happens when unicorns drink coffee
What happens when unicorns drink coffee
 
Stateful on Stateless - The Future of Applications in the Cloud
Stateful on Stateless - The Future of Applications in the CloudStateful on Stateless - The Future of Applications in the Cloud
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 - JUG Frankfurt/MJava in the age of containers - JUG Frankfurt/M
Java in the age of containers - JUG Frankfurt/M
 
Java in the Age of Containers and Serverless
Java in the Age of Containers and ServerlessJava in the Age of Containers and Serverless
Java in the Age of Containers and Serverless
 
Migrating from Java EE to cloud-native Reactive systems
Migrating from Java EE to cloud-native Reactive systemsMigrating from Java EE to cloud-native Reactive systems
Migrating from Java EE to cloud-native Reactive systems
 
Streaming to a new Jakarta EE / JOTB19
Streaming to a new Jakarta EE / JOTB19Streaming to a new Jakarta EE / JOTB19
Streaming to a new Jakarta EE / JOTB19
 
Cloud wars - A LavaOne discussion in seven slides
Cloud wars - A LavaOne discussion in seven slidesCloud wars - A LavaOne discussion in seven slides
Cloud wars - A LavaOne discussion in seven slides
 
Streaming to a new Jakarta EE
Streaming to a new Jakarta EEStreaming to a new Jakarta EE
Streaming to a new Jakarta EE
 
Reactive Integrations - Caveats and bumps in the road explained
Reactive Integrations - Caveats and bumps in the road explained  Reactive Integrations - Caveats and bumps in the road explained
Reactive Integrations - Caveats and bumps in the road explained
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolithStay productive while slicing up the monolith
Stay productive while slicing up the monolith
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolithStay productive while slicing up the monolith
Stay productive while slicing up the monolith
 
Stay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithStay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolith
 
Architecting for failure - Why are distributed systems hard?
Architecting for failure - Why are distributed systems hard?Architecting for failure - Why are distributed systems hard?
Architecting for failure - Why are distributed systems hard?
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolith Stay productive while slicing up the monolith
Stay productive while slicing up the monolith
 
Nine Neins - where Java EE will never take you
Nine Neins - where Java EE will never take youNine Neins - where Java EE will never take you
Nine Neins - where Java EE will never take you
 
How lagom helps to build real world microservice systems
How lagom helps to build real world microservice systemsHow lagom helps to build real world microservice systems
How lagom helps to build real world microservice systems
 
CQRS and Event Sourcing for Java Developers
CQRS and Event Sourcing for Java DevelopersCQRS and Event Sourcing for Java Developers
CQRS and Event Sourcing for Java Developers
 

Recently uploaded

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 

Recently uploaded (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 

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