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.
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.
This tutorial covers how to configure a Raspberry Pi as a development platform for the JavaFX platform.
This is the Japanese translation of this tutorial (in English). In this tutorial, you create and deploy an application that leverages the open source PrimeFaces JavaServer Faces (JSF) component suite library. JSF was designed to allow developers to create new components while leveraging the JSF life cycle, managed beans, and expression language. As a result, simply by adding a third-party library to your project, you can create a completely different look and feel and add functionality beyond the core JSF libraries.The NetBeans integrated development environment (IDE) supports PrimeFaces out of the box. It is easy to create, deploy, and test applications that use the component suite directly with a local Oracle WebLogic Server instance and remotely with Oracle Cloud.
This tutorial covers how to create binary WebSocket connections with Java Platform, Enterprise Edition 7 (Java EE 7) and JavaFX.
Learn how to create 2D games using basic Java programming in this self-paced, online course. No programming experience required! We will define and program a game using the Greenfoot development software.
This series is an introduction to the new Java Mission Control and Flight Recorder tools included with Java starting with Java 7 u40. This video provides an overview of the tools and an introduction to the series.
This demo explores the information included in the Java Flight Recorder Code Tab.
The demo looks at the information included in the Java Flight Recorder Threads Tab.