De presentatie wordt gedownload. Even geduld aub

De presentatie wordt gedownload. Even geduld aub

1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Waarom java? programma machinetaal (.exe) compilen platformspecifiek Een exe programma.

Verwante presentaties


Presentatie over: "1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Waarom java? programma machinetaal (.exe) compilen platformspecifiek Een exe programma."— Transcript van de presentatie:

1 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Waarom java? programma machinetaal (.exe) compilen platformspecifiek Een exe programma op Windows werkt niet op UNIX en omgekeerd!.NET - toepassing

2 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Java-technologie machinetaal programma Java bytecode compilen Java programma interpreten door de Java Virtual Machine platformspecifiek geïnstalleerd per systeem

3 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Java Virtual Machine SolarisWin32LinuxMacAndere JVM Java Applet/applicatie Write once, run anywhere Platform-onafh.

4 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Java-technologie Start ontwerp 1990 (Enkele van hun) doelstellingen: ‘easy to use language’ Interpreted environment: speed, code portability Security 1995: grote conferentie Sun 1997: JVM voor elk platform ontwikkeld!

5 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Java - voordelen Volledig platform onafhankelijk Basistaal relatief simpel, gebaseerd op C maar dan eenvoudiger maar dan zonder de errorgevoelige elementen - bv: allocatie/deallocatie geheugen Device-independant graphics Free

6 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Java – Applet & applicatie Twee soorten java-programma’s: applet(Prog 2) applicatie(Prog 4) Verschil tss applet & applicatie

7 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Java – Hoe gaat het programmeren in zijn werk? Test.java Test.class javac Compileren: 1 controle op fouten 2 omzetten nr bytecode Gewone texteditor

8 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Java – Hoe gaat het programmeren in zijn werk? Test.java Test.class javac At Runtime JVM Runtime Hardware Class library

9 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Java – Wat heb ik nodig? Java Virtual machine? Compiler?

10 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 JRE JVM Java API SDK JVM: Java Virtual Machine JRE: Java Java Runtime Environment JAVA API: Java Application Programming Interface SDK: Software Development Kit

11 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Java Virtual Machine Sinds 1995 reeds verschillende versies van Java SDK’s: -versie 1.0 -versie 1.1 -versie 1.2 -versie 1.3 -versie 1.4 Java 2 platform Elke versie heeft zijn eigen subversies. Versies zijn upward compatible

12 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Download Java 2 Platform, Standard Edition, v 1.4.2 (J2SE) http://java.sun.com/j2se/1.4.2/download.html J2SE 1.4.2 Documentation online http://java.sun.com/j2se/1.4.2/docs/api/index.html http://java.sun.com/j2se/1.4.2/docs/api/index.html JGrasp http://www.jgrasp.org/http://www.jgrasp.org/ Algemeen: tutorials, help, etc… http://java.sun.com/ http://javaalmanac.com/

13 1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 “Java is used for combination of data visualization, collaboration, command and control. It lets them look at images and create 3-D reconstructions of terrain…” Mars exploratie met Java 3D


Download ppt "1 Introductie next MCT - Programmeren 2 © S. Walcarius 2003-2004 Waarom java? programma machinetaal (.exe) compilen platformspecifiek Een exe programma."

Verwante presentaties


Ads door Google