0% found this document useful (0 votes)
11 views9 pages

1 Dars

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views9 pages

1 Dars

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Java

Birinchi dars
Java - Indonesiadagi orol

JDK - beta versiyasi 1995

JDK 1.0 Yanvar 1996

https://en.wikipedia.org/wiki/Java_version_history
Java uchun dasturlar

JRE - Java runtime environment. ()

JDK - Java Development Kit. (Javada dastur yozish uchun kerak)

JVM - Java Virtual Machine. (Javada yoki boshqa dasturlarda yozilgan


dasturlashi ishlashi uchun foydalaniladigan dastur)
(JDK kochirib olish: https://docs.aws.amazon.com/corretto/latest/corretto-17-ug/windows-7-install.html)
Java Editions (Java turlari)

Java SE - Standard edition


Java EE - Enterprise edition (Jakarta EE) = Java SE + Many web-related APIs are provided to facilitate
this: WebSocket, JavaServer Pages, JAX-RS, etc. The enterprise features also include APIs related to JSON processing, security,
Java Message Service, JavaMail, etc.

In a Java EE application, we can use everything from the standard APIs. On top of that, we can use more advanced technologies.

Now let’s see a use case for Java EE. For example, we can create servlets to process HTTP requests from users and create dynamic
UI using JavaServer Pages. We can produce and consume messages using JMS, send emails and authenticate users to make our
application secure. Furthermore, we can use the dependency injection mechanism to make our code more maintainable.
Java ME - Micro edition

Java Micro Edition or Java ME provides APIs for applications targeting embedded and mobile devices. These can be
mobile phones, set-top boxes, sensors, printers, etc.Java ME includes some Java SE functionalities while providing
new APIs specific to these devices. For example, Bluetooth, location, sensor APIs, etc. Most of the time, these small
devices have resource constraints in terms of CPU or memory. We must consider these constraints when using Java
ME.Sometimes the target device might not even be available to us to test our code. The SDK can help with this
because it provides emulators, application profiling, and monitoring.For instance, a simple Java ME application could
read a temperature sensor’s value and send it in an HTTP request along with its location.
IntelliJ

IntelliJ IDE judaham kuchli dastur va u o’z ichiga ko’p funksiyalarni qamrab
olgan. IntelliJ IDE dasturlashni boshlovchilar uchun ham oson dastur

2 ta turi bor: Ultimate (professionallar uchun va bepul emas) va Community


Edition(bepul)

https://www.jetbrains.com/idea/

IDE stands for Integrated Development Kit. Bu biz dastur yozishimiz uchun kerak
bo’ladigan dastur.
SDK - Software Development Kit (biz JDK ishlatamiz javada)

JDK o’z ichiga kompyuterni java kodni tushunishi hamda uni ijro etishi uchun
kerak bolgan qurulmalar(dasturlarni) oladi.

Uning debugger (kodni analiz qiluvchi dasturi) ham bor va uni biz keyingi
darslarda ko’ramiz
Hello world (salom dunyo) birinchi dastur

public class Main {

public static void main(String[] args){

System.out.println(“Hello world!!!”);

You might also like