Secretly learn Java programming concepts from a game and go behind the scenes to understand development practices.
This tutorial shows you how to use Java Platform, Standard Edition 8 (Java SE 8) and NetBeans 8 to create a link checker with the Thread class. For small applications, you add a thread defined by its Runnable interface or by the thread itself, as defined by a Thread object. For large applications, you separate thread management and creation from the rest of the application. Objects that encapsulate these functions are known as executors.
HTTP is the foundation for communication of data on the web. The proliferation of network-enabled applications has increased the use of the HTTP protocol beyond user-driven web browsers.
The HTTPClient class helps build HTTP-aware client applications, such as web browsers and web service clients for distributed communication.
The URL class is a pointer to a resource on the web. A resource can be something as simple as a file or a directory, or it can be a reference to a more complicated object, such as a query to a database or to a search engine.
The HttpURLConnection class helps establish an HTTP connection between the HTTPClient and server.
In client/server applications, the server provides the service and the client uses that service. Communication takes place over the TCP/IP network, where a client program and a server program establish a connection with one another. Each program binds a socket at the end of the connection. This tutorial shows you how to use Java Platform, Standard Edition 8 (Java SE 8) and NetBeans 8 for socket programming over TCP/IP networks.
This self-study describes the Oracle Secure Java Coding Guidelines, Java Security, Java Native Interface secure coding, and security vulnerabilities.To minimize the likelihood of security vulnerabilities caused by programmer error, Java developers should adhere to recommended coding guidelines. This self-study follows the Secure Coding Guidelines for Java SE, Version 5.0 in detail.
Prior to Java SE 8, interfaces in Java could contain only method declarations and no implementations, and any nonabstract class implementing the interface had to provide the implementation. This limitation made it almost impossible to extend the existing interfaces and APIs. To overcome this limitation, a new concept, called default methods, is introduced in Java SE 8. The default methods are fully implemented methods in an interface, and they are declared by using the keyword default. Because the default methods have some default implementation, they help extend the interfaces without breaking the existing code.
In this video, look at an alternative to File I/O using the NIO File package, new in Java ME Embedded 8.
In this video, learn how the Java ME Embedded Security model works, and how to request specific access to resources through NetBeans.
In this video, I want to show you a couple of troubleshooting and debugging tips and cover some common errors you may run into while working with Java ME Embedded on the Raspberry Pi.
In this video, learn how to solder the header pins on the BMP180 and Adafruit GPS breakout boards.
In this video, you will learn how to install the Oracle Java ME 8 SDK software, the NetBeans IDE and NetBeans plugins for Java ME Embedded 8. Finally, I'll show you how to create a simple test IMlet.
In this video, learn about the contents of the Adafruit accessory kit, how to manage the full-size breadboard, and how to connect the ribbon cable between the Raspberry Pi and the Adafruit cobbler.
In this video, we look at a proposed architecture for the problem domain that uses inter-midlet communications to separate concerns - to move the sensor reading code into individual MIDlet suites, and concentrate data persistence and client access of the data into a single system controller MIDlet suite.
Java 8 videos that demonstrate the Java 8 new features. The videos cover the Internet of Things (IoT), Java ME, Java Embedded, and Java SE.