Java Spring Framework? ???? ?? ??? ?????. Spring Boot? ? ?????? ??? ??????.
?? ????? ??? ??? Spring Boot? ?????. ?? ??? ? ?? ??? ???? ??? ?????? ?????. Spring Boot? ???? ? ?? ???? ??? ??? ??? ? ????. ? ??????? ?? ??? ?????.
???? ??, ?????? ??, ?? ???? ?? ?? ??? ??? ???. Java? ?? ??? ????? ??? ????? ? ???? ??? ????. ???? ??? ????? Spring Boot? ?? ???? ??? ??? ???!
?? ????? ?? ?? ?? ??
??? ????? ??
Spring Framework? Java ?????? ??? ?? ??? ?????. ??? ??? ?????? ??? ?? ???? ?? ?????. Spring? ?? ??? ?? ? ??? Spring? ?? ??? ??? ???? ? ??? ? ????.
??? ?????? ??????
Spring Framework? Java? ?? ?? ??????. Java ?????? ??? ?? ???? ??? ??? ?????. Spring? ???? ??? ???? ? ?? ??? ? ????. ??? ????? ???? ?? ??? ???? ? ??? ???.
Spring Framework ??? ??
? ?? ?? ??? ??? ?????. ?? ??????? ???? ?? ?? ?????? ? ??? ???. ??? ?? ??? ? ???? ?? ??? ?????.
Spring? ?? ?? ?????? ?? ??? ??? ?????. ?? ?? ???? ???? ?? ???? ??? ? ????. ????? ??? ?? ????? ?????? ? ?????.
Spring Boot? ? ?? ?????. ?? ??? Spring ??????? ?? ? ??? ??????. Spring Boot? ???? ???? ???? ??? ??????? ?? ? ????.
Spring Framework?? ??? ????? ????. ?? ?? ???? ??? ?? ? ??? ?????. ????? ????? Spring? ??? ? ?? ??? ?????.
?? ?? ??
Java Spring Framework? ???? ?? ????? ??? ? ?? ??? ?? ?? ?????. ??? ??? ??? ?? ????? ?????. ?? ??? ?? ????? ??? ???? ??? ???? ? ??? ???. ? ????? ??? ?? ??? ?????? ?????. ?? Spring Boot? ???? ??? ??? ???.
?? ?? ? ?????
????? ? ?? ??? ?????? ?????. JDK(Java Development Kit), IDE(?? ?? ??), Maven? ?? Spring Boot? ?????. JDK? Java ??????? ???? ? ??????. ?? ???? IDE?? IntelliJ IDEA, Eclipse, Visual Studio Code? ????. Maven? ???? ???? ???? ????? ???? ? ??? ???. ?????, Spring Boot? ??? Spring ??????? ??? ??? ??????.
??? ?? ??
?? JDK(Java Development Kit)? ???? ??? ?????. ??? ?? ?????? ???? ????. ?? ??? ?? ?? ??? ?????. ???? ?? ?? ??(IDE)? ?????. IntelliJ IDEA? Java ???? ???? ?? ?? ?? ?????. JetBrains ?????? ?? ????? ?????? ?????. ?? ??? ????.
?? Maven? ?????. Apache Maven ?????? ???????. ?? ??? ?? ??? ?? ?????. ????? Spring Boot? ?????. Spring ??? ????? ?? ? ??? ??? ? ????. ? ????? ???? zip ??? ???????. ??? ?? IDE?? ???.
?????! ?? ?? ??? ???????. Spring Boot? ?? ???? ??? ??? ??? ?????.
? ?? Spring Boot ?????? ???
? ?? Spring Boot ??????? ??? ?? ???? ?????. Spring ?????? ?? ??? ? ? ????. ? ???? ????? ????, ??? ????, ??????? ???? ? ??? ???. ???? ???!
???? ??
Spring Boot ????? ?? ??? ????. ???? Java ??? src/main/java ? ?? ??? src/main/resources? ?? ??? ?????.
?? ???? src/main/java ????? ????. ? ????? @SpringBootApplication ??? ????. ?? ??????? ???? ?????.
pom.xml ??? ????. Maven? ???? ???? ?????. ? ??? ???? ??? ?? ?????.
?????? ??
???? ??? ???? ?? ??????? ??? ?????. ?? ???? ???. ?? ???? ?????. ? ????? SpringApplication.run(MainClass.class, args); ?? ????. ? ?? Spring Boot ??????? ?????.
??????? ????? IDE ?? ???? ?????. IDE?? ?? ??? ?????. ???? ???? ?? ???? ????? ?????. mvn spring-boot:run? ???? Enter? ????.
??? ?????. ??? ??? ?????. x? ?? MainClass ????? ?? ????. ?? ??????? ?? ??? ?????.
????? ?? http://localhost:8080? ?????. ??????? ? ???? ????? ???. ????! ? ?? Spring Boot ??????? ????? ???? ??????.
?? ???? ??
Java Spring Boot? ?? ????? ??? ?? ???? ???????. ???? ?? ??? ???? ?????. ?? ?? ??????? ??? ??? ???? ??? ????? ??? ? ????. ?? ???? ???? ?? ??? ???????.
???? ??
?? ?? ????? ??? ?? ??? ?????. ????? ???? ?????. ???? ???? ???, ????? ????, ???? ???? ???. ??? ??? ?? ???? ?????. ?? ?? ?? ?? ? ??? ?? ??? ?????.
?? ?????? ???? ?????. ?? ????? ????? ? ??? ???. ?? ??? ??? ???? ????? ?????. ?? ????? ?? ??? ?? ?????. ??? ?? ??? ?? ????? ???? ?? ??? ? ????.
??? ????
??? ???? ??? ?? ?????. ?? ???? ??? ????? ?????. Java Spring Boot? ? ?????? ??? ?? ??? ?????? ?????. ? ?? ???? ?? ??????? ????? ?????.
??????? ? ?? ???? ????. ? ???? ??? ?? ?? ???? ?? ?? ??? ?????. ??? ? ???? RESTful API? ?????. ?? ?? ???? ????? ?? ??? ? ?????.
MySQL?? PostgreSQL? ?? ??? ??????? ??? ???. ??? ??????? ???? ???? ? ?????. JPA(Java Persistence API)? ???? ?????? ?? ??? ??????. ?? ??? ?? ??? ?????.
?? ??????? ??? ?? ?????. ?? ? ?? ??? ?????. ??? ??? ????? Spring Security? ???????. ??? ?? ??? ???? ?? ??? ???? ??????.
??? ?? ??
??? ?? ??? Spring Boot? ?? ????? ???? ? ?? ?????. ??? ??? ?? ??? ?? ??? ?? ??? ???. ???? ??? ??, ???, ??? ??? ?????. ??? ??? ?? ?? ??? ???????.
??? ??? ??
??? ???? ??????? ??? ???? ???? Java ??????. ???? ??? ??, ????, ??? ? ??? ?? ??? ?????. ??? ??? ????.
@Entity public class User { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column(nullable = false, unique = true) private String username; @Column(nullable = false) private String password; @Column(nullable = false, unique = true) private String email; @ElementCollection(fetch = FetchType.EAGER) private Set roles = new HashSet<>(); // Getters and setters }
? ??? ??? ?? ??? ?? ??? ???? ?????. ? ???? ?? ??? ????. @Id ??? ?? ?? ?????. @Column ??? ?? ? null ??? ?? ?? ??? ?????.
??? ??? ? ???
???? ?????? ??? ???? ?? ???? ?????. ??? ?????? JpaRepository? ?????:
public interface UserRepository extends JpaRepository { Optional findByUsername(String username); Optional findByEmail(String email); }
UserRepository ??????? ??? ??? ???? ???? ?? ??? ???? ????. ??? ? ???? ??? ?????.
?? ???? ??? ???? ???? ??? ?????.
@Service public class UserService { private final UserRepository userRepository; @Autowired public UserService(UserRepository userRepository) { this.userRepository = userRepository; } public User saveUser(User user) { return userRepository.save(user); } public Optional findByUsername(String username) { return userRepository.findByUsername(username); } public Optional findByEmail(String email) { return userRepository.findByEmail(email); } }
UserService ???? ???? ???? ??? ???? ???? ?? ??? ?????. ??? ?? ??? ?? ??? ???? ??? ??????.
??? ?? ??
?? ?? ??????? ??? ??? ?????. ?? ???? ???? ???? ???? ????? ?????. ? ????? Java Spring Framework ? Spring Boot? ???? ??? ??? ???? ??? ?????. ???? ???? ??, Spring Security ????? ? ?? ?? ??? ?????.
??? ? ??
?? ??? ? ?? ???? ???? ???. ? ???? ?? ???? ?? ????? ???? ???? ? ????. ??? ??? ?? ?? ??? ??? ????.
- ???? ?? ??? ??? ? ?? ?? ??
- ?? ???? ?? ??? ??
??? HTML? ??? ?? ??? ??? ????.
Username: Password: Register
??? ??:
Username: Password: Login
??? ?? ??
Spring Security? ?? ????? ???? ??? ?????. ?? ? ?? ??? ???? ? ??? ???. ?? ??? ??? ????.
pom.xml ??? Spring Security ???? ?????.
@Entity public class User { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column(nullable = false, unique = true) private String username; @Column(nullable = false) private String password; @Column(nullable = false, unique = true) private String email; @ElementCollection(fetch = FetchType.EAGER) private Set roles = new HashSet<>(); // Getters and setters }
???? ?? ?? ???? ????.
public interface UserRepository extends JpaRepository { Optional findByUsername(String username); Optional findByEmail(String email); }
? ?????:
- ?? ???? ?? ? ??? ???? ???? ? ????.
- ?? ???? ??? ?????.
- BCrypt? ????? ????? ? ?????.
? ??? ?? ?? ??? ??? ???????. ?? ???? ???? ?? ????? ??, ??? ? ???? ? ????.
?? ?? ??
Spring Boot? ?? ????? ????? ????? ??? ??? ??? ?? ?????. ??? ??? ???? ????, ??????, ???? ? ??? ???. ? ?? ?? ?? ??? ?? ??? ??? ??????.
????
?? ??????? ?? ??? ?? ?????. ?? ?? ???? ???? ?? ??? ? ????. Spring Boot? ???? ?? ?? ???, ??, ?? ??? ?? ??? ? ????.
??? ????? ?? ??? ??? ?????? ???? ????. ?? ??? ??? ??????:
JPA ???? ???? ? ???? ?? CRUD ??? ?????. ??? ??? ????.
@Service public class UserService { private final UserRepository userRepository; @Autowired public UserService(UserRepository userRepository) { this.userRepository = userRepository; } public User saveUser(User user) { return userRepository.save(user); } public Optional findByUsername(String username) { return userRepository.findByUsername(username); } public Optional findByEmail(String email) { return userRepository.findByEmail(email); } }
??? ???
??? ???? ?? ???? ????? ??? ? ????. ? ??? ??? ??? ???? ? ????. ??? ??, ??, ??? ?? ?????? ???? Spring Boot? ??? ???? ?????.
???? ??? ???? ??? ??? ?????.
??? ??? ?? ??? ???:
Username: Password: Register
? ???? ???? ????? ???? ? ??? ???. ???? ???? ???? ??? ?? ? ????.
?? ???? ??
Java Spring Framework? ??? ?? ????? ???? ?? ???? ??????. ?? ??? ??????? ??? ??? ??? ???? ?????. ? ????? ?? ????? ?????. ?? ??? ?? ??? ??? ??? ??? ?? ??????.
?? ??
?? ????? ???? ?? ??? ???? ? ???? ??? ?????. ?? ??? ????.
- pom.xml ???? ???? ?? ???? ?????.
- ?????? ??? ??????.
- ??????? ???? ????? ??? ??? ?????.
- ???? ??? ?? application.properties ?? application.yml? ?????.
? ?? ?? ??? ???? Spring Boot ??????? ?????.
@Entity public class User { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column(nullable = false, unique = true) private String username; @Column(nullable = false) private String password; @Column(nullable = false, unique = true) private String email; @ElementCollection(fetch = FetchType.EAGER) private Set roles = new HashSet<>(); // Getters and setters }
? ??? ?? ????? JAR ??? ?????. ? ??? ??? ??? ?????.
??? ??
??? ??? ??? ???? ?? ?????. ?? ?? ??? ??? ????.
??? ???? Heroku? ??? ?????. ?? ??? ?? JAR ??? Heroku? ?????.
- Heroku ??? ??? Heroku CLI? ?????.
- ???? ?????? Git ???? ??????.
- git ???
- ?????? ??:
- ?? ?? . git commit -m "? ? ??" ??? ?? git push ??? ???
?? ????? ????? ????? ?? ??? ?????. ??? ??? ??? ?? ???? ?????. ??? ?????!
??? ? ???
??? ? ???? Java Spring Framework ? Spring Boot? ???? ?? ????? ??? ? ?? ??? ?????. ?? ??????? ???? ????? ???? ??? ???? ???? ? ??? ???. ? ????? ?? ??? ??? ???? ?? ? ?? ??? ????.
?? ??? ??
?? ???? ??? ?? ?? ??? ?????. ?? ?? ?? ??? ???? ????? ???? ? ??????. Spring Boot? ???? JUnit ? Mockito? ???? ?? ???? ??? ? ????.
??? ??? ????.
public interface UserRepository extends JpaRepository { Optional findByUsername(String username); Optional findByEmail(String email); }
? ???? User ???? ????? ??? ??? ???? ?????? ?????. ???? ? ???? ?? ???? ???? ?? ?? ???.
???? ?? ? ???
????? ?? ? ?? ??? ??? ? ????. ??? ?? ??? ??? ???? ??? ???? ???? ? ??? ???. ?? ??? ????? ???? ???? ???? ?? ?? ????? ??? ???.
?? ???? ????
Spring Boot? ?? ????? ??? ?? ??? ?????. ???? ??? ????? ???? ????? ???? ?? ?????. ???? ??? ??? ???? ??? ????? ??? ?????. ?? ???? ??? ???????.
??? ?? ??
??? ??? ???? ?? ????? ???? ???? ??? ? ????. ? ?? ????? ??? ????.
- ??? ???: ???? ??? ???? ???? ??? ? ????.
- ???: ??? ????? ?? ??? ??? ???? ?????.
- ??: ? ???, ?? ??, ???? ????? ????.
- ??: ???? ?? ?? ??? ??? ??? ? ????.
??? ??? ????? Spring Boot ???????? ??? ????, ??? ? ??? ???? ???. ?? ??? ???? ??? ?? ?? ?? ??? ????.
@Entity public class User { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Column(nullable = false, unique = true) private String username; @Column(nullable = false) private String password; @Column(nullable = false, unique = true) private String email; @ElementCollection(fetch = FetchType.EAGER) private Set roles = new HashSet<>(); // Getters and setters }
? ?? ???? ?? ??? ???? REST ????? ?????. ?? ??? ??? ?? ???? ??? ? ????.
?? ???
?? ???? ??? ????? ?? ??? ???? ?? ?????. ??? ? ?? ????.
?????? ???: ?? ????? ?? ????? ?? ??? ????.
??: ?? ????? ???? ??? ????? ??? ?????. Spring Boot? @Cacheable? ?? ??? ???? ??? ?????.
3.?? ??: ??? ? ??? ???? ?????. Hibernate? ???? ??? ???? ?? ?? ??? ?????.
- ??? ??: @Async? ???? ??? ?? ??? ??? ??????? ?????.
?? ?? ??? ?? ??? ????.
public interface UserRepository extends JpaRepository { Optional findByUsername(String username); Optional findByEmail(String email); }
? ?? ??? ???? ???? ?????? ??? ??? ?? ??? ??????.
????? ??? ??? ???? ??? ????? ???? ???? ???? ??? ???? ???? ?? ????? ?? ? ????.
?? ?? ??
Java Spring ?????? ??????
Java Spring Framework? Java ??? ?? ???? ????????. Java ?????? ??? ??????. ??? ??, ??? ??? ? ???? ??? ?? ??? ?????.
??? ??? ???? ???
Maven ?? Gradle ????? ???? Spring Boot? ?????. Spring ???? ???? ???? ??? ?????. ??? ??? ???? ????.
?? ????? Spring Boot? ???? ??? ??????
Spring Boot? ?? ??? ?? ???? ??? ??????. ??, ?????? ??? ? RESTful ???? ?? ?? ??? ?????. ?? ??? ?????.
Spring Boot? ?? ??? ??????
Spring Boot? ?? ???? ?? ??, ?? ??? ??????, ???? ?? ? ???? ?? ??? ?????. ??? ??? ?? ???? ?????? ??? ??????.
??
Spring Boot? ??? Java Spring Framework? ?? ???? ??? ??? ???. ???? ???????. ? ??????? ?? ???? ??? ? ????. Spring Boot? ????? ??????. ?? ??? ?? ????? ?????. ?????? ??? ??? ?????? ?????.
??? ??? ???? ? ??? ???. ??? ?? ????? ??? ?????. ??? ??? Spring ??? ?????. ??? ?????!
? ??? Java Spring Framework ???? Spring Boot? ?? ???? ???? ?? ?????. ??? ??? 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 ??? ?? ?? ??? ?????. ?? ??? ??? ?? ??? ?? ??, ?? ?? ?? ???? ?? ??? ?? ???? ?? ?????. ???? ? ??? ??? ????. ?? ??? ??? ??? ??? ??? ?? ??? ??? ? ??? ?? ???? ??? ??? ??? ??? ? ??? ?? ??? ?? ??? ?? ?? ? ? ????. ?? ?? ??? ?? ??? ??? ??? ??? ? ??????.
