-
What is Autowiring?
In Java-Spring; the Autowiring feature acts as a framework in which to configure dependencies and references. In this video; Andy Alfred discusses what Autowiring is and how it can reduce the need for manual configuration.
-
A Minimal Configuration Approach to Database Authentication
When using Java-Spring to create a login page for a web application using Spring Security; you can minimize the configuration involved. In this video; Andy Alfred uses Spring Security to show how to configure using a database with minimal configuration.
-
Accessing Request Parameters In Handler Methods
In Java-Spring; you can access request parameters within a Spring controller's handler method. In this video; Andy Alfred demonstrates how to access request parameters within a Spring controller's handler method.
-
Accessing System Properties Using Spring Expression Language
Java-Spring allows you to use the Spring Expression Language in the Spring Tool Suite to access predefined system properties when setting up expressions. In this video; Andy Alfred demonstrates how to use Spring Expression Language to access information regarding the operating system that a particular application is running on.
-
Adding Logout Functionality Through Spring Security
In Java-Spring; you can use Spring Security to add logout functionality to Spring MVC applications. Without this functionality being added; users would have to close their browser and reopen it in order to log out of the application. In this video; Andy Alfred demonstrates how logout functionality can be added and routed through the login controller.
-
Authenticating Users From a Database
Java-Spring allows you to use a database as the source of information for use in web application authentication. In this video; Andy Alfred uses Spring Security to demonstrate how to set up a MySQL database to gather user information used in a login setup.
-
Autowiring Constructors using Annotation Configuration
Spring allows you to autowire constructors by matching bean types to constructor parameters. In this video; Andy Alfred explains how to autowire constructors using annotation configuration.
-
Autowiring Properties using Annotation Configuration
Autowiring allows the container to adapt its component creation behavior to the configured environment. In this video; Andy Alfred explains how to autowire properties of Spring applications using Annotation Configuration.
-
Benefits of Aspect Oriented Programming
At times; you may need to include functionality in your object-oriented applications that make it cumbersome and hard to manage. Java-Spring's aspect-oriented programming provides a way to have the functionality required and make the overall application more manageable. In this video; Andy Alfred; discusses the benefits of using aspect-oriented programming with object-oriented applications.
-
Builiding a Java Project with Maven
In Java-Spring; you can use the Maven build tool to set up spring applications. In this video; Andy Alfred demonstrates how to build a simple Java project by using Maven.
-
Calling Stored Procedures Using SimpleJdbcCall
In using Java's Spring framework to build web applications and systems; you need to be familiar with performing inserts using the SimpleJdbc classes. In this video; Andy Alfred demonstrates how to use the SimpleJdbcCall class to call stored procedures in a database.
-
Configuring a Connection Pool as a DataSource
In Java-Spring; you can configure the connection pool as a DataSource. This can then be configured to connect to a database. Certain DataSource classes only provide one database connection at a time; but a connection pool allows multiple users to access the database. In this video; Andy Alfred demonstrates the configuration process of the connection pool as a DataSource.
-
Configuring a DataSource
In Java-Spring; you can configure a DataSource to connect Spring applications to a database; such as MySQL database. There are several different classes that can be used to configure a DataSource; such as the DriverManagerDataSource class. In this video; Andy Alfred demonstrates the process of accessing and configuring a DataSource.
-
Configuring DB Access in Spring
In Java-Spring; you can configure Spring applications to work with backend databases. To do this; you need to set up several components; including a database driver class; data source; and Data Access Object (DAO). In this video; Andy Alfred demonstrates how to set up each of these components.
-
Configuring Spring Beans from External Property Files
In Java-Spring; you can store data separately in an external property file outside your source code and you can configure beans to get information from these external property files. In this video; Andy Alfred demonstrates how to configure Spring beans from external property files.
-
Configuring Spring Beans via Constructor Injection
In Java-Spring; you can set a bean property by using constructor injection. In this video; Andy Alfred demonstrates how to configure beans by using constructor injection.
-
Configuring Spring Beans via Setter Injection
In Java-Spring; you can use setter injection to assign a property to a bean as an attribute along with the value being injected. In this video; Andy Alfred demonstrates how to configure Spring beans using setter injection.
-
Configuring Spring Beans with Non-Default Constructors
You can configure Spring beans to work with non-default constructors in the Spring Tool Suite. In this video; Andy Alfred demonstrates how to configure Spring beans to use custom constructors.
-
Configuring web.xml in a Spring MVC Application
In Java-Spring; the web.xml file can be set to tell the servlet container which servlets are being deployed. In this video; Andy Alfred explains how to configure a web.xml file in a Spring MVC application.
-
Constructor Injection Using Java Based Configuration
In this video; Andy Alfred explains how to use the constructor injection when using Java configured Spring applications.
-
Creating a Java Configured Spring Application
In this video; Andy Alfred demonstrates how to transition from an XML configured Spring application to a Java Configured Spring Application.
-
Creating a Servlet Config File in a Spring MVC Application
In Java-Spring; you can use xml servlet configuration files to define the beans that your Spring MVC file will use. In this video; Andy Alfred demonstrates how to create a servlet configuration file in a Spring MVC application.
-
Creating a Simple Spring Application
Using the Spring framework; you can easily create rich and complex software projects. In this video; Andy Alfred demonstrates how to create a simple Spring application for Java developers using Spring Tool Suite.
-
Creating A Spring MVC App With Java Based Configuration
In Java-Spring; you can create a Spring MVC application using a Java-based configuration. Rather than using an XML file; a Java class is created to provide the configuration for the Spring MVC application. In this video; Andy Alfred demonstrates how to bring an XML configuration over to a Java class file.
-
Creating A Spring MVC Form
In Java-Spring; the Spring form tag library can be used to convert a regular HTML form to a Spring MVC form. In this video; Andy Alfred demonstrates how to create a Spring MVC form.
-
Creating an Aspect in Spring
In this video; Andy Alfred; uses a demonstration to illustrate how you can create an aspect in Spring to remove cross-cutting concerns from your application methods and classes.
-
Creating an Aspect Using Annotations
In this video; Andy Alfred; demonstrates how to declare pointcut expressions in your aspect and also combine pointcut expressions in order to create more complex patterns to meet your application's requirements.
-
Creating an XML Application Context for Spring Security
Java-Spring allows you to start configuring Spring Security using XML. Before you can start providing security configuration; you need to set up the Spring bean configuration file to work with the security namespace. In this video; Andy Alfred demonstrates how to create an XML application context for Spring Security.
-
Creating Controllers in Spring MVC Applications
In Java-Spring; controllers provide methods that initiate the process of performing the actual work in the application. In this video; Andy Alfred demonstrates how to create controllers in a Spring MVC application.
-
Creating Data Access Objects
In Java-Spring; Data Access Objects (DAOs) play an important role in database interaction within Spring applications. DAOs contain methods that are exposed to the application in order to interact with the data within databases. In this video; Andy Alfred demonstrates the process of creating DAOs for use with databases.
-
Creating Views For Spring MVC Applications
Various view technologies can be used to create views in Java-Spring. In this video; Andy Alfred demonstrates how to create views for Spring MVC applications.
-
Customizing Component Scanning
In this video; Andy Alfred demonstrates customizing component scanning in Java-Spring.
-
Customizing Spring Security
In Java-Spring; you can use Spring Security to define custom features with Spring Security to secure Spring MVC web applications. In this video; Andy Alfred uses Java-Spring to define custom login and logout pages; and discusses the URLs involved in login successes and login failures.
-
Declaring DAOs in an Xml Config
With Java's Spring framework; you can build Web applications and systems if you know how to declare a Data Access Object (DAO) in an XML configuration. In this video; Andy Alfred demonstrates how to declare DAOs within XML in Spring for Java.
-
Declaring pointcuts and Combining Expressions
In this video; Andy Alfred; demonstrates how to declare pointcuts and combine pointcut expressions into more complex matching arrangements; when working with aspects in Spring applications.
-
Defining Methods that Enhance the Spring Model
In Spring Tool suite for Java-Spring; you can add attributes to the Spring application model by defining methods that add to it. This allows you to organize the Controller code better. In this video; Andy Alfred demonstrates how to define methods to run before any handler methods; and add attributes to the Spring model.
-
Expected Return Types Using queryForObject
Using Java's Spring framework allows you to build web applications and systems. To do this; you need to be familiar with various return types when using queryForObject in Spring. In this video; Andy Alfred demonstrates how to use the queryForObject method of the JdbcTemplate class to ensure you receive the expected results from a database query.
-
Getting A MySQL Database Driver For A Spring Application
Spring applications in Java-Spring allow you to access any one of several popular databases; including MySQL database. A MySQL database driver class is required to connect the database to the application. In this video; Andy Alfred demonstrates the process of getting a MySQL database driver for a Spring application.
-
Getting Familiar with Advice Types
In Spring MVC applications for Java-Spring; advice is the actual code or method that runs to satisfy a crosscutting concern in your application. There are several types of advice that may be used; including Before Advice; After Returning Advice; After Throwing Advice; After (finally) Advice; and Around Advice. In this video; Andy Alfred discusses these advice types in detail.
-
Getting Familiar with AOP Terminology
You will encounter some very specific terms when you start using aspect-oriented programming in Java-Spring. In this video; Andy Alfred; defines some common aspect-oriented programming terms.
-
Getting Familiar with Handler Methods
In Java-Spring; handler methods are defined using the @RequestMapping annotation and are mapped to a specific URL or URL pattern. Handler methods allow you to enrich the Spring model by adding or editing information before indicating what view the model should be passed to. In this video; Andy Alfred discusses the features and functions of handler methods.
-
Getting Familiar with Pointcuts
In Aspect-Oriented Programming (AOP) for Java-Spring; pointcuts identify one or more join points where advice should be executed. Pointcuts have two basic parts – a signature; which defines the name and parameters of the pointcut; and a pointcut expression; which determines the JoinPoints to be matched. In this video; Andy Alfred discusses the features of pointcuts.
-
Getting Familiar With Some Spring MVC Features
In this video; Andy Alfred provides an overview of Spring MVC features in Java-Spring.
-
Getting Familiar With Spring Form Tags
In this video; Andy Alfred explains Spring form tags for Java-Spring.
-
Getting Familiar with Spring Security JSP Tags
When using Spring Security for Java-Spring; you can use JSP tags to access security information and apply constraints directly from within the JSPs. There are a number of tags that can be used; including authorize; authentication; accesscontrollist; csrfInput; and csrfMetaTags. In this video; Andy Alfred discusses the features and functions of JSP tags.
-
Getting Familiar with the JdbcTemplate Class
In Java-Spring; the JdbcTemplate class is one of the most common classes used for executing queries against a database in a Spring application. The JdbcTemplate class is provided as part of the Spring Jdbc Jar and is easier to use than the JDBC API in executing queries. In this video; Andy Alfred discusses the JdbcTemplate class in greater detail.
-
Getting Familiar with the SimpleJdbc Classes
In this video; Andy Alfred discusses SimpleJdbc classes in Java-Spring.
-
Getting JoinPoint Info in Advice
In this video; Andy Alfred; demonstrates how to get joinPoint information from within your advice; when working with aspects in Spring applications.
-
Getting Set Up to Use Spring Security
In Java-Spring; you can use the Spring Tool Suite to configure Spring application to implement security. In this video; Andy Alfred demonstrates how to configure the Spring Web MVC Application to implement security using Spring Security in an example.
-
Getting Spring MVC Using Maven
In Java-Spring; you can use Maven to get access to the Spring MVC Framework so that you can create Spring MVC web applications. In this video; Andy Alfred discusses how to get access to the Spring MVC Framework through Maven.
-
Handling a Database Exception
Java's Spring framework allows you to build web applications and systems. When doing so; it is important to know how to handle database exceptions. In this video; Andy Alfred demonstrates how to handle a database exception using the Spring Tool suite.
-
Implicit Bean Registration With Java-Based Configuration
It is possible to configure Spring so that it will look through source files and based on annotations found in those files; register beans automatically or implicitly. In this video; Andy Alfred explains how to achieve this using implicit bean registration.
-
Indicating Authentication Errors on a Custom Login Page
Java-Spring allows you to create custom login pages as part of security configuration; and they can be configured to indicate authentication errors to users when login is unsuccessful. This allows users to understand the reason for the unsuccessful login; rather than appearing to be an application error. In this video; Andy Alfred demonstrates how to configure these indications.
-
Inner and Outer Beans
The Spring framework is a platform that makes developing rich and complex software projects a more manageable process. In this video; Andy Alfred demonstrates how to create and use an anonymous Inner Bean that is used to configure an Outer Bean property.
-
Inserting Data into a Database
In Java-Spring; you can set up Data Access Objects (DAOs) to retrieve single records and map them to custom classes created within the application. In this video; Andy Alfred demonstrates how to create a query that returns a single record from a table based on parameters and values that are set up in Spring.
-
Matching Annotations Using Pointcut Patterns
In this video; Andy Alfred demonstrates matching annotations using pointcut patterns.
-
Matching Method Names Using Pointcut Patterns
In this video; Andy Alfred; demonstrates how to match method names using pointcut patterns; in Spring applications.
-
Matching Method Parameters Using Pointcut Patterns
In this video; Andy Alfred demonstrates matching method parameters using pointcut patterns in Java-Spring.
-
Matching Packages and Classes Using Pointcut Parameters
In this video; Andy Alfred discusses matching packages and classes using pointcut parameters in Java-Spring.
-
Matching Requests Based On Headers
In Java-Spring; you can use some advanced @RequestMapping features to map requests based on header values. In this video; Andy Alfred demonstrates how to match requests based on headers.
-
Matching Requests Based On Url Parameters
In Java-Spring; you can match requests based on URL parameters by setting up the Spring MVC application. In this video; Andy Alfred demonstrates how to set up a Spring MVC application to match requests based on URL parameters.
-
Matching Return Types Using Pointcut Patterns
In this video; Andy Alfred; demonstrates how to set up pointcut expressions as patterns that only match to method executions where those methods return a specific type you are interested in.
-
Narrowing Request Mapping Using HTTP Request Methods
Java-Spring allows you to use the Spring MVC web application to implement narrowing requests within the web server framework. In this video; Andy Alfred demonstrates how to narrow request mappings to only work if a particular HTTP request method is used.
-
Performing Batch Updates
In Java-Spring; the batch update method of the Jdbc Template class allows you to process multiple updates at the same time. In this video; Andy Alfred demonstrates how to perform batch updates on a database table using a single prepared statement.
-
Performing Inserts Using SimpleJdbcInsert
When using Java's Spring framework to build web applications and systems; it is important to be familiar with the SimpleJdbc classes and their function. In this video; Andy Alfred demonstrates how to use the SimpleJdbcInsert class to set up and perform inserts with minimal configurations.
-
Providing a Custom Login Page
In Java-Spring; Spring Security can be used to create a custom login page to provide additional security for Spring web MVC applications. The form used to log in can be customized; as can the pages users are brought to once they are logged in. In this video; Andy Alfred demonstrates how to customize login pages.
-
Providing a Custom Login Page through a Controller
In Java-Spring; you can create a custom login page to provide additional security for Spring web MVC applications through a controller. Creating the login page through a controller in this way allows for greater flexibility for customization. In this video; Andy Alfred demonstrates how to customize login pages with a controller.
-
Redirecting in Spring MVC
When using the Spring Tool suite for Java-Spring; you may need to use redirects to make Spring MVC applications more robust. Redirects can be useful in many ways; such as preventing duplicate processes taking place if information from a form is submitted multiple times; for example. In this video; Andy Alfred explains how to set up redirects for Spring MVC applications.
-
Referring to Pointcut Expressions
When pointcut expressions are tied to your before advice statements you need to include them each time you set up a class. However; Java-Spring does offer an efficient alternative. In this video; Andy Alfred; demonstrates how to refer to pointcut expressions so they can be used multiple times or reused when you configure your aspects.
-
Registering Beans Using The Component Scanner
In Java-Spring; you can use the Component Scanner to implicitly define and register beans. In this video; Andy Alfred demonstrates how to configure and use the Component Scanner to avoid manual XML configuration within a Java Spring application.
-
Removing Data From A Database
Java-Spring allows you to use the Jdbc Template class to delete a database record. In this video; Andy Alfred demonstrates how to set up the Jdbc Template class and configure the update method to delete an existing record from a database table.
-
Retrieving Records From a MySQL Database
In Java-Spring; you can retrieve record from a MySQL Database table using a Data Access Object (DAO) along with the JdbcTemplate class. DAOs contain methods that are exposed to the application in order to interact with the data within databases. In this video; Andy Alfred demonstrates how to configure DAOs for retrieving records from a MySQL Database.
-
Retrieving Single Records As Objects
In Java-Spring; you can set up Data Access Objects (DAOs) to retrieve single records and map them to custom classes created within the application. In this video; Andy Alfred demonstrates how to create a query that returns a single record from a table based on parameters and values that are set up in Spring.
-
Running A Spring MVC Application With Tomcat
In Java-Spring; Tomcat can be used as a servlet container to run Spring MVC applications. In this video; Andy Alfred demonstrates how to run a Spring MVC application using Apache Tomcat.
-
Securing a URL Using Expressions
Java-Spring allows you to use expressions to secure URLs with Spring Security. This can be used to ensure that only users with specific roles; such as administrators; can access certain links and navigate to particular URLs. In this video; Andy Alfred demonstrates how to use expressions to add security to Spring applications by securing URLs.
-
Serving Static Files from a Spring MVC App
In the Spring Tool suite for Java-Spring; Spring MVC applications can be configured to serve static files such as PDFs; images; or spreadsheets. A folder is created to store imported static files; and its location is mapped in servletConfig. In this video; Andy Alfred demonstrates how to configure Spring MVC applications to serve static files.
-
Setter Injection Using Java-Based Configuration
In this video; Andy Alfred demonstrates how to use setter injection when configuring Spring applications using a Java-based configuration.
-
Setting Bean Properties
In Java-Spring; you can configure properties for Spring beans such that they are included in the classes that the bean itself is associated with. In this video; Andy Alfred demonstrates how to set properties on beans.
-
Setting Bean Properties using the p Namespace
In Java-Spring; you can use the p namespace to configure the bean properties by using attributes instead of the property tag. In this video; Andy Alfred demonstrates how to use the p namespace.
-
Setting Collection Type Properties on Beans
In Java-Spring; you can set the collection type properties on classes that the beans are associated with. In this video; Andy Alfred demonstrates how to configure the beans to set collection type properties.
-
Setting Init And Destroy Methods on Beans
The Spring framework is a platform that makes developing rich and complex software projects a more manageable process. In this video; Andy Alfred demonstrates how to define methods that run after a bean is instantiated and before a bean is destroyed.
-
Setting Properties Using Spring Expression Language
In Java-Spring; you can use Spring Expression Language dependency injection in the Spring Tool suite to assign values to properties. In this video; Andy Alfred demonstrates how to assign values to properties within predetermined classes in an example.
-
Setting Up a MySQL Database for Spring Security User Authentication
In Java-Spring; you can set up a database in such a way that you can use it for Spring Security authentication and authorization. In this video; Andy Alfred uses Spring Security to demonstrate the configuration of a MySQL database for authentication and authorization.
-
Setting Up a Security Filter
In Java-Spring; you can use the Spring Tool Suite to set up security features in Spring Security. In this video; Andy Alfred demonstrates how to use the Spring Security feature to implement filtering to intercept HTTP requests before they arrive at servlets.
-
Spring and Maven
You can use Maven build tool to set up the Spring applications. In this video; Andy Alfred demonstrates Spring and Maven.
-
Spring AOP Pointcut Designators
In Java-Spring; Spring Aspect-Oriented Programming (AOP) supports only a subset of pointcut designators that are found in the complete AspectJ language. These include execution; within; this; target; args; @target; @args; @within; @annotation; and bean. In this video; Andy Alfred discusses the features of these pointcut designators.
-
Spring Autowiring byConstructor
The Spring framework is a platform that makes developing rich and complex software projects a more manageable process. In this video; Andy Alfred demonstrates how to Autowire Bean properties based on custom constructors.
-
Spring Autowiring byName
The Spring framework is a platform that makes developing rich and complex software projects a more manageable process. In this video; Andy Alfred demonstrates how to Autowire Bean properties based on name.
-
Spring Autowiring byType
The Spring framework is a platform that makes developing rich and complex software projects a more manageable process. In this video; Andy Alfred demonstrates how to Autowire Bean properties based on class type.
-
Spring Default Autowiring
The Spring framework is a platform that makes developing rich and complex software projects a more manageable process. In this video; Andy Alfred demonstrates how to be able to use default autowiring in a Spring bean configuration file.
-
Spring Security and Encrypted Database Passwords
In Java-Spring; you can use Spring Security to encrypt database information for use in authentication so that passwords are not stored as plain text in the database. The MD5; SHA; and BCrypt classes can be used to encode and encrypt passwords; and the authentication provider configured. In this video; Andy Alfred discusses these processes in greater detail.
-
Stereotype Annotations
In Java-Spring; stereotype annotations refer to markers for classes that fulfill a specific role within a Spring application. In this video; Andy Alfred discusses stereotype annotations.
-
Supporting Basic Database Operations Using Spring
Java-Spring applications can perform several basic operations on databases. These functions include creating; retrieving; updating; and deleting records in the database. In this video; Andy Alfred demonstrates how JDBC and the JdbcTemplate class can be used to execute basic operations in databases for Spring.
-
The Autowired Annotation and the Required Option
When you're using the @Autowired annotation; Spring will check to make sure that property is wired properly. In this video; Andy Alfred explains how to use the required attribute of @Autowired to avoid exceptions.
-
The Spring MVC Workflow
Developing web applications with Java-Spring requires a good understanding of the Spring MVC application workflow. In this video; Andy Alfred discusses the Spring MVC workflow.
-
Understanding Access Control Using Expressions
Java-Spring allows you to use expressions with Spring Security to determine features of Access Control. In this video; Andy Alfred uses Java-Spring to explain the implementation methods for expressions; and provides examples of the common expressions used.
-
Understanding Alternative Annotations in Spring
Annotations in Spring allow you to move the configuration of a Spring app away from XML files and into the actual source files. In this video; Andy Alfred discusses the purpose of using alternative annotations in Spring.
-
Understanding Bean Scopes
When creating Spring Applications with Java-Spring; you have various options for setting bean scopes. Common bean scopes include the Singleton scope and the Prototype scope. In this video; Andy Alfred discusses these two basic bean scope options; and provides an overview of the bean scope options that you can use with Spring MVC web applications.
-
Understanding Database Exception Handling in Spring
When using applications in Java-Spring to interact with databases; various exceptions may arise in the event of something going wrong. Spring translates any database-related exceptions into classes in its own exception hierarchy; so developers do not need to write specific exception-handling code. In this video; Andy Alfred discusses database exception handling in Spring.
-
Understanding the Components of a Spring MVC Configuration
Several different aspects or components come into play when you configure a Spring MVC application in Java-Spring. In this video; Andy Alfred discusses the components of a Spring MVC configuration.
-
Understanding the Process of Spring Security Database Authentication
Java-Spring allows you to configure Spring Security to use authentication data from a database. There are a number of steps involved in this process; including configuring a data source; creating a data access object; and setting up an authentication provider with the data access object. In this video; Andy Alfred discusses this process in greater detail.
-
Updating Data in a Database
In Java-Spring; you can use the Jdbc Template update method to update a record in a database table. In this video; Andy Alfred demonstrates how to use a Spring application to update a record in a database table in Java.
-
Uploading Files Using Commons FileUpload
The Spring Tool suite in Java-Spring allows you to upload files in the Spring MVC application by using the Commons FileUpload dependency. In this video; Andy Alfred demonstrates how to use a MultipartResolver object in conjunction with the Commons FileUpload dependency to upload files in the Spring MVC application.
-
Using a Properties File to Configure a Data Source
Java-Spring allows you to use a properties file to configure a DataSource to connect Spring applications to a database; such as MySQL Database. It is good practice to externalize connection information into a properties file and use Spring to load the values from there. In this video; Andy Alfred demonstrates the process of configuring a DataSource using a properties file.
-
Using a View Resolver in Spring MVC Applications
In Java-Spring; view resolvers map view names to actual views. In this video; Andy Alfred demonstrates how to use a view resolver in Spring MVC applications.
-
Using Annotations to Set Init and Destroy Methods on Beans
The init and destroy methods can be set up using XML but can also be created using annotations. In this video; Andy Alfred demonstrates how to use the @PostConstruct and @PreDestroy annotations to set up the init and destroy methods for Spring beans.
-
Using Autowiring With Java-Based Configuration
In this video; Andy Alfred explains two ways to configure Java-based Spring configurations to allow you to start autowiring them.
-
Using Bean Properties As SQL Parameters
Java-Spring allows you to create SQL statements that are based on properties from registered classes or beans. In this video; Andy Alfred demonstrates how to use bean properties to create SQL statements with Java.
-
Using Database Transactions in Spring
In Java's Spring framework; you can build web applications and systems. In order to do so; you need to know how to work with database transactions. In this video; Andy Alfred demonstrates how to work with database transactions using the Spring Tool Suite.
-
Using HTTP Basic Authentication
When using Java-Spring to set up authentication for a web application; you can use HTTP Basic Authentication methods. In this video; Andy Alfred uses Spring Security to demonstrate the process of setting up HTTP Basic Authentication.
-
Using Maven for Dependency Management
In Java-Spring; you can use Maven to manage the dependencies while creating your Java applications. In this video; Andy Alfred demonstrates how to use Maven for dependency management.
-
Using Named Parameters
In Java-Spring; you can set up query statements using NamedParameters to create placeholders. NamedParameters can help reduce confusion; making it easier to understand the statements. In this video; Andy Alfred discusses the features and demonstrates how to use NamedParameters in SQL queries.
-
Using Spring Expression Language in Annotation Configuration
In this video; Andy Alfred demonstrates using Spring expression language in annotation configuration in Java-Spring.
-
Using Spring Expression Language in XML Configuration
In this video; Andy Alfred demonstrates using Spring expression language in XML configuration in Java-Spring.
-
Using Spring Security in Memory Authentication
In Java-Spring; you can use the Spring Security to secure web applications with authentication. In this video; Andy Alfred demonstrates how to set up In-Memory Authentication for a web application.
-
Using the @SessionAttributes Annotation
The Spring Tool suite for Java-Spring allows you to use the @SessionAttributes annotation to add or store session data. This is done by setting up a ModelAttribute as a SessionAttribute; and Spring ensures that this particular attribute is available for the duration of the session. In this video; Andy Alfred demonstrates how to use the @SessionAttributes annotation.
-
Using the Args Pointcut Designator
In this video; Andy Alfred demonstrates the args pointcut designator in Java-Spring.
-
Using the Authentication Tag
In Java-Spring; the authentication tag allows you to access information about the user currently logged in that can potentially be displayed in JSPs. JSP tags are accessed using a dependency and enabled with a declaration. In this video; Andy Alfred demonstrates how to configure the authentication JSP tag.
-
Using the Authorization Tag
In Java-Spring; you can use the authorization tag to lock down certain portions of the JSPs; depending on whether the currently logged-in user is authorized to see those portions. JSP tags are accessed using a dependency and enabled with a declaration. In this video; Andy Alfred demonstrates how to configure the authorization JSP tag.
-
Using the Bean Pointcut Designator
In this video; Andy Alfred demonstrates using the bean pointcut designator in Java-Spring.
-
Using The Inject Annotation
Inject is a JSR-330 annotation used in Spring. In this video; Andy Alfred explains how to use the @Inject annotation to set up autowiring in a Spring resource.
-
Using the Named Annotation
The Java Specification Request 300; or JSR 330; was all about dependency injection and brought about the @Named annotation. In this video; Andy Alfred demonstrates how to transition from @Component annotation to the @Named annotation in Spring applications.
-
Using The Qualifier Annotation
The qualifier annotation is useful when you have more than one bean of the same type and want to wire only one of them with a property. In this video; Andy Alfred explains how to use the @Qualifier annotation to work through ambiguities in an autowiring setup.
-
Using The Required Annotation
The @Required annotation is used to force properties to be set. In this video; Andy Alfred explains how to use the @Required annotation to specify that the value of a bean property is required to be dependency injected.
-
Using The Resource Annotation
Dependency injection involves providing dependencies to an object instead of having it construct them. In this video; Andy Alfred explains how to use the @Resource annotation to set up dependency injection using annotations.
-
Using the Safe Navigation Operator
In this video; Andy Alfred discusses using the safe navigation operator in Java-Spring.
-
Using The Value Annotation
Value annotations read properties from your Java class property files. In this video; Andy Alfred explains how to use annotations to set up values for properties.
-
Validating a Spring MVC Form
In Java-Spring; you can use the Spring Tool suite to perform validation on the Spring MVC forms. To do this; you use the Spring MVC application. In this video; Andy Alfred demonstrates how to initiate form validation and the reasons for its necessity.
-
What is a Spring Bean?
Spring beans are a mapping of application classes with unique identifiers that a spring application can use. In this video; Andy Alfred discusses the concept of spring beans.
-
What is Annotation Configuration?
In this video; Andy Alfred discusses annotation configuration in Java-Spring.
-
What is Java Based Configuration?
Java-based configuration eliminates the need for XML when developing and configuring Java-Spring apps. In this video; Andy Alfred discusses how to use Java-based configuration when creating Spring apps.
-
What is Spring Expression Language?
In Java-Spring; Spring Expression Language (SpEL) is an expression language used to support manipulating and querying the object graph at the same time; and while it is built to work with the rest of the Spring framework; it can also work independently of it. In this video; Andy Alfred discusses the features of SpEL and its various uses.
-
What is Spring MVC?
Spring MVC is a part of the Spring Framework that makes it easier to create rich web applications based on the MVC design pattern. In this video; Andy Alfred discusses how Spring MVC works.
-
What is Spring Security?
In Java-Spring; Spring Security is the standard for securing Spring-based applications; whether they are standalone or web-based Spring MVC applications. Spring Security can be used to implement common security concepts; such as authentication; authorization; and security namespace. In this video; Andy Alfred discusses the features and function of Spring Security.
-
What is Spring Tool Suite?
The Spring Tool Suite is an eclipse-based IDE or Integrated Development Environment that you can use to create Spring applications. In this video; Andy Alfred explains what is Spring Tool Suite and what it can be used for.
-
What is Spring?
Spring is a framework that helps you to develop Java applications more easily. In this video; Andy Alfred explains how to create a basic Spring application out of an existing Java project.
-
Working with After (Finally) Advice
In this video; Andy Alfred; demonstrates how to work with the after advice type; when setting up aspects in Spring applications.
-
Working with After Returning Advice
In this video; Andy Alfred; demonstrates how to work with after returning advice type; when setting up aspects in Spring applications.
-
Working with After Throwing Advice
In this video; Andy Alfred; demonstrates how to work with the after throwing advice type; when setting up aspects in Spring applications.
-
Working with Around Advice
The around advice type is the most powerful advice type. In this video; Andy Alfred; demonstrates how to work with the around advice type; when setting up aspects in Spring applications.
-
Working with Aspects in a Java Based Configuration
In this video; Andy Alfred demonstrates working with aspects in a Java based configuration in Java-Spring.
-
Working with Bcrypt Hash
Java-Spring allows you to add security to a database by storing the password in a Bcrypt Hash format in a database. In this video; Andy Alfred demonstrates how store a password for a particular user using the Bcrypt Hashing Algorithm so that it is not visible in plain text.
-
Working with Before Advice
In this video; Andy Alfred; demonstrates how to work with before advice when setting up aspects in Spring applications.
-
Working with Cookies in Spring MVC
In the Spring Tool suite for Java-Spring; the Spring MVC applications allows you to work with cookies. A handler method accessing the HttpServletResponse can be used to add new cookies; and the @CookieValue annotation can be used to retrieve cookies. In this video; Andy Alfred demonstrates how to work with cookies in Spring MVC.
-
Working with Exceptions in Around Advice
In this video; Andy Alfred; demonstrates how to work with exceptions in the around advice type; when setting up aspects in Spring applications.
-
Working with MD5 Hash
In Java-Spring; you can use MD5 Hashes to configure Spring Security that is backed using a database. While the MD5 Hash is not necessarily the most secure encryption; it is better than just storing a password in plain text. In this video; Andy Alfred demonstrates how to use Spring Security to add an extra layer of security with MD5 Hashes.
-
Working with Return Values and Parameters in Around Advice
In this video; Andy Alfred; demonstrates how to work with parameters and return values within the around advice type; in Spring applications.
-
Working with the Spring Application Context
Java-Spring allows you to work with the application context file in many ways. In this video; Andy Alfred demonstrates the different ways of working with the spring application context file.
-
Performing Method-Level Security Using Expressions
In Java-Spring; you can use Spring Security with expressions to restrict the execution of certain methods in applications. Only users with the correct authorities will be able to execute the methods. In this video; Andy Alfred demonstrates how the PreAuthorize and PostAuthorize annotations can be used to restrict methods in this way.
-
What is Aspect Oriented Programming?
In Java-Spring; Aspect-Oriented Programming (AOP) is a complementary approach to Object-Oriented Programming. This approach involves crosscutting concerns being isolated from the core application and separated into classes called aspects. This gives a centralized location for implementing those concerns. In this video; Andy Alfred discusses the features and functions of AOP.