
上QQ阅读APP看书,第一时间看更新
JVM execution environment
Now, let's explore how the preceding concepts apply to a Lambda executing in a JVM runtime environment, as we will be using one in later chapters of this book. The details of the other environments are included in the official documentation.
AWS has created SDKs for simplifying the development of Lambda functions using Java. The library is as follows:
- aws-lambda-java-events: This package abstracts away the integration of various AWS services which can be supplied input to trigger Lambda
- aws-lambda-java-core: This library provides the basic interfaces and other framework components to aws-lambda-java-events
The link redirects to Maven Central, which hosts these libraries, and can be included in the deployment package with a build tool like Gradle or Maven, or just by adding them to the classpath by placing them in the /lib directory. This is standard Java packaging.