- Видео 150
- Просмотров 222 562
Graham Mansfield (gdmAtStaffs)
Великобритания
Добавлен 2 июл 2013
This channel is about programming. Share my students' learning experience via the play lists that are based on the courses I teach at university.
Approaches to Authentication and Authorisation
A description of how to perform authentication and authorisation with a web filter and authorisation tokens in a Spring Boot application.
Download the example software: shorturl.at/oFMZ1
Download the example software: shorturl.at/oFMZ1
Просмотров: 187
Видео
Hashing passwords in Java
Просмотров 7652 года назад
Why we need to hash passwords and how to do it in Java.
Authentication and Authorisation
Просмотров 1572 года назад
An overview of authentication and authorisation in software systems.
Using the Command design pattern in a Spring Boot application
Просмотров 1,4 тыс.2 года назад
A description of the change to class structure when using the command pattern, and a demonstration of how to use the command design pattern in a Spring Boot application. Download the example software: shorturl.at/frsxz
Introduction to Software Design Patterns
Просмотров 1842 года назад
A brief introduction to software design patterns
Exception Handling in Spring Boot
Просмотров 1042 года назад
A couple of ways in Spring Boot to handle validation exceptions. Download the example software: shorturl.at/klC47
Validation in Spring Boot
Просмотров 932 года назад
How to perform validation in Spring Boot Download the example software: shorturl.at/klC47
Introduction to Validation
Просмотров 782 года назад
A brief introduction to data validation and where it might be done in a Spring Boot application
Integration Testing in Spring Boot
Просмотров 2082 года назад
How to write JUnit integration tests in Spring Boot. Download the example software: shorturl.at/hIR59
Unit Testing in Spring Boot
Просмотров 2302 года назад
How to write JUnit tests with mocking in Spring Boot. Download the example software: shorturl.at/hIR59
Introduction to JUnit testing with Mockito
Просмотров 912 года назад
An overview of using Mockito in JUnit tests. Download the example software: shorturl.at/hIR59
Introduction to testing with JUnit
Просмотров 992 года назад
A description of how JUnit can be used in automated testing of our Java programs
Introduction to Testing
Просмотров 1232 года назад
A brief overview of black-box testing and how to develop a test plan based on test cases that are based on the requirements.
Review of Learning Blocks 1 to 5
Просмотров 1312 года назад
A brief review of the the topics covered in the first five learning blocks. Links to related videos: 00:07 Introduction to Enterprise Applications - ruclips.net/video/X2gIcTy5EZY/видео.html 01:15 Introduction to Frameworks - ruclips.net/video/X2gIcTy5EZY/видео.html 01:58 Introduction to REST - ruclips.net/video/ePsotCzWTUA/видео.html 02:22 JSON - ruclips.net/video/sg9O7PjjEyU/видео.html 04:16 A...
The JpaRepository class in Spring Boot
Просмотров 6682 года назад
A description of the JpaRepository class in Spring Boot and an example application that uses it. Download the example software in this video: shorturl.at/adfgZ
Inversion of Control and Spring Beans in the Spring Framework
Просмотров 1172 года назад
Inversion of Control and Spring Beans in the Spring Framework
Application Architecture in Spring Boot
Просмотров 2862 года назад
Application Architecture in Spring Boot
Flyway Database Migrations in Spring Boot
Просмотров 1,6 тыс.2 года назад
Flyway Database Migrations in Spring Boot
Accessing MySQL using JDBC in Spring Boot
Просмотров 1042 года назад
Accessing MySQL using JDBC in Spring Boot
Can we call procedure with in and out param?
Great content. Lucid explanation.
You’ve done a better job then my teachers and the textbooks 😊😊
I'm happy you found it helpful.
I love you so much. I dont know how much i searched for my problem and how many people I saw searching for the same solution, but nobody mentioned the equals method when converting the objects. That fixed everything for me. Thank you sooooo much! Very good and useful Video!
I'm glad you found it useful.
You've used a fun example - unfortunately, the shortened URL links don't work. Can you correct them?
nice explanation. 2024 an i am about to start learning about it.. thanks
Thank you
Good Tutorial, Thank you from Italy
Great video!
Hello. Thanks for the video. From my experience, the migration folder should be db/migration, but showed on IDE as db.migration. If we use a folder named db.migration, flyway migration script won't be executed.
great content 💪🚀
Well explained
Great explanation. Thanks for sharing this.
شرح بسيط ورائع❤❤
Great video, thanks! Other courses I've taken have grouped all the Controllers in a package, the Repositories in another package, Models in a package etc. I like the way you group your classes. Is this just a personal preference (for locating them easier) or another reason?
Although it is my personal preference, it is based on some concepts of clean architecture that guide use to group together classes and components that change together.
As a backend dev who is trying to get into full-stack, thank you so much for the video. The clearest expalanation I was able to find online for the HTML part :)
I'm glad it was helpful.
Perfect
Very good demonstration. 😀
I'm pleased you found it useful
Thank you very much! Your video was very helpful.
Thanks for the feedback. I'm glad you found it helpful.
This is honestly the best sql tutorial I’ve come accross - nice and succinct and straight forward , thank you!😊
Thank you. I'm pleased you liked it.
This is a really great tutorial! Thank you!
Thanks for the feedback. I'm glad you found it helpful.
great content, great explanation, keep going please 🙏
We're using void statements here. Why should we use a reference parameter and a void method, when we can return a function using i.e. an int method?
What you suggest is a valid alternative if only a single value should be returned from the method, but the point of this video was to show the difference between value and reference parameters.
@@GrahamMansfield Thank you for the quick response. I was having trouble with the concept and your video (and response) helped me understand reference parameters well. Thank you very much!
Thank you very Much
I'm glad you found it helpful
thanks, a lot ❤
So glad I came across this tutorial and thank you. I find your detailed explanation very easy to understand. Keep it up please.
Thanks for the feedback. I'm glad you found it useful. More videos will follow on this theme over the next couple of months.
thanks
super helpful, thank you
Very good
you are amazing thank you
thks bro you are genius love you bitch
This is a real gem Thank you sir !
amazing tutorials!
Best explanation ever! Thank you!
i understand how a value parameter works now thank you, but i'm confused on what is the point of using a value parameter? Why use a value parameter is my question?
The main reason is that a value parameter prevents (protects) the variable being passed in from being changed by the method.
Can i get all source code about architectural pattern?
I hate you eww
4:38 WordCountBean 5:56
0:49 idea of table table: *fixed number of columns, but it will have one row per object in the collection* => a variable sized table 0:59 in the html lib namespace 1:09 need 2 elements - h:dataTable and h:column
Thank you very much geat explanation
Thanks for the feedback. I'm pleased you found it helpful.
0:19
21:05 managing entities - EntityManager 21:56 Container-managed EntityManager 22:32 how to inject EntityManager into a component 22:55 meaning: when your class got this annotation, the *container* will detect the annotation and will then look for an existing EntityManager that can be used 23:19 JTA allows us to make use of transactions to make sure the the database and data models are properly synchronized 24:27 we should *always use the container-managed EntityManager* along with the JTA transactions 24:34 life-cycle of entity object 24:57 *new* - *no persistent identity* yet 25:36 *managed* - 25:47 this object is associated with a row in the (db) table, 25:52 in another word, this row will be inserted (into db) 26:34 27:15 *detached* 28:06 EntityManager.persist 28:52
0:35 annotations 1:56 dependency injection 3:07 JNDI 3:39 *resources that can be injected* 3:42 SessionContext, DataSource 3:45 EntityManager 4:02 example: *@Resource* 4:13 4:26 JPA 5:16 Entity - 5:21 a POJO 5:56 it provides for *standardized object-relational mapping* 7:14 named queries 8:32 Key features of JPA 8:39 Detached entities 9:23 EntityManager - 9:30 perform CRUD operations on entities 9:38 persistence units 10:05 properties 10:37 identify persistence storage of the managed entities 10:54 identify the *transaction type* 11:07
18:58 a good software engineering principle - 19:02 *only talk to your immediate neighbor* 19:33 minimize the connections between one class and another
1:13 motivation of these design patterns 1:16 mismatch of paradigms - 1:26 we are using *oo* and *relational database* and the two don't match 1:45 thus far, we have embedded SQL into the managed beans and their helper POJOs 1:52 makes maintenance awkward 1:54 SQL code cannot be easily found 2:00 putting all SQL statements into one interface does not remove the lack of oo structure 2:41 solution - design patterns 3:42 Table Data Gateway 4:19 the previous solution with USDP 4:34 *UML example demo of using table gateway* 6:05 *UML example demo of using view gateway* 6:32 just one CustomerGateway class - 6:47 the SQL will query not the just Customer but also the Discount table using a *join* 7:18 code example 8:33 CustomerGateway.find(int customerID)
11:36 row data gateway 13:10 find() can be held as static 13:32 still no business logic in the methods 14:03 UML class dia - possibility 1 14:14 the find method has become static 14:17 customer fields - represent the fields in the database 14:49 possibility 2 - continue to use DTOs 15:50 active record 16:11 the active record is a combination of row data gateway plus domain logic 16:26 also have the business logic 17:50 class diagram
8:01 Use case model
5:14
4:08
8:09