DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Distributed Tracing System (Spring Cloud Sleuth + OpenZipkin)
  • 7 Microservices Best Practices for Developers
  • Microservices With JHipster
  • How to Create Microservices Using Spring

Trending

  • Multi-Tenancy With Keycloak, Angular, and SpringBoot
  • Spring Boot and React in Harmony
  • Modern Data Backup Strategies for Safeguarding Your Information
  • The Stairway to Apache Kafka® Tiered Storage
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Lattice and Spring Cloud: Resilient Sub-structure for Your Cloud-Native Spring Applications

Lattice and Spring Cloud: Resilient Sub-structure for Your Cloud-Native Spring Applications

Pieter Humphrey user avatar by
Pieter Humphrey
CORE ·
Apr. 10, 15 · Interview
Like (0)
Save
Tweet
Share
8.66K Views

Join the DZone community and get the full member experience.

Join For Free
Written by Matt Stine on the Spring blog 

We believe that the development of cloud-native application architectures is the next great evolutionary phase of enterprise application development. These architectures combine elements like twelve-factor applications, microservices, self-service agile infrastructure, API-based collaboration, and antifragility. All of these elements enable us to simultaneously move quickly and safely as we continuously deliver business value to our customers.

The Spring team’s goal has always been to win the war on Java complexity, and now we’re teaming up with our colleagues on the Cloud Foundry team to eliminate complexity from the development and operation of cloud-native applications.

We began this effort with Spring Cloud, an umbrella project that brings to the composition of cloud-native application architectures the same simplicity and productivity you’ve come to depend on in Spring Boot. Coordination of distributed systems can be accomplished by applying many well-characterized boiler plate patterns. Using Spring Cloud, developers can quickly stand up services and applications that implement those patterns. Many of these patterns are provided via wrapping the battle-tested components found at NetflixOSS.

You can develop and run Spring Cloud applications anywhere, including your laptop, bare-metal data center infrastructure, or cloud infrastructure like AWS or Google Cloud. But for maximum effectiveness, cloud-native applications need a cloud-native application platform. We believe that Cloud Foundry is the platform that, combined with Spring Cloud, provides the optimal necessary sub-structure for building and operating cloud-native applications.

Historically it’s been challenging to run Cloud Foundry on your laptop. That’s why we’re excited to tell you about Lattice. Lattice is a cloud-native application platform that enables you to run your applications in containers using solutions like Docker. Lattice includes features like:

  • Cluster scheduling
  • HTTP load balancing
  • Log aggregation
  • Health management

Lattice does this by packaging a subset of the components found in the Cloud Foundry elastic runtime. The result is an open, single-tenant environment suitable for rapid application development. Applications developed using Lattice should migrate unchanged to full Cloud Foundry deployments.

To help you get started with Lattice, we’ve published two getting started guides:

  • Spring Boot with Docker: Lattice currently supports running applications packaged as Docker images, so this guide helps you to build Docker images from your Spring Boot application using either Maven or Gradle.
  • Spring Cloud + Lattice: this guide walks you through setting up Lattice and then deploying a Spring Boot application to it. Applications you package following the Docker guide should run on Lattice with ease.

The second guide highlights our first direct integration between Spring Cloud and Lattice,spring-cloud-lattice, which is an implementation of Spring Cloud’s DiscoveryClient backed by Lattice’s API. This implementation allows us to perform service discovery directly from Lattice without any additional dependencies. If you’ve already started leveraging Netflix Ribbon or Zuul via Spring Cloud, you’ll now be able to use both without deploying a Eureka server! Spring Cloud Lattice is currently an alpha-quality preview release.

This integration is only the first of many you’ll be seeing from the ever deepening collaboration between the Cloud Foundry and Spring teams. For example, the Spring XD team has been hard at work building a service-provider interface that allows XD to treat Lattice as a runtime layer, deploying stream modules as containers.

Our goal is to provide you, the enterprise Java developer, with the ideal local development and cloud operation environments that you need to harness the power of cloud-native applications. We look forward to showing you even more great things at SpringOne 2GX in September, 2015. Stay tuned!

Spring Framework Spring Cloud application Lattice (module)

Published at DZone with permission of Pieter Humphrey, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Distributed Tracing System (Spring Cloud Sleuth + OpenZipkin)
  • 7 Microservices Best Practices for Developers
  • Microservices With JHipster
  • How to Create Microservices Using Spring

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: