Spring MVC? ??? ?????? ??? ??? ??????? ??? ???. ????? ??(HTTP ?? ???) ??? ?????. ??? Spring MVC ???? ???? ????.
??? ????? - DispatcherServlet? ??? ?? ????
Spring MVC ????? ????? ??? ???. ??? ???? ?? ?? ??? DispatcherServlet? ??? ?????. ?? ??? ?? ???? ????? ?? ??? ?????. HTTP ??? ????? ??? ? ??? ????. ??? ??? ????.
DispatcherServlet? ?? ??? ???? ?? ??? ??? ??? "??", ? ??? ??? ?????? ?????. ??? ?? ???? ?? ??? ??? ?????. ?? ???? ??? ???? ?? ??? ??? ??? ???? ? ??? ?????.
???? ?? ??? - HandlerMapping
??? "??? ? ???!"?? ????? ???(??? ??? DispatcherServlet)? ?? ???? ???? ????. ???, ?? ?? ??? ?? ???? ??? ?? ??? ? ?? ??? ?? HandlerMapping? ???.
?? ?? ???? ?????. ???? ??? ??? ?? John ??? ChefController?? ???? ??? ??? ?????.
???? ???? ??? ???? - HandlerAdapter
???? ??? ???? ??? ?? ??? HandlerAdapter? ???? ??? ???? ???? ????? ?????. ?? ???? "?, ???? ??? ??? ?, ?? ?!"?? ???? ? ????.
??? ??? ????? – ????
?? John ??? ? ??? ?? ???. ?? ??? ???? ??? ???????. ??? ??? ?? ??? ???? ?? ? ????. ?? ?? ??? GET? ?? John? ??? ???? ????? ?? ???(????? ???). ??? ??? POST?? ??? ??? ???? ???? ??? John? ??? ??? ????.
?:
@GetMapping("/cakes")
?? ??
return List.of("????", "????", "?????");
}
???? ?? ?? ??? ???? ???? ??!
?? ?? - ViewResolver
??? ???? ???? ???? ???. ??? ViewResolver? ???? ????. ?? ?? ????? ????. ?? ??? ???? ?? ??? ???? ?????. ??? ?? ?? ?? ??, ???? ??? ???? ?????!
ViewResolver? ???? ?? ??(JSP)? ??? ??? ?? ??? ?? ??(JSON)? ??? ??? ??? ? ????.
??! Dish on your table - HTTP ??
????? ??? ???? ?????. ??? ?????(????)? ???????? ??? ????. ??? ?? ???? ??? HTML ???? ?? ?? ????? ?? ?? ??? ?? JSON ??? ?? ????.
?? ?? John ??? JSON?? ??? ??? ????? ??????.
@GetMapping("/cakes")
@ResponseBody
?? ??
return List.of("????", "????", "????");
}
??? ???? ?? JSON? ?? ?? ??????!
?? ?? ??? ???? — ?? ??
?? ????? ????? ?? ?? ??? ?? ????. ?? ??, John ??? ??? ???? ??? ???????! Spring MVC ???? ?? ??(?: ??? ??? ? ??)? ?????.
??? ???? ???. Spring Restaurant?? ExceptionHandler?? ??? ???? ?? ???? ???? ????? ??? ??? ??? ? ????.
@ExceptionHandler(NoCakesAvailableException.class)
?? ResponseEntity
return new ResponseEntity<>("?????. ???? ? ?????!", HttpStatus.NOT_FOUND);
}
??? ?? ??? ???? ??? ? ???? ??? ??? ??? ? ???.
??
?? ??? Spring MVC? ???? ???? ??? ???? ?? ????? ??? ?? ??????. ????? ???(DispatcherServlet)? ??? ??, ??? ??(?? ??)? ??? ??(????)? ??, ???(HandlerAdapter ? ViewResolver)? ??? ???? ?????. ??? ?????? ExceptionHandler? ?? ??? ??? ?? ????.
? ??? ??? MVC ????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

??? ??











?? ?? ?? ??? ??? ?? ??? ??, ? ? ?? ? ??? ?????. 1. ??? ?? ???? ?? ???? ???-????, ? ??? ??? ??? ? ????, Hashmap? ???-??? ?? ??? ??? ???? ????. 2. NULL ? ?? ???? HashMap? ??? NULL ?? ?? ? ?? ???? ?? HashTable? NULL ?? ?? ???? ??? NullPointerException? ?????. 3. ????? ??? ????? ?? ??? ?? ?? ? ????? HashTable? ? ??? ?? ?? ??? ????. ?? ConcurrenTashMap? ???? ?? ????.

Java? ?? ??? ??? ?? ??? ??? ?? ??? ??? ?? ??? ?? ?? ??? ???? ??? ?? ???? ?????. 1. ??? ???? ??? ?? ?? ? ???? ?? ??? ???? ?? ?? ??? ? ????. 2. ???? ?? ??? ???? ??? ?? ???? ?? ?? ??? ???????. 3. ?? ???? ?? ?? ?? ? ???? ???? ?? NULL ?? ??? ? ????. 4. ?? ???? ??? ?? ?? ? ??? ?????? ?? ??? ??? ?? ?? ??? ????? ??? ??? ??? ??????? ?? ???? ??????.

JIT ????? ??? ???, ??? ?? ? ???, ?? ?? ? ???? ? ? ?? ?? ??? ? ?? ??? ?? ??? ??????. 1. ??? ???? ?? ?? ??? ??? ?? ?? ???? ??? ?? ?????. 2. ??? ?? ? ??? ?? ?? ? ??? ???? ?? ?? ???; 3. ?? ??? ??? ?? ??? ???? ???? ???? ? ?? ?? ??? ?????. 4. ?? ??? ?? ??? ??? ???? ???? ?? ? ??? ???? ?? ??? ?????.

staticmethodsininterfaceswereIntRectionSelffacesswithinteffaceswithinteffaceswithintintinjava8toallowutilityFunctionswithinterfaceitswithinteffaceswithinterfaceffaces

???? ??? ??? Java?? ??? ?? ???? ??? ?? ? ? ??? ??? ???? ? ?????. ?? ???? ??? ??, ??? ?? ??? ?? ?? ??? ??? ????? ???? ????? ?????. ?? ??? ??? ??, ????? ? ??? ????, ?? ??? ??? ?????? ? ?? ? ?? ?????.

injava, thefinalkeywordpreventsavariable'svalue'svalueffrombeingchangedafterassignment, butitsbehaviordiffersforprimitivesandobjectreences.forprimitivevariables, asinfinalintmax_speed = 100; wherereassoncesanerror.forobjectref

??? ??? ?? ?? ??? ????? ? ???? ????? ???? ?? ???? ?? ???? ?????. ?? ??? ??? ????. ?? ?? ?? ??? ???? ???? ?? ?? ??? ??? ?? ?? ??? ??? ?????. ?? ??? ??? ????. ?? ??? ?? ??? ?? ?? ??? ?? ?? ??? ???? NewClass ()? ??? ?? ???? ????. ?? ??? ?? ??? ???? ?? ??? ?? ? ? ??? ?? ?? ??? ????? ????? ?????. ?? ??, ?? ?????? ?????, ??? ? ?? ????? ??? ?? ?????. ???? ?? ?? ??? ???? ?? ???? ?? ? ??? ???? ?? ??? ?? ?????? ?????. ???? ???? ??? ??, ?? ?? ? ?? ??? ????, ?? ?? ???? ?????.

??? ? ?? ??? ???? : ????? ?? ?. 1. int? ???? ???? ?? ?? ?? ? ??? ???? ?????. 2. ?? ? ???? (int) myDouble ??? ?? ?? ??? ?????. ?? ??? ??? ?? ??? ?? ??, ?? ?? ?? ???? ?? ??? ?? ???? ?? ?????. ???? ? ??? ??? ????. ?? ??? ??? ??? ??? ??? ?? ??? ??? ? ??? ?? ???? ??? ??? ??? ??? ? ??? ?? ??? ?? ??? ?? ?? ? ? ????. ?? ?? ??? ?? ??? ??? ??? ??? ? ??????.
