Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
ActiveJ Alternatives
Similar projects and alternatives to ActiveJ
-
Firefly
Firefly is an asynchronous web framework for rapid development of high-performance web application. (by hypercube1024)
-
-
Sonar
Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
Seata
:fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution.
-
-
rsp
A server-state reactive Java web framework for building real-time user interfaces and UI components. (by vadimv)
-
opentest
Open source test automation tool for web applications, mobile apps and APIs
-
Sentinel
A powerful flow control component enabling reliability, resilience and monitoring for microservices. (面向云原生微服务的高可用流控防护组件)
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
-
-
ActiveJ reviews and mentions
-
ActiveInject. Fast and Lightweight Dependency Injection Library
At the same time it’s thoroughly optimized with all the dependencies graph preprocessing performed at startup time. According to the benchmarks, in some scenarios ActiveInject is 5.5 times faster than Guice and hundreds of times faster than Spring DI. You can check the benchmark sources here.
Here we’ve created an AbstractModule named cookbook that contains all the required bindings, or “recipes”, for the ingredients. Call Injector.getInstance method to get an instance of the Cookie.
How does it work from the inside? Injector provides all the required dependencies for the component recursively traversing the dependencies graph in a postorder way. So it first created Sugar, Butter and Flour, the next was Pastry, and finally a Cookie.
Scope creates “local singletons” which live as long as the scope itself. ActiveInject scopes are a bit different from other DI libraries. The internal structure of the Injector is a prefix tree and the prefix is a scope. If you create an Injector that is set to a particular scope, it means that Injector enters this scope. This can be done several times, so that there are multiple injectors in a single scope.
-
A note from our sponsor - Sonar
www.sonarsource.com | 26 Mar 2023
Stats
activej/activej is an open source project licensed under Apache License 2.0 which is an OSI approved license.