Java spring framework doc

Spring Framework 6.0.11 API

Spring’s variant of the Commons Logging API: with special support for Log4J 2, SLF4J and java.util.logging .

Spring’s variant of the Commons Logging API: with special support for Log4J 2, SLF4J and java.util.logging .

Support package for declarative AOP configuration, with XML schema being the primary configuration format.

Bean post-processors for use in ApplicationContexts to simplify AOP usage by automatically creating AOP proxies without the need to use a ProxyFactoryBean.

Support for registering the need for reflection, resources, java serialization and proxies at runtime.

Classes supporting the org.springframework.beans package, such as utility classes for sorting and holding lists of beans.

Support classes for the open source cache in Caffeine library, allowing to set up Caffeine caches within Spring’s cache abstraction.

Support package for declarative caching configuration, with XML schema being the primary configuration format.

This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.

Annotation support for the Application Context, including JSR-250 «common» annotations, component-scanning, and Java-based metadata for creating Spring-managed objects.

Support package for advanced application context configuration, with XML schema being the primary configuration format.

Abstraction for determining the current Locale, plus global holder that exposes a thread-bound Locale.

Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation.

Load-time weaving support for a Spring application context, building on Spring’s LoadTimeWeaver abstraction.

Provides basic classes for exception handling and version detection, and other core helpers that are not specific to any part of the framework.

Core support package for annotations, meta-annotations, and merged annotations with attribute overrides.

Spring’s environment abstraction consisting of bean definition profile and hierarchical property source support.

This package defines Spring’s core TaskExecutor abstraction, and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.

Exception hierarchy enabling sophisticated error handling independent of the data access approach in use.

Support package for EJB/Jakarta EE-related configuration, with XML schema being the primary configuration format.

Abstractions for reactive HTTP client support including ClientHttpRequest and ClientHttpResponse as well as a ClientHttpConnector .

This package provides generic HTTP support classes, to be used by higher-level classes like RestTemplate.

Provides implementations of ClientCodecConfigurer and ServerCodecConfigurer based on the converter implementations from org.springframework.http.codec.json and co.

Provides an HttpMessageConverter abstraction to convert between Java objects and HTTP input/output messages.

Abstractions for reactive HTTP server support including a ServerHttpRequest and ServerHttpResponse along with an HttpHandler for processing.

Support package for load time weaving based on class loaders, as required by JPA providers (but not JPA-specific).

Provides generic support classes for JCA usage within Spring, mainly for local setup of a JCA ResourceAdapter and/or ConnectionFactory.

Provides the core JDBC framework, based on JdbcTemplate and its associated callback interfaces and helper objects.

Context metadata abstraction for the configuration and execution of table inserts and stored procedure calls.

Provides a utility class for easy DataSource access, a PlatformTransactionManager for a single DataSource, and various simple DataSource implementations.

The classes in this package represent RDBMS queries, updates, and stored procedures as threadsafe, reusable objects.

Support classes for the JDBC framework, used by the classes in the jdbc.core and jdbc.object packages.

Provides a support framework for incrementing database table values via sequences, with implementations for various databases.

Provides a strategy interface for Large OBject handling, as well as a customizable default implementation.

Support package for declarative messaging configuration, with Java configuration and XML schema support.

Provides a PlatformTransactionManager implementation for a single JMS ConnectionFactory, and a SingleConnectionFactory adapter.

Message listener adapter mechanism that delegates to target listener methods, converting messages to appropriate message content types (such as String or byte array) that get passed into listener methods.

This package provides generic JMS support classes, to be used by higher-level classes like JmsTemplate.

This package contains Spring’s JMX support, which includes registration of Spring-managed beans as JMX MBeans as well as access to remote JMX MBeans.

Provides generic JMX metadata classes and basic support for reading JMX metadata in a provider-agnostic manner.

Contains support classes for connecting to local and remote MBeanServer s and for exposing an MBeanServer to remote clients.

The classes in this package make JNDI easier to use, facilitating the accessing of configuration stored in JNDI, and provide useful superclasses for JNDI access classes.

Support classes for working with annotated message-handling methods with non-blocking, reactive contracts.

Common infrastructure for invoking message handler methods with non-blocking, and reactive contracts.

Annotations to declare an RSocket service contract with request methods along with a proxy factory backed by an RSocketRequester .

Provides a «simple» message broker implementation along with an abstract base class and other supporting types such as a registry for subscriptions.

Provides implementations of Message along with a MessageBuilder and MessageHeaderAccessor for building and working with messages and message headers, as well as various MessageChannel implementations and channel interceptor support.

Contains abstractions and implementation classes for establishing TCP connections via TcpOperations , handling messages via TcpConnectionHandler , as well as sending messages via TcpConnection .

Источник

Spring Framework Documentation

History, Design Philosophy, Feedback, Getting Started.

IoC Container, Events, Resources, i18n, Validation, Data Binding, Type Conversion, SpEL, AOP, AOT.

Mock Objects, TestContext Framework, Spring MVC Test, WebTestClient.

Transactions, DAO Support, JDBC, R2DBC, O/R Mapping, XML Marshalling.

Spring MVC, WebSocket, SockJS, STOMP Messaging.

Spring WebFlux, WebClient, WebSocket, RSocket.

REST Clients, JMS, JCA, JMX, Email, Tasks, Scheduling, Caching, Observability.

