Java ????? ?? ???: ??? ??? ?? ??
Jun 05, 2024 pm 08:53 PM??? ??? ?? Java ????? ?? ???: ? ??: Spring Boot ? Play Framework. ??? ??: Hibernate ? JPA. ?? ? ??? ?????: Reactor Core ? Spring WebFlux. ??? ???: Apache Storm ? Apache Spark. ???? ???: Java? AWS SDK ? Google Cloud Java.
Java ????? ?? ???: ??? ??? ?? ??
Java? ?????? ?????? ??? ?? ???? ???? ??? ????? ???? ??? ????. ????? ????? ????? ??? ?????? ???? ?? ?????. ? ????? ??? ???? ??? Java ?????? ????? ???? ??? ?? ???? ?????.
? ??
- Spring Boot: ??? ?? ??? ??????? ????????. ??, ??? ?? ? ???? ??????.
- Play Framework: ??? ? ??????? ??? ??? ???? ? ?? ????????.
?? ??: Spring Boot ?? RESTful API ??
@RestController @RequestMapping("/api/users") public class UserController { @GetMapping public ResponseEntity<List<User>> getAllUsers() { // 獲取所有用戶 List<User> users = userRepository.findAll(); return ResponseEntity.ok(users); } @PostMapping public ResponseEntity<User> createUser(@RequestBody User user) { // 創(chuàng)建新用戶 User newUser = userRepository.save(user); return ResponseEntity.ok(newUser); } }
??? ???
- Hibernate: ???????? ?? ??? ????? ORM(?? ??? ??) ?????.
- JPA(Java Persistence API): ??? ORM ??????? ??? ??? ?? ???? ???? ?? ????????.
?? ??: JPA? ???? ?????? ??
TypedQuery<User> query = entityManager.createQuery( "SELECT u FROM User u WHERE u.name = :name", User.class); query.setParameter("name", "John Doe"); List<User> users = query.getResultList();
??? ??? ?????
- Reactor Core: ???, ??? ? ???? ?? ??? ???? ??? ????? ????????.
- Spring WebFlux: ??? ? ?????? ??? ?? Reactor Core? ??? Spring ????? ?????.
??? ???
- Apache Storm: ? ??? ??? ??? ?? ?? ??? ??? ????????.
- Apache Spark: ?? ?? ? ??? ??? ???? ?? ?? ?????.
???? ???
- Java? AWS SDK: Amazon Web Services(AWS) ???? ?? ???? ?? ?? SDK???.
- Google Cloud Java: Google Cloud Platform(GCP) ???? ?????? ?? ?? SDK???.
? ??? Java ????? ?? ???: ??? ??? ?? ??? ?? ?????. ??? ??? 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)

settings.json ??? ??? ?? ?? ?? ?? ?? ??? ??? VSCODE ??? ??? ???? ? ?????. 1. ??? ?? ?? : Windows? C : \ Users \\ AppData \ Roaming \ Code \ User \ Settings.json, MacOS IS /users//library/applicationsupport/code/user/settings.json, linux? /home//.config/code/user/settings.json; 2. Workspace ?? ?? : .vscode/settings project root ????

?, ?? CSS ?? ?? ??? JavaScript??? ??? HTML ? CSS? ?? ??? ? ????. 1. ?? UL? Li? ???? ?? ??? ??????. 2. ?? ?? ???? ???? ?????? ???? ??? ???? ???; 3. ?? ?? : ?? Li? ???, ?? ??? ??? ???? ?????. ??; 4. ?? ??? ???? ??? : ??, ????????? : ???? ??; 5. ?? ?? ???? ??? ?? ????, ??? ????, ??? ? ?????? ???? ??? ????? ??? ???? ??? ? ????. ?? ???? ???? JavaScript ??? ???? ???? ??? ?????.

JDBC ????? ???? ????? ?? ?? ?? ??? ?? ?? ??? ?? ? ?? ??? ?? ?? ?? ??? ???????. 1. ????? ????? Conn.SetAutoCommit (False)?? ??????. 2. ??? ? ????? ?? ?? SQL ??? ?????. 3. ?? ??? ??? ?? Conn.commit ()?? ???? ??? ???? ???? ?? ??? ???? Conn.Rollback ()?? ??????. ???, ? ??? ???? ????, ??? ???? ????, ?? ??? ??? ?? ??? ??? ???? ? ???????. ?? ?? ?? ???? ????? ??? ???? ?? ?? ???? ???? ??? ????? ?? ??? ??? ? ?? ???? ?? ????.

Flexbox ?? ???? ???? ?? ?? ????? ?? ? ? ????. ??? ???? ?? ??? ??? ?? (Min-Height : 100VH)? ??? ????. 2. Flex : 1 ?? ??? ?? ???? ? : Auto1frauto? ???? ??? ??? ??? ??? ???????. 3. ?? ?? ?? : ??? ????? ???? ??? ??? ??; 4. ?? ??? ??? ??? ??? ??????. ? ???? ??? ??? ???? ??? ???, ?? ?? ? ?? ????? ???? ?? ??? ? ?? ?????? ?? ?? ??? ????? ?????.

Java Springboot React Technology ?? ??? ???? ?? ??? ?? ?????? ?? ???? ??? ????? ???? ? ?? ? ?? ????? ?? ? ? ????. 2. ???? SpringBoot? ???? RESTFULAPI? ???? ?????. ?? ?? ???? Springweb, SpringDatajpa, Springsecurity, Lombok ? Swagger? ?????. ??? ?? ??? @RestController? ?? JSON ???? ???? ?????. 3. ??? ??? ?? (vite ?? createeactapp? ??)? ???? ?? ? ?????? ???? Axios? ???? ??? API? ???? ReactRouter? ?????.

?? ?? ??? ???? ?? ??? ?? ?? ? ??? ???? VisualVM ?? JProfiler? ???? ?? ???? Async-Profiler? ?? ??? ?????. 2. ?? ??? ???, ??? ?????, StringBuilder? ???? ??? ? ??? ?? ????, ??? GC ??? ??????. 3. ??? ?? ?? ??? ????? ?? ??? ???? ?? ?????. 4. ??? ???, ?? ???? ????, ?? ???? ???, ??? ?? ????? ??????. 5. JVM ?? ?? ??, ???? ? ?? ? ?? ??? ???? ???? GC ??? ??????. 6. ?? ???? ??? ???, ?? ???? ?? ???? ???, ???? ?????, ?? ? ??? ??????. 7. JMH? ?? ? ???? ?? ??? ? ????

???? ?? ?? ?? ?? ???? ?? ???? ???? ? ???? ?????. 1. @pytest.fixture ?????? ???? ???? ??????. 2. ??? ???? ???? ??? ???? ??; 3. ?? ?? ??? ?? ? ?? ??; 4. ??, ?? ?? ?? ?? ?? ??? ?? ?? ??; 5. ?? ???? Conftest.py? ???? ??? ?? ??? ???? ???? ?? ?? ? ??? ?? ??????.

itertools.combinations? ?? ??? ???? ??? ?? ??? ???? ?? ? ?? ?? (?? ???)? ???? ? ?????. ???? ??? ????. 1. ?? ??? ??? ?? ( 'a', 'b'), ( 'a', 'c') ? ???? 2 ?? ?? ??? ?????. 2. ?? ??? ??? "ABC"? "ABD"? ?? ???? 3 ? ??? ???; 3. ? ??? ?? 1 5 = 6? ?? ?? ?? ??? ??? ?????. ?? ?? ??? ???????. ??? ??? ??? ??? ???? ??????, ??? AB? BA? ???? ???? ??, ??? ?? ??? ????.
