In this video, Doug Winnie describes how Java is used by coders and programmers. Java is a versatile language and can be used for web applications, desktop applications, and mobile applications for the Android ecosystem. There are several frameworks and coding tools available for Java developers to make coding and building apps with Java faster and easier.
- [Narrator] Since Java was first released it has grown to power many large-scale web applications for e-commerce, finance and other industries. Java applications are built on the server side, and connect to web servers to handle the business logic of applications. Java is also the core language of Android and native applications created using Google's Android Studio tools. These are built using the Java language. Java applications are compiled and run differently than many other compiled languages. When you create a program in C++ or C, when you compile you create bytecode that is specific to the architecture of the hardware.
For instance, you would need a different version of the program for Intel processors running 64 bit processors, and another for ARM processors on a mobile device. Java works a bit differently. When you write your code and compile, or build your program, you create Java bytecode. That code is executed by the Java Runtime Environment, or JRE. It takes the code that you create and runs it in a Java virtual machine, or JVM, that then converts the bytecode to work natively with the specific platform.
Many frameworks have been created based on the Java programming language to accelerate the development of applications across many platforms and devices. For web applications, frameworks like Struts, JSF, Grails, Spring, and others are used individually or in combination with each other to provide scalable web apps that can support millions of customers. For desktop applications, frameworks like JavaFX allow developers to create user interfaces using FXML, an XML based mark up language, and meld that with Java code.
For mobile, the Android SDK from Google contains a tool for developing Android apps, and an emulator to deploy and run your app on a virtual device for testing. As a developer there are many coding tools available to you. Integrated desktop environments or IDE's help combine many of the tasks you need to perform like coding, code management, debugging, working with code repositories, and creating documentation. Some of the more popular IDE's are IntelliJ IDEA, Eclipse, and NetBeans.
The one we'll be using in this course is from IntelliJ. Java opens up almost unlimited opportunities for you as a developer. And the best thing is that Java is not complicated to learn or understand once you get past the basics. Using your new Java skills you can build apps for almost anything.
- The history of Java
- Setting up your development environment
- Working with values and variables
- Using methods and functions
- Capturing user input
- Creating conditional tests
- Using loops
- Creating and changing arrays
- Object-oriented programming in Java
- Defining permissions
- Extending classes