Kotlin, Groovy, Dynamic Languages.

What’s New, Upgrade Notes, Supported Versions, additional cross-version information.

Rod Johnson, Juergen Hoeller, Keith Donald, Colin Sampaleanu, Rob Harrop, Thomas Risberg, Alef Arendsen, Darren Davison, Dmitriy Kopylenko, Mark Pollack, Thierry Templier, Erwin Vervaet, Portia Tung, Ben Hale, Adrian Colyer, John Lewis, Costin Leau, Mark Fisher, Sam Brannen, Ramnivas Laddad, Arjen Poutsma, Chris Beams, Tareq Abedrabbo, Andy Clement, Dave Syer, Oliver Gierke, Rossen Stoyanchev, Phillip Webb, Rob Winch, Brian Clozel, Stephane Nicoll, Sebastien Deleuze, Jay Bryant, Mark Paluch

Copyright © 2002 — 2023 VMware, Inc. All Rights Reserved.

Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.

Apache®, Apache Tomcat®, Apache Kafka®, Apache Cassandra™, and Apache Geode™ are trademarks or registered trademarks of the Apache Software Foundation in the United States and/or other countries. Java™, Java™ SE, Java™ EE, and OpenJDK™ are trademarks of Oracle and/or its affiliates. Kubernetes® is a registered trademark of the Linux Foundation in the United States and other countries. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Windows® and Microsoft® Azure are registered trademarks of Microsoft Corporation. “AWS” and “Amazon Web Services” are trademarks or registered trademarks of Amazon.com Inc. or its affiliates. All other trademarks and copyrights are property of their respective owners and are only mentioned for informative purposes. Other names may be trademarks of their respective owners.

Источник

Core Technologies

This part of the reference documentation covers all the technologies that are absolutely integral to the Spring Framework.

Foremost amongst these is the Spring Framework’s Inversion of Control (IoC) container. A thorough treatment of the Spring Framework’s IoC container is closely followed by comprehensive coverage of Spring’s Aspect-Oriented Programming (AOP) technologies. The Spring Framework has its own AOP framework, which is conceptually easy to understand and which successfully addresses the 80% sweet spot of AOP requirements in Java enterprise programming.

Coverage of Spring’s integration with AspectJ (currently the richest — in terms of features — and certainly most mature AOP implementation in the Java enterprise space) is also provided.

AOT processing can be used to optimize your application ahead-of-time. It is typically used for native image deployment using GraalVM.

Apache®, Apache Tomcat®, Apache Kafka®, Apache Cassandra™, and Apache Geode™ are trademarks or registered trademarks of the Apache Software Foundation in the United States and/or other countries. Java™, Java™ SE, Java™ EE, and OpenJDK™ are trademarks of Oracle and/or its affiliates. Kubernetes® is a registered trademark of the Linux Foundation in the United States and other countries. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Windows® and Microsoft® Azure are registered trademarks of Microsoft Corporation. “AWS” and “Amazon Web Services” are trademarks or registered trademarks of Amazon.com Inc. or its affiliates. All other trademarks and copyrights are property of their respective owners and are only mentioned for informative purposes. Other names may be trademarks of their respective owners.

Источник

What Spring can do

Quickly deliver production‑grade features with independently evolvable microservices.

Reactive

Spring’s asynchronous, nonblocking architecture means you can get more from your computing resources.

Cloud

Your code, any cloud—we’ve got you covered. Connect and scale your services, whatever your platform.

Web apps

Frameworks for fast, secure, and responsive web applications connected to any data store.

Serverless

The ultimate flexibility. Scale up on demand and scale to zero when there’s no demand.

Event Driven

Integrate with your enterprise. React to business events. Act on your streaming data in realtime.

Batch

Automated tasks. Offline processing of data at a time to suit you.

@SpringBootApplication
@RestController
public class DemoApplication

@GetMapping("/helloworld")
public String hello()
return"Hello World!";
>
>

Level up your Java™ code

With Spring Boot in your app, just a few lines of code is all you need to start building services like a boss.

New to Spring? Try our simple quickstart guide.

Most [of our] services today are all based on Spring Boot. I think the most important thing is that [Spring] has just been very well maintained over the years. that is important for us for the long term because we don’t want to be switching to a new framework every two years.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Get support

Spring Runtime offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Upcoming events

Check out all the upcoming events in the Spring community.

Get the Spring newsletter

Thank you for your interest. Someone will get back to you shortly.

Apache®, Apache Tomcat®, Apache Kafka®, Apache Cassandra™, and Apache Geode™ are trademarks or registered trademarks of the Apache Software Foundation in the United States and/or other countries. Java™, Java™ SE, Java™ EE, and OpenJDK™ are trademarks of Oracle and/or its affiliates. Kubernetes® is a registered trademark of the Linux Foundation in the United States and other countries. Linux® is the registered trademark of Linus Torvalds in the United States and other countries. Windows® and Microsoft® Azure are registered trademarks of Microsoft Corporation. “AWS” and “Amazon Web Services” are trademarks or registered trademarks of Amazon.com Inc. or its affiliates. All other trademarks and copyrights are property of their respective owners and are only mentioned for informative purposes. Other names may be trademarks of their respective owners.

Источник

Читайте также:  overflow
Оцените статью