Skip to content

Microsoft Java Apps

Modernize Your Java Apps with Microsoft Azure 2023-04-18

Section titled “Modernize Your Java Apps with Microsoft Azure 2023-04-18”
  • VS Code with Java extensions
  • Annotations with GitHub copilot help with code generation
    • Java code
  • Jump to different languages SQL, Terraform, docker-compose.yml
  • Use Azure Container Apps

Use cases:

  • Microservices
  • API
  • Web Apps
  • Event driven processing
  • Background
  1. Containerize Java Apps

    • Self contained Dockerfile with all Dependencies

    • Avoid large base images with unneeded software

    • Secure and scalable build strategy

    • Run as non-root user

    • JVM tuning

      • Heap memory
      • Pod replicas

    Hierarchy:

    Environment:

    • App
      • Revision - immutable version
        • Replica - multiple
          • Container
    • Integrations
      • Pipelines
      • Secrets management
      • Cross app connections
    1. Demonstration

      Deploy Spring Boot microservices using DAPR to Azure container apps

      using PowerShell az commands to create environment, replica/container config and variables for dapr

      Set shell environment variables for addresses

      Integration with application insights