Latest From The Blog
Es 6 some features
youtube tutorial: https://www.youtube.com/watch?v=IEf1KAcK6A8 1 let and scope, 2 const, 3 array function 4 default value 5 Object iteral ext...
Design Pattern createnal factory
The one of Design Pattern Series, this is factory design for createnal pattern. Please read in the linked document. Link document: https:...
CLEAN CODE
This post use language vietnames is, the future is will introduce english version. The clean code for java also application for the others. ...
Check Status object
1 check Null and Undefined And primative datatype if(object){ // object is not null, undefined, 0, '', false. but it can empty({})...
JPA find and getReference
JPA find() & getReference() in javax.persistence.EntityManager * find (): always call select from DB Use for select one entity from DB...
Spring hibernate Lifecycle
Persistence Context has two implemnet is JPA EntityManage and Hiberbate Session Example use Session of hiberate has exist github you can vi...
Collection Java
Knowledge of collection in java Interface Iterator interface Collection interface List Interface Queue Interface Deque Interface Se...
Compare List Java
For immutableuse equallist we simple use list.equal list it return true if content same. (compare index) //case true List<Integer> l...
Java Copy
1 Copy Object in java Use = for immutable class ex: Integer , String or Wrapper classes Object Use Contructor has paramater copy, ObjectA...
DateFormat String format
Parse LocalDateTime to String to pattern year : yyyy || 2021 month of year: M / MMM / MMMM || 06 / Jun / June da...
Hibernate Notice
1) CRUD có thể sử dung find Compositekey hoặc findBy compositeket + column in composite 2) CRUD findBy column And column 3 Not LazyLoa...
Java notice
1 Enum quang trọng thứ tự trong khai báo nó sẽ quy định ra get ra cái gì 2) Sort 3 Rounding value in java 3.1 Rounding value number...
Oauth 2.0
Preface Khái niệm Oauth và ApIs Scope and consent (phạm vi và sự đồng ý) Oauth Actor Oauth Tokens Front Back Channel Giả Xác thực Với Oa...
Tìm hiểu về các phép so sánh trong java
Preface Trong java có 3 kiểu so sánh đặc trưng như sau: + Sử dụng toán tử == : return Boolean Primitive thì so sánh giá trị thực, Reference ...
se11
Preface Oracle đã released java 11 trong tháng 9-2018, chỉ sau 6 tháng sau khi version 10 ra mắt. Java 11 là long-term support (LST) release...
Spring core
Preface Knowledge about this part: Spring code: Spring – IoC Containers Spring – Inversion of Control vs Dependency Injection Spring 5 – Be...
jwt with spring
Preface Understanding Spring Security Architecture How To Keep Authenticaion (Client vs server, API) Session Management JWT (th...
Khác biệt giữa Primitive datatype và refercen Datatype
Primitive datatype và refercen Datatype Default value and Null Lưu trữ chúng Sử dụng toán tử = operator So sánh sử dụng == Return Giá trị...
vocabulary
potentia: tiềm năng whatever kind of: bất cứ loại + capacity (noun) : sức chứa subtaning: duy trì. capacity for sustaining: khả năng duy trì...
Web Notice
Forward (Chuyển tiếp) & Redirect (điều hướng) Forward : When request of brower send to Servlet, it can forward request to a page other o...
Remember Me cookie
The cookie contains three part: username: to identify logged-in expirationTime: to expire the cookie; default 2 week password and pridefine...
internationalization i18n
i18n mean i to n has 18 number character Use: Config messageSource in file config 1) Use jstl Pom: <dependency> <g...
Spring Security Notice
1) The order of the antMatchers() Note that the order of the antMatchers() elements is significant – the more specific rules need to come ...
Spring sometimes error
1 Role Authorization request login when access /admin. notice: save role in database : ROLE_XXX 2 Run By spring-boot:run Could not find or...
About Me

- Peter
- Tân An, Long An, Vietnam
- Hello everyone, I love programming, I love making friends with people all over the world.
Contact
Popular Posts
-
The one of Design Pattern Series, this is factory design for createnal pattern. Please read in the linked document. Link document: https:...
-
youtube tutorial: https://www.youtube.com/watch?v=IEf1KAcK6A8 1 let and scope, 2 const, 3 array function 4 default value 5 Object iteral ext...
-
1 Copy Object in java Use = for immutable class ex: Integer , String or Wrapper classes Object Use Contructor has paramater copy, ObjectA...
-
JPA find() & getReference() in javax.persistence.EntityManager * find (): always call select from DB Use for select one entity from DB...
-
Preface Trong java có 3 kiểu so sánh đặc trưng như sau: + Sử dụng toán tử == : return Boolean Primitive thì so sánh giá trị thực, Reference ...
-
Persistence Context has two implemnet is JPA EntityManage and Hiberbate Session Example use Session of hiberate has exist github you can vi...
-
1 check Null and Undefined And primative datatype if(object){ // object is not null, undefined, 0, '', false. but it can empty({})...
-
1) CRUD có thể sử dung find Compositekey hoặc findBy compositeket + column in composite 2) CRUD findBy column And column 3 Not LazyLoa...
-
This post use language vietnames is, the future is will introduce english version. The clean code for java also application for the others. ...
-
Parse LocalDateTime to String to pattern year : yyyy || 2021 month of year: M / MMM / MMMM || 06 / Jun / June da...