Latest From The Blog

Es 6 some features

at

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...

CLEAN CODE

at

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

at

 1 check Null and Undefined And primative datatype if(object){ // object is not null, undefined, 0, '', false.  but it can empty({})...

JPA find() & getReference() in javax.persistence.EntityManager * find (): always call select from DB   Use for select one entity from DB...

Persistence Context has two implemnet is JPA EntityManage and Hiberbate Session Example use Session of hiberate  has exist github you can vi...

Collection Java

at

Knowledge of collection in java Interface Iterator interface Collection interface List Interface    Queue Interface    Deque Interface    Se...

Compare List Java

at

For immutableuse equallist we simple use list.equal list it return true if content same. (compare index)  //case true  List<Integer> l...

Java Copy

at

 1 Copy Object in java Use = for immutable class ex: Integer , String or Wrapper classes Object   Use Contructor has paramater copy, ObjectA...

Parse LocalDateTime to String to pattern  year :                      yyyy || 2021 month of year:       M / MMM / MMMM || 06 / Jun / June da...

Hibernate Notice

at

  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

at

  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

at

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...

se11

at

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

at

 Preface Knowledge about this part: Spring code: Spring – IoC Containers Spring – Inversion of Control vs Dependency Injection Spring 5 – Be...

jwt with spring

at

 Preface Understanding Spring Security Architecture     How To Keep Authenticaion (Client vs server, API)     Session Management     JWT (th...

vocabulary

at

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

at

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...

internationalization i18n

at

 i18n mean i to n has 18 number character Use: Config messageSource in file config   1) Use jstl  Pom:  <dependency>             <g...

Spring Security Notice

at

 1) The order of the antMatchers() Note that the order of the antMatchers()  elements is significant – the more specific rules need to come ...

About Me

My photo
Tân An, Long An, Vietnam
Hello everyone, I love programming, I love making friends with people all over the world.