Classes are a core concept in Java's object-oriented programming model. The class is an abstract type and an object is an instance of that type. Object oriented Java programming allows classes to be instantiated and inherit features from the Java.lang.object. You will learn about member variables, fields, functions, and methods. Learn to instantiate objects of built-in Java classes and invoke methods on them.
Modeling entities in the real world require you to create custom classes to add to the various built-in classes already provided by Java. Creating such custom classes is key to harnessing the power of object-oriented programming (OOP) in Java. This course focuses on defining such custom classes and then creating objects. Make the most of this course by exploring custom classes, the use of constructors, and modifiers such as private and public. You will also learn the idiomatic Java method of working with getter and setter methods as well as conventions in naming, input parameters, and return types from such methods. After completing this course, you'll not only be able to define custom classes to serve as types in your programs but also instantiate and use objects of these custom classes.
Modeling complex entities involves defining and invoking methods and constructors. Furthermore, defining robust and reusable code requires learning important mechanisms for code re-uses, such as constructor chaining and method overloading. Use this course to delve into these important techniques that are required to write clean and maintainable Java code. Learn how to define methods with the same name but different signatures (i.e., different order and type of input arguments), invoke overloaded methods, and add constructors to a class. This course will also enable you to use the 'this' keyword to invoke multiple constructors, also known as constructor chaining. By the time you are done with this course, you will have the skills to use important code re-use mechanisms such as method overloading and constructor chaining in java.
The best way to avoid mysterious bugs while running your Java code is to be adept at working with static members, argument passing, and object base class methods. Use this course to master these subtleties: the difference between static and instance variables and methods, the hashCode contract, and how pass-by-value and pass-by-reference semantics play out with argument passing in Java. By the end of this course, you'll be able to model state in classes using both static and instance variables, write methods to avoid unexpected changes in input arguments, and adhere to the hashCode contract so that objects function as expected when placed in common Java containers.
Serialization in Java allows the conversion of the internal state of an object to a byte stream. On the other hand, deserialization enables the recreation of the original object from the byte stream, thus facilitating data transfer. Learn how to define Java classes that are serializable using this course. Explore the use of the Serializable marker interface and the serialVersionUID, and the Externalizable interface. You'll also learn more about backward compatible and backward-incompatible changes, the use of the transient modifier to mark states that should not be serialized, and the conditions under which Java will serialize objects with nested references. When you are finished with this course, you will have the skills and ability to use serialization and deserialization to work with byte streams, stored to files or transferred over a network.
Java is a powerful object-oriented programming language that allows you to write code once and deploy it on multiple operating systems. In this course, you'll learn about the Java programming language and related concepts, as well as how to work with the Java Development Kit and the Java Runtime Environment. First, you'll learn about the Java Virtual Machine and object-oriented programming concepts. Next, you'll explore Java features, such as platform independence, security and robustness, architecture neutrality, portability, and performance. Finally, you'll learn about Java distributed applications, multi-threading, dynamic loading, and real-world applications. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Java provides the right tools and features to allow you to be productive from the very start. In this Couse, you will learn about the features of the Java Development Kit and the Java Runtime Environment. First, you will learn about the Java Development Toolkit and the Java Runtime Environment. Next, you will learn about the features of the JDK such as the Java Compiler, the Java Interpreter, the Java Disassembler, the Java Debugger, the Java Head File Generator, the Java Documentation and the Java Archive. Finally, you will learn how to install the JDK, FRE, and the IntelliJ for Java Developers. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Writing code that is easy to understand and maintain is crucial to the software development life cycle. Since Java is an object-oriented programming language, the code is already organized and grouped based on objects with properties and methods that are associated with each object. However, as a developer you still need to be cognizant of how you write your code. In this course, you'll learn how to distinguish between clean and messy code and the benefits writing clean code. You'll also learn best practices for adding comments to your code and how to fix messy code. Finally, you'll explore tools that can be used when writing and cleaning code. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
While developing software, being able to use repeatable solutions to commonly occurring problems greatly reduces development time. In this course, you will learn how design patterns can be used to provide repeatable solutions to the common design problems. First, you will learn the importance of design patterns and discuss the types of design patterns such as Behavioral, Creational and Structural. Next, you will write code to demonstrate how to implement the Iterator, Singleton and Adapter design patterns. Finally, you will learn some advanced features of software development, including design anti-patterns, software refactoring techniques, API pattern principles, and API patterns. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Java is a powerful object-oriented programming language that encapsulates data and code in classes using properties and methods. Java uses objects that can interact with other objects. In this course, you'll learn about the components of a basic Java program such as classes, attributes, methods, and access modifiers. First, you'll examine the basics of Java development and the components of a basic program. Next, you'll learn about Java features, such as constructors, classes, attributes, and methods. Finally, you'll explore Java access modifiers and how to compile and run Java programs. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Object-oriented programming(OOP) is a programming method based on the concepts of 'objects' that contain properties and methods. Objects can inherit their structure from other classes and interfaces, which allows for code reuse. In this course, you'll learn about the features of object-oriented programming. First, you'll learn about the basics of object-oriented programming and how it relates to Java, including the concepts of Java objects, classes, and interfaces. Next, you'll examine OOP concepts such as inheritance, polymorphism, abstract classes, encapsulation, and inner classes. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
The Java programming language is a simple and powerful language to learn. In this course, you will learn Java programming basic and the Java programming style guide. First, you will learn the basic elements of Java including keywords, comments, variables, identifiers, and data types. Next, you will learn the conventions that should be followed when writing Java programs regarding formatting, naming conventions, programming practices, and using Javadoc. Next, you will use the "this" keyword in a Java application to help understand scope. Finally, you will learn about using Java packages including the java.lang package. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Being able to perform mathematical, conditional, and relational operations is a key feature of the Java programming language. In this course, you'll learn about the available mathematical, conditional, relational, bitwise, and unary operations. First, you'll explore the arithmetic and assignment operators available in Java and how to use them. Then, you'll move on to learn about Java unary, equality, and relational operators. Next, you'll examine Java conditional and bitwise operators. Finally, you'll learn about the precedence of Java mathematical, conditional, relational, unary, and parentheses operators. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Strings are one of the most highly used data types in the Java programming language and working with strings efficiently is important for displaying and manipulating textual data. In this course, you'll learn to work with the String class and about the benefits of using the StringBuffer and StringBuilder classes with the stack and heap memory. You'll explore how to manipulate textual data using String variables and work with the String class methods. Next, you'll learn to use the more memory friendly StringBuffer and StringBuilder classes. Finally, you'll examine how to use escaping characters and String formatting specifiers. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Mathematical operations are used to perform calculations of numeric data types and being able to generate random numbers is an important aspect of Computer Science. Java provides full functionality for mathematical operations and random number generation. In this course, you'll learn to use the Java Math and Random number generator classes. First, you'll explore the various methods provided by the Java Math and the Java Random class. Next, you'll learn about and review demonstrations of the use of the java.util.Random, the Java Math.random, and the Java ThreadLocalRandom classes. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
One of the main components of modern programming languages is the ability to make decisions using the data provided to them. Java provides decision statements that can be used to make decisions and being able to make decisions is a fundamental part of the Java programming language. In this course, you'll learn about various types of Java decision statements. You'll examine how to use the if-then-else and switch statements. Then, you'll move on to learn about String comparisons, the comparison operator, the equals() method, and compareTo. You'll also learn about the strengths and weaknesses of each comparison operator and the best time to use each. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
One of the main tasks of computer applications if to process lists of data. Java lists of data can be processed using looping statements. In this course, you will learn the various methods for performing looping in Java programming language. First, you will learn about the various types of looping statements available in Java such as enhanced for loops, for loops, while loops, and do-while loops. Next, you will learn about the best practices to follow when performing looping. Finally, you will learn about the break and continue statement. Finally, you'll learn how to apply all of these looping methods. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Sometimes the unexpected happens in your Java code and you will need to figure out what broke and how to fix it. In this course, you will learn how to handle exceptions and how to debug your Java code. First, you will learn how to debug your code using the Java JDB tool as well as using IntelliJ. Next, you will learn the best practice for debugging Java code and some common syntax and logic errors that you may encounter and methods for fixing these errors. Finally, you will learn how to handle exceptions in your code using the try catch block statements. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
In Java, sometimes you have to iterate through and process a list of data. In this course, you will learn how Arrays and Arraylist are designed to handle looping through lists of data. First, you will learn about Arrays and the ArrayList class. Next you will learn about the Iterator class and how it can be used to processes list of data. Finally, you will learn about special classes used to store and retrieve lists of data such as the LinkedList class, the HashMap class, and the HashSet class. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Java is a powerful object-oriented programming language that encapsulates data and code in classes using properties and methods. Java uses objects that can interact with other objects. In this course, you'll learn about the components of a basic Java program such as classes, attributes, methods, and variables. First, you'll learn about the concepts of Java access modifiers and Java class members. Next, you'll examine the differences between a class, instance, and local variables and how they relate to Java. Next, you'll learn about the concept of overloading and how it applies to the constructor and methods. Finally, you'll explore how to create and instantiate a class with and without constructor parameters and modify the object fields. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Java provides different data types that can be used to store and work with different types of data. In this course, you'll learn about these data types and how to perform actions on them. First, you'll learn about the various Java data types and their properties. Next, you'll examine how to declare and initialize variables in Java and purpose of the final keyword. You'll then move on to explore data type casting and the concepts of widening and narrowing casting. Finally, you'll learn about the Java String data type and how it relates to the Java StringBuilder class. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Java is an object-oriented programming language that uses classes to store data and provide methods to access and manipulate this data. In this course, you will learn how to create and use methods to manipulate the data inside a class. First, you will learn about Java methods, accessor methods, and mutator methods and how they are used in Java classes. Next, you will learn about describe overloading in Java and when to use it should be used. Next, you will learn about interfaces and how they are used to specify the behavior that a Class must implement. Finally, you will learn about the static keyword and how it can be applied to a method in a Class. This course is one of a collection of courses that prepares learners for Oracle's 1Z0-811: Java Certified Foundations Associate certification.
Discover how to get up and running with the Java Development Environment and with the NetBeans IDE to create Java programs. During this course you will discover the purpose of a computer program and the nature of platform-dependency. Learn about Java classes, Java's program structure, and key Java language features. Confirm your Java Development Environment. Install and verify the Java Development Kit (JDK) on Linux. Compile and run a Java program from the command line. Install and explore the Netbeans IDE. Employ NetBeans to create a Java project and class and add a package to it. Write a main method. Use System.out.println and System.err.println to write to the console. Finally, conclude by recognizing NetBeans syntax errors.
Explore the use of variables and operations using strings and numeric types in Java. During this course, you will declare, initialize, and concatenate Java string variables. See how to use the indexOf and substring functions. Declare and initialize Integer and floating-point variables. Learn to modify numeric variables via basic Java mathematical operators. Explore operator precedence rules. Set precedence through parentheses in a Java expression. Assign and concatenate integers and strings. Finally, as a review exercise, you will concatenate various Java variable types to create strings.
Discover how to work with branching and Boolean expressions using if/else statements in Java.During this course, you will examine what a Boolean expression is, and how create IF/ELSE statement branches. Topics include the following: how to employ Boolean Operators, identifying the results of various Boolean expressions, how to create simple and nested IF/ELSE statements, and study the characteristics of arrays. Other subjects covered include how to declare and initialize arrays, access array elements and set their values, loop array elements, and create a FOR loop to print the elements of an array. Finally, you will learn how to use the BREAK and CONTINUE functions to control program flow in a loop.
Explore the essential elements of Java objects, classes, references and methods. During this course, you will discover the characteristics of a Java object. Define Java object components and properties. Use object references. Work with two References for one object. Study how an array of objects is stored in memory. Describe the basic forms of a constructor and a method. Other topics include how to create a class that implements a constructor, how to define method parameters, employ method overloading, and implement methods that return values of a specified type. Finally, you will study how to distinguish between local and instance variables.
Explore object-oriented programming concepts and techniques, in Java. During this course, you will discover various static methods and variables and explore a number of topics. These include the following: how to create and access static members, how to employ constants to represent unchangeable values, how to change numeric variable types through promotion and casting, and convert data values. Other topics include how to convert strings to their primitive numeric types, ciscover access control, and how to distinguish between the public interface and the internal workings of a class. Next, you will learn how to use public and private access modifiers, study encapsulation with object-oriented design, and create class setter methods with value checking. As you progress, other key areas include how to add method parameters to overload a constructor, how to pass an Object Reference, and pass a value. Finally, you will learn how to reassign a reference value in a method.
Explore working with strings in Java, including the use of mutable strings through the StringBuilder class. In this course, you will discover the nature and use of strings and primitive data types, in Java. Observe how to compare and sequence strings, through equality tests and lexicography. Discover mutable strings, the advantages of string builder, and how to concatenate strings. Next, split a string via a regular expression, and learn how to split a paragraph of text into words in a string and iterate over individual words.Other topics include how to consider primitive data types, how to perform the standard modulus mathematical operation on an integer. Finally, you will use combined assignment operators to abbreviate common operations.
Examine the nature and use of Java Development Kit (JDK) objects and nested loops. During this course, you will explore JDK API documentation to learn about Java class libraries. See how to display a date with the LocalDateTime object, with the Java DateTimeFormatter, or with the calendar. Parse a localized date and convert it to ISO format. Parse the ARGS array, and use it in the main method, to accept command line arguments. Observe how to use a WHILE loop construct and nest a WHILE loop. Run a standard FOR loop and nest a FOR loop within the body of another loop.
Discover how to implement flow control using ternary, if/else, and switch statements in Java. During this course, you will start by exploring the use of two dimensional arrays, enumerated types, and the debugging features of the NetBeans IDE. Next, see how to use a ternary conditional statement, and how to chain IF and ELSE constructs together. As you progress you will discover how to implement a SWITCH statement, and other key topics such as how to create a SWITCH statement based on an enumerated type. You will also learn how to employ the Eclipse debugger, set debugging breakpoints that halt program execution, and let you step through the code. Finally, you will inspect the value of variables to debug a program.
Examine the methods of polymorphism, inheritance and abstraction, in Java. During this course, you will discuss inheritance in the context of a Java class hierarchy. See how to create a subclass. Override a method in the superclass. Use the SUPER keyword, to reference the superclass. Discover Polymorphism. Cast a superclass reference to the subclass type. Test an object's type, with the INSTANCEOF operator. Contrast Abstract and Non-Abstract Classes. Finally, extend an abstract class and form a class hierarchy.
Explore the use of inheritance through interfaces and interface casting. During this course, you will explore the functions of key Java elements. Key subject areas include the following: how to override the toString method, how to understand the Multiple Inheritance Dilemma, distinguish between interfaces and abstract classes and implement a Class Interface. Other topics include how to cast to an interface reference to allow object method access; how to study the array list class, and store objects with an array list. You'll also learn how to concatenate two arrays into a single ArrayList, convert an array to an ArrayList, and use the Stack collection, to push and pop objects. As you progress, you will observe how to employ the local variable type inference feature, to declare local variables, using var. Conclude by writing a simple lambda expression that consumes a predicate.
During this course, you will explore the use of try/catch blocks for exception handling in Java, including the different types of throwable classes and some best practices examples. You will begin with learning about what conditions a Throwable class of type Error and RuntimeExceptions. Next, learn how to recognize uncaught exceptions and identify errors in the call stack. From there you will move on to how to manage NetBeans flags to handle errors, and catch multiple exceptions that can be thrown from a block of code. Other topics include the following: how to determine which exceptions are thrown, based on an object's constructors, methods, or API documentation; how to employ a Checked Exception; how to handle exceptions thrown by methods; rectify bad exception handling; propagate Exceptions; handle uncaught exceptions that are higher in the call stack. Finally, you will learn how to execute the finally block, when a try block exists.
Examine how to package Java applications through JAR files and explore modular development and distribution issues. During this course, you will start by learning how to deploy an application as a JAR file, to ease Java program management. Next, create a deployment JAR file in NetBeans. Run a JAR File from the Command Line. Discover client/server multitier architecture. From there, you will study the principles of modular design and development in Java and JDK 9, before examining JAR file distribution and dependency issues. Consider JDK 9 modules and class accessibility. Conclude, as an exercise, by creating and running a modular application.
Explore the features and functions of the JShell REPL, read-eval-print loop process. During this course, you will discover how it differs from coding in an IDE, Integrated Development Environment. See how to launch Java's JShell, Create JShell snippets, JShell scratch, and traditional variables. Employ the list, edit, and drop JShell commands. Use the save and open JShell commands. Examine vars, method, types, and imports JShell commands. Enhance the IDE with JShell. Incorporate JShell in the NetBeans IDE.
In this course, you will explore the basics of inheritance and run-time polymorphism in Java, and how these concepts can be used to model Is-A relationships. Begin with an introduction to inheritance, and how to identify its advantages and applications. You will then apply inheritance to model real-world entities. Next, learn the concepts of polymorphism, its advantages and applications. Then move on to recognizing how the methods derived from java.lang.Object work, and also how all built-in Java classes possess the methods derived from java.lang.Object. You will examine how objects of derived classes have independent copies of member variables, even from the derived class. Following an introduction to the Is-A relationship, you will learn how to recognize, in single inheritance, that every object of the derived class is an object of the base class, but not every object of the base class is an object of the derived class. Explore how to upcast and downcast, and learn how downcasting can sometimes be dangerous. Finally, learn how one base class can be created with multiple derived classes.
In this course, you will learn the role of constructors and how to use the super keyword in architecting inheritance hierarchies in Java. You will begin by identifying the role of access modifiers and recognizing the basics of superclass constructors. When you add your own constructor, you will see that Java takes away the default no-argument constructor it had provided. You will learn how to apply the two ways of initializing derived classes: implement an explicit no argument constructor in the base class or use the super keyword and have only parameterized constructors in both the base and derived classes. You will recognize that a base class's constructor is invoked when a derived class object is instantiated and identify what happens when there is a base and derived class that have many different constructors. You will be able to initialize member variables: add a member variable into a derived class and ensure it is correctly initialized, even in addition to any invocations of the base class constructor.
In this course, learners will focus on creation of multilevel inheritance in Java and how such hierarchies include child and grand-child classes that all inherit from a common ancestor base class. Begin with an introduction to multilevel inheritance, and how you can access multiple derived classes by using a base class in multilevel inheritance. Explore use of the instanceof operator, where you can check that an object is an instance of every class in its inheritance hierarchy. Concerning the Is-A Relationship, you will learn how to apply multilevel inheritance when every object of the derived class is an object of the base class, but not every object of the base class is an object of the derived class. Examine downcasting; see how to upcast multiple levels; learn why downcasting is very dangerous; and perform various upcasting operations. After moving on to multilevel inheritance hierarchies, you will construct two parallel base classes and derived classes for each of those base classes. Finally, explore use of the extends keyword, recognizing situations where multiple inheritance is allowed.
In this 9-video course, you will learn about specific contrasts between run-time, compile-time polymorphism, and inheritance hierarchy in Java, including use of the Override annotation and type promotions in method overloading. Beginning with an introduction to polymorphism, you will examine run-time and compile-time polymorphism and recognize how run-time polymorphism works. In other tutorials, participants will look at the use of the @Override annotation, then look at how polymorphism works in the presence of a multilevel inheritance hierarchy, which leads on to discovering how easy it is to add a class into an inheritance hierarchy. You will then be introduced to the use of compile-time polymorphism and method overriding. To understand type promotion, you will begin to use compile-time polymorphism, including type promotions. In addition, you will learn how to recognize that compile-time polymorphism does not include type demotions. As the course concludes, you will learn how to use a combination of run-time and compile-time polymorphism.
In this course, you will learn about method overriding, including the use of the super keyword from contexts other than within constructions, and also examine the behavior of static methods. To start, participants learn how to apply method overriding and recognize the concept of hiding, and use the super keyword inside any method invocation in the derived class. This follows on to the use of advanced forms of overriding, combining method overriding with complex inheritance hierarchies. Study static methods and static binding, recognizing that static methods do not support run-time polymorphism. Examine pitfalls to avoid with static methods by learning to recognize how static methods are bound using compile-time rather than run-time binding. Learn how to correctly override the method .toString, which is inherited from java.lang.Object, and describe how the .equals method and the == operator are related. Explore how to correctly override the .hashCode method and write the code to correctly override the .equals method, inherited from java.lang.Object. Finally, after studying the link between equals and hashCode, discover how to implement the .hashCode contract.
In this course, participants learn about two specific and important aspects of Java-the final and abstract keywords. The final keyword can be used to mark member variables, member functions, and even entire classes, with different meanings in each context. You will discover how to mark variables as final, and the implications of doing so. Learn how to correctly instantiate final arrays. Remember that arrays are reference types, pointing to a block of memory, and remember that once an array has been marked as final, it can only be initialized once. Discover how to create and use final classes and final methods. Final classes cannot be extended. You will learn to recognize the implications of defining a class as abstract. Also, learn how to extend abstract classes and the implications of doing so. As the course concludes, you will discover that a class can only be instantiated if it has implemented all abstract methods.
In this course, you will learn about access modifiers that can be used to tag member variables and member functions inside Java classes to regulate how these can be accessed from different contexts. Participants begin by examining the properties of public, private, and protected access modifiers. These properties govern how classes, member functions, and member variables can be accessed within the same class, outside the same class but within the same package, and in entirely different packages. This leads into an examination of cross-package access and how access works from one package into another. You will then learn about the semantics of protected members, and the use of the protected access modifier. Next, explore the cross-package access of protected members, which enables you to use the protected keyword across packages. As the course concludes, you will learn about the semantics of using default access modifiers both inside and outside the same package.
In this course, you will focus on one of the most important concepts in all object-oriented programming for Java, the interface. Learners explore how anonymous inner classes provide lightweight instantiations of interfaces, and how interfaces are pure abstract entities. Begin with an introduction into using interfaces and how all their methods are abstract by default. Examine how the instanceof operator works the same way with interfaces as with classes. This leads on to combining the extends and implements keywords: implementing a derived class that can extend a base class and implement an interface. Then learners learn to set up two inheritance hierarchies and combine these into a set of objects that implement both sets of interfaces. Advanced features of interfaces are also examined. Learn how interfaces can support default method implementations. You will set up a class that implements some of the methods of an interface and declares itself abstract. Finally, you will create and define anonymous inner class objects and access outer class variables from your anonymous inner class.
JavaServer Pages (JSP) is a technology for developing web pages that support scripting and element-based dynamic content. This helps developers insert java code in HTML pages by making use of special JSP tags. Use this course to familiarize yourself with the different aspects of building a website using JSP. With the help of this course, explore how to set up Apache Maven and Apache Tomcat web server, build JSP applications, and apply scriptlets as well as specific tags for declarations and expressions. You'll also dive into other features of JSP applications, including the separation of Java code into different files and accessing the request object, and learn more about the contents of a WAR file. After finishing this course, you'll have a foundational understanding of building and deploying JSP applications.
It is important to provide your end-users the best experience when browsing on your JSP website. Investigate how to achieve this by seamlessly handling errors using this course. You'll discover default and manual error handling in a JSP app, the creation of a custom error page, and the referencing of resources such as images in a JSP page. This course will also help you explore the use of web.xml deployment descriptor files in setting configurations and techniques when it comes to handling exceptions in JSP. Upon completion of this course, you'll have the foundational knowledge to handle errors in a JSP app.
Java servlets are server-side programs that manage clients' requests and return a customized response for each of them. Use this course to gain some hands-on experience in customizing responses in your web application with HttpServlets. Discover how to build simple web pages that accept user input in a form, develop a servlet that can process the inputs, and add complexity to your app by introducing multiple pages. This course will also help you examine the use of a RequestDispatcher and the ServletConfig and ServletContext classes and recognize how attributes are stored at different scopes in a JSP app. Having completed this course, you'll be able to use servlets to process requests and produce customized responses in a JSP application.
Discover how to connect a JSP website to a database and allow end-users to perform database operations from the web UI using this course. Learn how to set up a MySQL database, use JDBC to connect to and run queries against this database, and utilize the JSTL library in order to iterate over the data that is returned and render them on your web page. You'll also explore write operations, JSP action tags like useBean and setProperty, and implementing update and delete operations on the database. After finishing this course, you'll have the skills and knowledge to allow users of a JSP website to interact with a database.
Java Database Connectivity (JDBC) is the Java application programming interface (API) that manages the connection and execution of queries with a database. The focus of this course is to provide you hands-on experience with a variety of JDBC objects that are required to set up a connection to a relational database and run queries against it. Learn how to set up a MySQL database and use DataSource and Data Manager instances to connect to it from your Java application. Delve into objects such as Statements and PreparedStatements that enable you to execute a variety of queries against the database and familiarize yourself with the ResultSet that allows you to parse the results of the execution of a select query. You'll have the foundational knowledge to connect to and query against databases using JDBC objects after completing this course.
RowSet is a Java Database Connectivity (JDBC) object that holds tabular data in a form that makes it more adaptable and easier to use. Explore how to enable database operations from within your Java application using RowSet type in JDBC with the help of this course. Explore RowSets within JDBC and how they don't just represent the results of query execution, but include methods to connect to and run queries against a database as well. The course will also help you examine JdbcRowSets in detail and distinguish it from CachedRowSets. After finishing the course, you'll have an understanding of RowSets in JDBC and how connected and disconnected RowSets differ from each other.
The HttpURLConnection is the oldest implementation of an HTTP client in Java and is still widely used today due to its simplicity and the fact that it is very lightweight. Use this course to familiarize yourself with different forms of HTTP requests. Try your hand at constructing a basic GET request to retrieve data, submitting it to a remote server, and processing the response that is returned. You'll also examine the use of a POST request to submit data to create a resource at a server, a PUT request to update a resource, and a DELETE request to remove it. You'll also look into setting a timeout for requests that take too long to process. After finishing this course, you'll be able to identify various HTTP requests and how these can be formulated and communicated in a Java app using the HttpURLConnection class.
Examine basic and advanced operations possible when building HTTP requests with Java's HttpClient through this course. Explore how to send a basic GET request and process the response that is returned, configure your request with timeouts, and implement POST, PUT, and DELETE requests. Delve into the features of the HttpClient, such as the use of BodyHandlers to write a response body to a file, detecting and getting information about any URL redirects involved in processing your request, and sending requests asynchronously. Upon completing this course, you'll be able to work with various HTTP requests using Java's HttpClient.
Java is one of the most widely-used development languages in the world today. Discover the key features of Java and object-oriented programming, defining classes, identifying class components, and using a main method.
Java is an immensely popular development language whose capabilities range from small and nimble to large and powerful applications. Discover the uses of variables and variable syntax, and how to work with mathematical operators.
Java allows programmers to create objects that can interact with other objects to solve a problem. Discover how to apply access control levels to classes and methods, implement encapsulation of fields, and how to overload constructors.
The Spring Framework is one of the most popular application development frameworks for enterprise Java applications. Explore the basics of creating and configuring Spring Applications using both Java based and annotation configurations.
The Spring Framework is one of the most popular application development frameworks for creating enterprise Java applications. Explore the Spring Expression Language, the safe navigation operator, and system properties.
In the Internet of Things (IoT) arena, there are two major programming platforms - Java and .NET. Explore programming language support/frameworks for Internet-aware, IoT-resident mobile and embedded devices
Before getting your hands dirty with Java Database Connectivity (JDBC), it is important to recognize its purporse and the options it has to offer - and this is exactly what this course provides. It first lays a theoretical foundation in terms of the need for JDBC, the various pieces which come together to let your app connect to a database, as well as their features and use cases. You will cover topics such as JDBC drivers, JDBC objects such as Statement , ResultSet, and RowSet, and then connect a Java app to a database.
Java Database Connectivity (JDBC) offers a number of ways in which SQL queries can be executed using a number of built-in objects. This demo-based course covers the use of the fundamental JDBC objects required to set up and manage database connections from a Java app and to execute queries. You will cover the use of Properties objects to load connection details, and then the use of the Statement and PreparedStatement instances to run SELECT, INSERT, DELETE and UPDATE queries against a database from a Java app.
ResultSets allow SELECT query results to be processed systematically in a Java app while executing INSERT and UPDATE queries can be handled efficiently with query batches. This is very much a hands-on course and gets into the nitty-gritty of processing large volumes of data using JDBC. You will cover a lot of features of the ResultSet object - from its navigability to its ability to update data. You will also optimize updates by running them in a batch, and cover the implementations of atomic transactions when using JDBC.
This course serves as a theoretical introduction to the Java programming language - a class-based, object-oriented, and platform-independent language. Use this course to discover what these qualities mean when using Java to develop programs. Explore some of the significant features of Java. Get a glimpse into the Java ecosystem and the phases involved in translating Java code to a machine-executed form. In doing this, you'll examine concepts such as compilers, Java bytecode, and the Java Virtual Machine. Delve into some of the other properties of the language, such as using the just-in-time compiler and the automatic garbage collector. Finally, learn about the vast array of fields in which Java programming can be applied. At the end of this course, you'll have a solid foundational comprehension of the characteristics and use cases of the Java programming language.
The Java programming language is a class-based, object-oriented, and platform-independent language. Follow along with this course and get some hands-on experience with Java programming. Get an environment ready to write Java programs by setting up the IntelliJ IDE. Write what might be your first Java program, where you print out a line of text to the console. While doing so, you'll get familiar with the structure of a Java program as well as the steps involved in running it. Move on to examine the syntax of Java and some of the common sources of errors. Then, get a glimpse into the use of comments to explain your code. Upon completion of this course, you'll be able to create your own program in Java.
The Java programming language is multi-faceted. To use it, developers need to understand what's meant by Java variables and recognize the different data types in the language. This course focuses on Java variables, and more specifically, the various primitive data types this language has to offer. Follow along with this course and create variables in your program to comprehend the effects of static typing in Java. Then, explore the various primitive data types in Java - from numeric types, such as integers and doubles, to text representations in the form of strings. Finally, you'll investigate the use of an ordered collection of data, namely arrays. When you're done with this course, you'll be able to confidently employ variables and several primitive data types when programming in Java.
When developing with Java, you can perform many different operation types on the data in your Java program. The goal of this course is to give you hands-on experience with these operations. Begin by working with the basic math operations that apply to numeric data, such as addition, division, and so on, recognizing how these apply to different numeric types. Use logical and comparison operators, which allow you to evaluate a condition and check the relationship between different variables. Lastly, implement string operations in Java and explore some of the methods used to transform data from one type to another. When you're finished with this course, you'll be able to perform a variety of operations on your Java program data.
Developers need to be aware of the concept of exceptions in the context of Java and how they are implemented in the language so that they can handle it efficiently. Use this course to familiarize yourself with Java exceptions from both a theoretical and practical standpoint. Delve into the two major categories of Java exceptions - checked exceptions that can be identified at the compile stage and unchecked exceptions which occur while the program is running. Next, you'll be able to try your hand at some hands-on programming and discover how to work with compile-time errors and distinguish them from exceptions. After finishing this course, you'll be in a position to recognize the purpose and categories of Java exceptions and how to tackle them.
Before you build any significant Java application, it is important to get familiar with controlling the flow of code using control structures - a fundamental concept in any programming language. And this is precisely the focus of this course. With the help of this course, you'll learn how to work with basic if statements, where code is executed if a certain condition is met and if-else and switch statements, which allow you to check for multiple conditions and run chunks of code accordingly. You'll then delve into for and while loops, which allow you to define a block of code that needs to be executed repeatedly under specific conditions and recognize the use of continue and break statements that influence their behavior. After finishing this course, you'll have the knowledge and skills to control the flow of code execution in your program based on the value of variables or the outcome of operations.
Most Java developers use a full-fledged IDE to build complex Java applications. However, there will be many occasions where you need to test snippets of Java code quickly or build a small script without the overhead of having to develop, compile, and execute programs. This is where JShell comes in. In this course, practice using JShell to run snippets of Java code and get immediate results. Use various features of JShell, from the declaration of functions, available feedback modes, and the auto-complete feature. Define a class in various iterations until you're satisfied with its behavior. Then, compile several snippets of previously run Java code to build a JShell script that reads data from one file, transforms it, and writes it into another file. When you're done with this course, you'll be able to use JShell to write your Java programs.
Java Archives (JARs) wrap a Java application into a single archive file for deployment, distribution, and execution. Use this course to acquaint yourself with building Java archives or JAR files using the JAR utility, run from the command line. Over the length of the course, you'll outline how a simple Java project packaged into a JAR file can be executed directly, different attributes of a JAR manifest can affect the use of a JAR file, and a project with external dependencies can be packaged into an executable JAR. Upon completion of this course, you'll be able to build different Java archives: JAR with multiple main classes, JAR containing several packages, and JAR that is not directly executable by itself but usable as a dependency in other projects.
Based on the concept of a project object model (POM), Apache Maven is a project management software as well as build automation and comprehension tool. Explore the flexibility offered by Maven in the creation of Java archives or JAR files using this course. Try your hand at using Apache Maven to build a Java application and package it into an executable JAR file, create a JAR file for an app with external dependencies and ways to execute it, and package your Java app along with all of its external dependencies into a single package known as a fat or uber JAR. Having finished this course, you'll have the skills and knowledge to build lean as well as uber JAR files using Apache Maven.