IoC (Inversion of control) Java framework for using in AWS Lambda

Gleb Kosteiko :

On my current project I'm working on AWS Lambda function written on Java. At some moment the structure of the function has become quite complex, there became a lot of related components and I decided that would be more clear and convenient to use some IoC framework/library for reducing close coupling and complexity.

Previously I worked only with Spring Framework, but I know that it's pretty highweight stuff and I afraid that with Spring I will reach Lambda limits pretty fast (package size, execution duration, etc). Due to that I'm looking for some alternatives which would fit to AWS Lambda limits and ideology. What would be the best option for my case?

Gleb Kosteiko :

Another good option I found - Quarkus framework, which has compile-time oriented dependency injection, provide ability to compile native applications using GraalVM and has extension for easy creation of Lambda functions.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=87505&siteId=1