giuseppe-trisciuoglio avatar

Aws Lambda Java Integration

Solid foundation for getting Java running on Lambda without the usual multi-second cold start pain. Covers both Micronaut (sub-1s with DI) and raw Java (sub-500ms minimal) approaches with actual handler examples and deployment configs for Serverless Framework and SAM. The connection management patterns are the real value here, showing you how to initialize AWS clients once as static fields instead of recreating them per invocation. Includes the deployment YAMLs you actually need and warns you about the Java-specific gotchas like classpath scanning and oversized JARs. If you're stuck choosing between framework convenience and cold start performance for a serverless Java project, this gives you both paths with realistic numbers.

skills.sh installs
3.7K
GitHub stars
369
last updated
Aug 21, 2026

Install

$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill aws-lambda-java-integration --agent claude-code

Installs into .claude/skills of the current project.

Files

AWS Lambda Java Integration

Patterns for creating high-performance AWS Lambda functions in Java with optimized cold starts.

Overview

This skill provides complete patterns for AWS Lambda Java development, covering two main approaches:

  1. Micronaut Framework - Full-featured framework with AOT compilation, dependency injection, and cold start < 1s
  2. Raw Java - Minimal overhead approach with cold start < 500ms

Both approaches support API Gateway and ALB integration with production-ready configurations.

When to Use

  • Deploying Java functions to AWS Lambda
  • Optimizing cold starts below 1 second
  • Choosing between Micronaut and Raw Java approaches
  • Configuring API Gateway or ALB integration
  • Setting up CI/CD pipelines for Java Lambda

Instructions

1. Choose Your Approach

ApproachCold StartBest ForComplexity
Micronaut< 1sComplex apps, DI needed, enterpriseMedium
Raw Java< 500msSimple handlers, minimal overheadLow

Validate: Confirm the approach fits your use case before proceeding.

2. Project Structure

Sponsors

Details

Repository
github.com/giuseppe-trisciuoglio/developer-kit
Categories
Backend & APIs, DevOps & CI/CD, Release Management, Debugging, Cloud & Infrastructure, Java & JVM
First seen
May 16, 2026

More from giuseppe-trisciuoglio/developer-kit

All 102
1giuseppe-trisciuoglio avataraws-lambda-php-integrationgiuseppe-trisciuoglio/developer-kitProvides AWS Lambda integration patterns for PHP with Symfony using the Bref framework. Creates Lambda handler classes, configures runtime layers, sets up SQS/S3.7Kskills.sh installs
2cloudflare avatarbuilding-mcp-server-on-cloudflarecloudflare/skillsBuilds remote MCP (Model Context Protocol) servers on Cloudflare Workers with tools, OAuth authentication, and production deployment. Generates server code, con3.4Kskills.sh installs
3netlify avatarnetlify-edge-functionsnetlify/context-and-toolsGuide for writing Netlify Edge Functions. Use when building middleware, geolocation-based logic, request/response manipulation, authentication checks, A/B testi3.3Kskills.sh installs
4aj-geddes avatarnodejs-express-serveraj-geddes/useful-ai-promptsBuild production-ready Express.js servers with middleware, authentication, routing, and database integration. Use when creating REST APIs, managing requests/res3.3Kskills.sh installs
5netlify avatarnetlify-ai-gatewaynetlify/context-and-toolsReference for Netlify AI Gateway — the managed proxy that routes calls to OpenAI, Anthropic, and Google Gemini SDKs without provider API keys. Use this skill an3.3Kskills.sh installs
6netlify avatarnetlify-databasenetlify/context-and-toolsGuide for using Netlify Database — the GA managed Postgres product built into Netlify. Use when a project needs any kind of dynamic, structured, or relational d3.1Kskills.sh installs