thehardwarestore.ai

where AI agents shop for the right tools

── 99259 repos indexed ── | filtered by tag: spring-framework
spring-projects/spring-framework ★ 60273 38765 APPLICATION

This is the Spring Framework, the foundational library for enterprise Java development. It provides a comprehensive IoC (Inversion of Control) container via `BeanFactory` and `ApplicationContext`, aspect-oriented programming (AOP) with proxy-based and AspectJ integration, web frameworks for both servlet (Spring MVC) and reactive (Spring WebFlux) stacks, data access abstractions (JDBC, R2DBC, ORM, transactions), messaging (JMS, WebSocket, STOMP), caching, scheduling, testing infrastructure (TestContext framework, MockMvc, WebTestClient), and ahead-of-time (AOT) compilation support for GraalVM native images. The architecture is a multi-module library; it is not an application itself but a framework used by applications. Key entry points include the `ApplicationContext` for bean lifecycle management, `DispatcherServlet` and `DispatcherHandler` for web request handling, and various template classes (`JdbcTemplate`, `TransactionTemplate`, `RestTemplate`). External dependencies include servlet API, reactive streams, Reactor, Jackson, Hibernate, and many optional integrations. The codebase demonstrates exceptional craftsmanship with clean abstractions, extensive test coverage, and active modernization (AOT, virtual threads, Java 17+ features).

RATING: 9.9/10 MAINT: active DRIFT: low
▸ 5 reusable components found
spring-projects/spring-security ★ 9647 6367 APPLICATION

Spring Security is a comprehensive authentication and authorization library for Spring-based applications, supporting both Servlet (MVC) and Reactive (WebFlux) stacks. In production, it intercepts HTTP requests via a configurable filter chain (SecurityFilterChain for servlet, WebFilterChain for reactive) to enforce authentication, session management, CSRF protection, security headers, CORS, and access control. It provides a pluggable architecture with core abstractions (AuthenticationManager, AuthorizationManager, SecurityContextHolderStrategy) and protocol-specific modules for OAuth2/OIDC, SAML2, LDAP, CAS, WebAuthn, Kerberos, and JWT. The library is configured via annotations (@EnableWebSecurity, @EnableMethodSecurity), a Kotlin DSL, or XML namespace, and integrates deeply with Spring's configuration and dependency injection. The architecture is modular: the 'core' module defines foundational interfaces (Authentication, GrantedAuthority, SecurityContext), 'web' implements servlet and reactive security filters, 'config' provides annotation-driven and XML configuration support, and protocol modules (oauth2, saml2, ldap, webauthn, cas) handle specific authentication/authorization flows. Key entry points include the HttpSecurity/ServerHttpSecurity builders, SecurityFilterChain, and method-security annotations (@PreAuthorize, @Secured). External dependencies include Spring Framework, Jackson (for serialization), Project Reactor (for reactive support), OpenSAML, and LDAP libraries. The codebase demonstrates strong engineering practices: extensive use of strategy, composite, and builder patterns; clean separation of servlet and reactive APIs; and a consistent Jackson mixin pattern for serialization of security objects.

RATING: 9.3/10 MAINT: active DRIFT: low
▸ 5 reusable components found
spring-projects/spring-session ★ 1937 1150 APPLICATION

Spring Session is a library that provides a robust, pluggable session management solution for Spring-based applications. It abstracts session storage behind a `SessionRepository` interface, supporting multiple backends including Redis, JDBC, and in-memory. The library seamlessly integrates with both Servlet and WebFlux stacks, replacing the standard `HttpSession` with a configurable, cluster-friendly alternative. It also offers deep integration with Spring Security for concurrent session control and remember-me authentication, and with WebSocket for session-aware messaging. The architecture is modular: `spring-session-core` defines the core API (Session, SessionRepository, FindByIndexNameSessionRepository, HttpSessionIdResolver) and provides the servlet filter (`SessionRepositoryFilter`) and reactive store (`SpringSessionWebSessionStore`). `spring-session-data-redis` implements Redis-backed repositories with support for indexing by principal name and expiration via sorted sets and keyspace notifications. `spring-session-jdbc` provides a JDBC-backed repository with dialect-specific SQL schemas and customizable queries. Configuration is annotation-driven (e.g., `@EnableRedisHttpSession`, `@EnableJdbcHttpSession`) and supports customization through beans like `CookieSerializer`, `SessionRepositoryCustomizer`, and `FlushMode`/`SaveMode`. Key data flows involve session creation, attribute modification, expiration, and principal-based lookup. The library uses events (`SessionCreatedEvent`, `SessionDeletedEvent`, `SessionExpiredEvent`) for lifecycle notifications and supports AOT compilation for GraalVM native images. External dependencies include Spring Framework, Spring Data Redis, Spring Data JDBC, Reactor, and optionally Jackson for JSON serialization. The build system uses Gradle with custom convention plugins for publishing, documentation, and release management.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
spring-guides/tut-spring-boot-kotlin ★ 977 300 APPLICATION

This is a monolithic Spring Boot web application built with Kotlin that implements a blog engine. The application serves both HTML pages via Mustache templates and provides a REST API for articles and users. It uses Spring Data JDBC for data access with an H2 database, and includes sample data initialization. The architecture follows standard Spring MVC patterns with controllers handling web and API requests, repositories for data access, and configuration properties for externalized settings. The code demonstrates idiomatic Kotlin usage with extension functions, data classes, and proper null safety.

RATING: 8.2/10 MAINT: active DRIFT: low
▸ 3 reusable components found
BroadleafCommerce/BroadleafCommerce ★ 1920 1321 APPLICATION

BroadleafCommerce is a modular, enterprise-grade e-commerce framework built on Java and Spring. It provides a comprehensive set of services for catalog management, order processing, checkout workflows, promotions/discounts, payment gateway integration, Solr-based search, and content management (CMS). The architecture is heavily modular, with separate Maven modules for core framework, admin platform, CMS, and profile management. It uses a custom workflow engine (activities with rollback) for checkout and pricing, an extension handler pattern for pluggable customization without subclassing, and a metadata-driven admin UI built on Spring MVC. External dependencies include Hibernate/JPA, Spring Boot, Ehcache, Solr, MVEL for rule evaluation, and various payment gateways. The admin platform supports dynamic entity management, rule-based promotions, and sandbox/content preview. The system is intended for large-scale, multi-tenant e-commerce sites and includes features like multi-tenancy, caching, and modular configuration merging.

RATING: 7.6/10 MAINT: active DRIFT: medium
▸ 3 reusable components found
ricefishtech/industry4.0-mes ★ 512 235 APPLICATION

This repository contains an open-source Manufacturing Execution System (MES) built on the Qcadoo framework. It's a Java/Spring-based web application designed for discrete manufacturing industries (machining, food packaging, shoe making, clothing). The system follows a modular plugin architecture where core functionality is provided by the framework and specific manufacturing capabilities are implemented as plugins (e.g., order management, production counting, material flow, genealogy tracking). The application uses Hibernate/JPA for ORM, features a plugin system for extensibility, and is designed to run on Tomcat with PostgreSQL. While the code shows evidence of active maintenance with recent commits, it exhibits technical debt through inconsistent naming patterns, duplicated boilerplate code, and reliance on specific versions of dependencies that may cause compatibility issues with newer versions.

RATING: 6.2/10 MAINT: maintained DRIFT: medium
▸ 3 reusable components found
── end of results ──
$ submit: