Проект

Общее

Профиль

JWW-SpringFramework » История » Версия 22

Александр Александров, 10.05.2021 00:00

1 17 Александр Александров
h1. Spring Framework/Spring Boot, Java EE, OSGi
2 1 Александр Александров
3
h2. Описание
4
5
*Spring Framework*<notextile></notextile> (или коротко <notextile></notextile>*Spring*<notextile></notextile>) — универсальный <notextile></notextile>"фреймворк (Фреймворк)":https://ru.wikipedia.org/wiki/%D0%A4%D1%80%D0%B5%D0%B9%D0%BC%D0%B2%D0%BE%D1%80%D0%BA<notextile></notextile> <notextile></notextile>"с открытым исходным кодом (Открытое программное обеспечение)":https://ru.wikipedia.org/wiki/%D0%9E%D1%82%D0%BA%D1%80%D1%8B%D1%82%D0%BE%D0%B5_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%BD%D0%BE%D0%B5_%D0%BE%D0%B1%D0%B5%D1%81%D0%BF%D0%B5%D1%87%D0%B5%D0%BD%D0%B8%D0%B5<notextile></notextile> для <notextile></notextile>"Java (Java)":https://ru.wikipedia.org/wiki/Java<notextile></notextile>-платформы. Также существует <notextile></notextile>"форк (Форк)":https://ru.wikipedia.org/wiki/%D0%A4%D0%BE%D1%80%D0%BA<notextile></notextile> для платформы <notextile></notextile>".NET Framework (.NET Framework)":https://ru.wikipedia.org/wiki/.NET_Framework<notextile></notextile>, названный Spring.NET
6
7
Первая версия была написана <notextile></notextile>"Родом Джонсоном (Джонсон, Род (страница отсутствует))":https://ru.wikipedia.org/w/index.php?title=%D0%94%D0%B6%D0%BE%D0%BD%D1%81%D0%BE%D0%BD,_%D0%A0%D0%BE%D0%B4&action=edit&redlink=1<notextile></notextile>, который впервые опубликовал её вместе с изданием своей книги «Expert One-on-One Java EE Design and Development»
8
9
Фреймворк был впервые выпущен под лицензией <notextile></notextile>"Apache 2.0 license (Apache License)":https://ru.wikipedia.org/wiki/Apache_License<notextile></notextile> в июне 2003 года. Первая стабильная версия 1.0 была выпущена в марте <notextile></notextile>"2004 (2004)":https://ru.wikipedia.org/wiki/2004<notextile></notextile>. Spring 2.0 был выпущен в октябре 2006, Spring 2.5 — в ноябре 2007, Spring 3.0 в декабре 2009, и Spring 3.1 в декабре 2011. Текущая версия — 5.2.4.
10
11
Несмотря на то, что Spring не обеспечивал какую-либо конкретную модель программирования, он стал широко распространённым в Java-сообществе главным образом как альтернатива и замена модели <notextile></notextile>"Enterprise JavaBeans (EJB)":https://ru.wikipedia.org/wiki/EJB<notextile></notextile>. Spring предоставляет бо́льшую свободу Java-разработчикам в проектировании; кроме того, он предоставляет хорошо документированные и лёгкие в использовании средства решения проблем, возникающих при создании приложений корпоративного масштаба.
12
13
*Spring Boot*<notextile></notextile> - это проект, построенный по принципу convention-over-configuration (соглашения по конфигурации), призванный упросить создание приложений на базе <notextile></notextile>"Spring Framework (Spring Framework)":https://ru.bmstu.wiki/Spring_Framework<notextile></notextile>. Решение предварительно настроено командой разработчиков с учётом использования платформы Spring и сторонних библиотек.
14
15
h2. SpringBoot Actuator
16
17
h3. Описание
18
19
*Spring Actuator*<notextile></notextile>, а если быть точным то *Spring Boot Actuator* — это подпроект Spring Boot. Он позволяет разработчику следить за состоянием своего приложение с минимальным вложением со стороны разработчика. В спринг актуатор входит множество ендпоинтов, которые Вы как разработчик можете вызвать и посмотреть различную статистику по своему веб приложению в реальном времени. От Вас ничего, кроме как подключить библиотеку не требуется.
20
21
h3. Общая информация
22
23
# "Spring Boot Actuator":https://www.baeldung.com/spring-boot-actuators
24
# "Введение в Spring Boot Actuator":https://habr.com/ru/company/otus/blog/452624/
25
# "Spring Actuator — для чего и как пользоваться":https://java-master.com/spring-actuator-%D0%B4%D0%BB%D1%8F-%D1%87%D0%B5%D0%B3%D0%BE-%D0%B8-%D0%BA%D0%B0%D0%BA-%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D1%8C%D1%81%D1%8F/
26
# "Building a RESTful Web Service with Spring Boot Actuator":https://spring.io/guides/gs/actuator-service/
27
28
h3. Spring Security и OAuth v2.0
29
30
h4. Описание
31
32
*Spring Security* - это Java/JavaEE framework, предоставляющий механизмы построения систем аутентификации и авторизации, а также другие возможности обеспечения безопасности для корпоративных приложений, созданных с помощью Spring Framework.
33
34
*OAuth*<notextile></notextile> — открытый протокол (схема) <notextile></notextile>"авторизации (Авторизация)":https://ru.wikipedia.org/wiki/%D0%90%D0%B2%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F<notextile></notextile>, который позволяет предоставить третьей стороне ограниченный доступ к защищённым ресурсам пользователя без необходимости передавать ей (третьей стороне) логин и пароль.
35
36
h4. Общая информация
37
38
# "OAuth 2.0 простым и понятным языком":https://habr.com/ru/company/mailru/blog/115163/
39
# "Spring Boot 2 – OAuth2 Auth and Resource Server":https://howtodoinjava.com/spring-boot2/oauth2-auth-server/
40
# "Spring Boot Security Oauth2 Jwt Auth Example":https://www.devglan.com/spring-security/spring-boot-oauth2-jwt-example
41
# "Spring Boot Security OAuth2 Example (Bcrypt Encoder)":https://www.devglan.com/spring-security/spring-boot-security-oauth2-example
42
# "How to use OAuth2RestTemplate?":https://stackoverflow.com/questions/27864295/how-to-use-oauth2resttemplate
43 10 Александр Александров
# "[SOF] Spring security CORS Filter":https://stackoverflow.com/questions/40418441/spring-security-cors-filter
44
# "[SOF] Can you completely disable CORS support in Spring?":https://stackoverflow.com/questions/44697883/can-you-completely-disable-cors-support-in-spring
45
# "Spring Config To Disable CORS Issue In Spring Boot":https://blogs.ashrithgn.com/disable-cors-in-spring-boot/
46
# "How to disable CORS restrictions in Spring Boot App":https://medium.com/@valeryyakovlev/how-to-disable-cors-restrictions-in-spring-boot-app-819158aa3919
47
# "Enabling Cross Origin Requests for a RESTful Web Service":https://spring.io/guides/gs/rest-service-cors/#global-cors-configuration
48 20 Александр Александров
# "Валидация XML с помощью XSD, JAXB и Spring Framework":https://habr.com/ru/post/495282/
49
# "[SOF] How to use spring to marshal and unmarshal xml?":https://stackoverflow.com/questions/44676532/how-to-use-spring-to-marshal-and-unmarshal-xml
50 1 Александр Александров
51
h3. Spring Boot
52
53
# "Как работает Spring Boot Auto-Configuration":https://habr.com/ru/post/487980/
54
# "Spring Boot Profiles Example":https://www.concretepage.com/spring-boot/spring-boot-profiles-example
55
# "Externalized Configuration":https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-external-config
56 2 Александр Александров
# "Externalized Configuration another":https://docs.spring.io/spring-boot/docs/1.4.x/reference/html/boot-features-external-config.html
57 1 Александр Александров
# "Using YAML Instead of Properties":https://docs.spring.io/spring-boot/docs/current/reference/html/spring-boot-features.html#boot-features-external-config-yaml
58
# "Spring Boot @ConfigurationProperties Example":https://www.concretepage.com/spring-boot/spring-boot-configurationproperties
59
# "Guide to @ConfigurationProperties in Spring Boot":https://www.baeldung.com/configuration-properties-in-spring-boot
60
# "Common Application properties":https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-application-properties.html#data-properties
61
# "Resources":https://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/resources.html
62
# "Load a Resource as a String in Spring":https://www.baeldung.com/spring-load-resource-as-string
63
# "[SOF] Spring Boot - Reading Text File using ResourceLoader":https://stackoverflow.com/questions/41754712/spring-boot-reading-text-file-using-resourceloader
64
# "Load file from classpath in Spring Boot":https://smarterco.de/java-load-file-from-classpath-in-spring-boot/
65
# "Loading resources in Spring Boot":http://zetcode.com/springboot/loadresource/
66 2 Александр Александров
# "Getting Started With Spring Boot":https://www.dariawan.com/series/getting-started-spring-boot/
67 11 Александр Александров
# "Тонкости использования аннотации @Value в Spring Boot":https://dddpaul.github.io/blog/2015/07/12/spring-boot-value/
68
# "Spring Boot @ConfigurationProperties example":https://mkyong.com/spring-boot/spring-boot-configurationproperties-example/
69
# "Настройка приложения — Spring Configuration Metadata":https://habr.com/ru/post/430256/
70 13 Александр Александров
# "[SOF] Call paginated REST request in spring boot":https://stackoverflow.com/questions/59892564/call-paginated-rest-request-in-spring-boot
71
# "REST Pagination in Spring":https://www.baeldung.com/rest-api-pagination-in-spring
72 15 Александр Александров
# "[SOF] How to use LocalDateTime RequestParam in Spring? I get “Failed to convert String to LocalDateTime”":https://stackoverflow.com/questions/40274353/how-to-use-localdatetime-requestparam-in-spring-i-get-failed-to-convert-string
73 16 Александр Александров
# "How to Define a Spring Boot Filter?":https://www.baeldung.com/spring-boot-add-filter
74 21 Александр Александров
# "Руководство Spring Boot и FreeMarker":https://betacode.net/11547/spring-boot-and-freemarker
75
# "Spring Boot Freemarker Email Template, easy in 5 minutes":https://javabycode.com/sf/spring-boot-tutorial/spring-boot-freemarker-email-template.html
76 1 Александр Александров
77
h3. Spring RestTemplate
78
79
# "Download file with RestTemplate":https://www.leveluplunch.com/java/tutorials/038-retrieve-file-spring-resttemplate/
80
# "Spring RestTemplate GET with parameters":https://stackoverflow.com/questions/8297215/spring-resttemplate-get-with-parameters
81
# "Spring RestTemplate Error Handling":https://www.baeldung.com/spring-rest-template-error-handling
82
# "Uploading a file with a filename with Spring RestTemplate":https://medium.com/red6-es/uploading-a-file-with-a-filename-with-spring-resttemplate-8ec5e7dc52ca
83
# "Uploading MultipartFile with Spring RestTemplate":https://www.baeldung.com/spring-rest-template-multipart-upload
84
# "Using the Spring RestTemplate Interceptor":https://www.baeldung.com/spring-rest-template-interceptor
85
# "Spring ClientHttpRequestInterceptor with RestTemplate":https://howtodoinjava.com/spring-boot2/resttemplate/clienthttprequestinterceptor/
86 3 Александр Александров
# "Тестирование REST API с помощью TestRestTemplate":https://sysout.ru/testirovanie-spring-boot-prilozheniya-s-testresttemplate/
87
# "Get and Post Lists of Objects with RestTemplate":https://www.baeldung.com/spring-rest-template-list
88
# "RESTFUL WEB SERVICES INTEGRATION TESTING WITH SPRING BOOT":https://www.bytestree.com/spring/restful-web-services-integration-testing-spring-boot/
89 22 Александр Александров
# "How to Read HTTP Headers in Spring REST Controllers":https://www.baeldung.com/spring-rest-http-headers
90 1 Александр Александров
91
h3. Spring (Boot) Data
92
93
# "Introduction to Spring Data Redis":https://www.baeldung.com/spring-data-redis-tutorial
94
# "Spring Data Redis":https://docs.spring.io/spring-data/data-redis/docs/current/reference/html/#reference
95
# "Введение в Redis с использованием Spring Boot":https://habr.com/ru/company/otus/blog/463365/
96 6 Александр Александров
# "Spring Data Case Insensitive Search Example":https://www.netsurfingzone.com/jpa/spring-data-case-insensitive-search-example/
97 12 Александр Александров
# "Spring Boot Pagination & Filter example | Spring JPA, Pageable":https://bezkoder.com/spring-boot-pagination-filter-jpa-pageable/
98
# "Paging with Spring Boot":https://reflectoring.io/spring-boot-paging/
99 14 Александр Александров
# "Introduction to Spring Data REST":https://www.baeldung.com/spring-data-rest-intro
100 5 Александр Александров
101
h2. Java EE
102
103
# "[SOF] javax.validation.ConstraintViolationException":https://stackoverflow.com/questions/22946549/javax-validation-constraintviolationexception
104 7 Александр Александров
# "Проверка данных — Java & Spring Validation":https://habr.com/ru/post/424819/
105
# "Валидация данных при помощи Bean Validation API":https://alexkosarev.name/2018/07/30/bean-validation-api/
106 1 Александр Александров
# "Проверка данных формы с помощью аннотаций (@Size, @Email и др) в Spring MVC":http://www.seostella.com/ru/article/2012/06/21/proverka-dannyh-formy-s-pomoschyu-annotaciy-size-email-i-dr-v-spring-mvc.html
107 17 Александр Александров
108 18 Александр Александров
h2. OSGi, Karaf, Blueprint and etc.
109 1 Александр Александров
110 18 Александр Александров
# "OSGI":https://www.osgi.org/
111 1 Александр Александров
# "Внедряем OSGI на платформе Karaf":https://habr.com/ru/post/435444/
112 18 Александр Александров
# "Обзор ESB-систем ServiceMix и Fuse":https://habr.com/ru/post/311540/
113
# "Использование Spring в OSGi-контейнере":https://habr.com/ru/post/128653/
114 19 Александр Александров
# "OSGi описание, пример":http://java-online.ru/osgi.xhtml
Go to top