Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

hapi
hapi

285
209
+ 1
79
Spring Boot
Spring Boot

4.2K
3.3K
+ 1
489
Add tool

hapi vs Spring Boot: What are the differences?

What is hapi? Server Framework for Node.js. hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web applications and services.

What is Spring Boot? Create Spring-powered, production-grade applications and services with absolute minimum fuss. Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.

hapi and Spring Boot are primarily classified as "Microframeworks (Backend)" and "Frameworks (Full Stack)" tools respectively.

"Makes me Hapi making REST APIs" is the primary reason why developers consider hapi over the competitors, whereas "Powerful and handy" was stated as the key factor in picking Spring Boot.

hapi and Spring Boot are both open source tools. Spring Boot with 39.8K GitHub stars and 25.8K forks on GitHub appears to be more popular than hapi with 11.3K GitHub stars and 1.16K GitHub forks.

MIT, Intuit, and OpenGov are some of the popular companies that use Spring Boot, whereas hapi is used by Hazeorid, Beam, and Kanteron Systems. Spring Boot has a broader approval, being mentioned in 333 company stacks & 615 developers stacks; compared to hapi, which is listed in 58 company stacks and 34 developer stacks.

What is hapi?

hapi is a simple to use configuration-centric framework with built-in support for input validation, caching, authentication, and other essential facilities for building web applications and services.

What is Spring Boot?

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose hapi?
Why do developers choose Spring Boot?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use hapi?
    What companies use Spring Boot?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with hapi?
    What tools integrate with Spring Boot?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to hapi and Spring Boot?
    ExpressJS
    Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
    Flask
    Flask is intended for getting started very quickly and was developed with best intentions in mind.
    Django REST framework
    It is a powerful and flexible toolkit that makes it easy to build Web APIs.
    Sinatra
    Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.
    Koa
    Koa aims to be a smaller, more expressive, and more robust foundation for web applications and APIs. Through leveraging generators Koa allows you to ditch callbacks and greatly increase error-handling. Koa does not bundle any middleware.
    See all alternatives
    Decisions about hapi and Spring Boot
    Marwen Trabelsi
    Marwen Trabelsi
    Software Engineer | 3 upvotes 15.9K views
    Spring Boot
    Spring Boot

    I use Spring-Boot because it almost let you get things done quickly for a JVM-target project, with auto configuration components and dependency management starters. It is almost perfectly tailored for microservices applications development with a single unit deployment artifact (JAR) along with support for Service Registry and Discovery, Circuit Breaker pattern...

    Any third-party library or any back-end service would perfectly integrate well since Spring offers integration support for most of mainstream services, let it be a RDBMS service, a NoSQL database, a Message Broker...

    Coming to day-to-day development, Spring-Boot enjoys a great community so you can get support, direction, focused guidance from almost everywhere.

    See more
    Praveen Mooli
    Praveen Mooli
    Technical Leader at Taylor and Francis | 11 upvotes 99.5K views
    MongoDB Atlas
    MongoDB Atlas
    Amazon S3
    Amazon S3
    Amazon DynamoDB
    Amazon DynamoDB
    Amazon RDS
    Amazon RDS
    Serverless
    Serverless
    Docker
    Docker
    Terraform
    Terraform
    Travis CI
    Travis CI
    GitHub
    GitHub
    RxJS
    RxJS
    Angular 2
    Angular 2
    AWS Lambda
    AWS Lambda
    Amazon SQS
    Amazon SQS
    Amazon SNS
    Amazon SNS
    Amazon Kinesis Firehose
    Amazon Kinesis Firehose
    Amazon Kinesis
    Amazon Kinesis
    Flask
    Flask
    Python
    Python
    ExpressJS
    ExpressJS
    Node.js
    Node.js
    Spring Boot
    Spring Boot
    Java
    Java
    #Data
    #Devops
    #Webapps
    #Eventsourcingframework
    #Microservices
    #Backend

    We are in the process of building a modern content platform to deliver our content through various channels. We decided to go with Microservices architecture as we wanted scale. Microservice architecture style is an approach to developing an application as a suite of small independently deployable services built around specific business capabilities. You can gain modularity, extensive parallelism and cost-effective scaling by deploying services across many distributed servers. Microservices modularity facilitates independent updates/deployments, and helps to avoid single point of failure, which can help prevent large-scale outages. We also decided to use Event Driven Architecture pattern which is a popular distributed asynchronous architecture pattern used to produce highly scalable applications. The event-driven architecture is made up of highly decoupled, single-purpose event processing components that asynchronously receive and process events.

    To build our #Backend capabilities we decided to use the following: 1. #Microservices - Java with Spring Boot , Node.js with ExpressJS and Python with Flask 2. #Eventsourcingframework - Amazon Kinesis , Amazon Kinesis Firehose , Amazon SNS , Amazon SQS, AWS Lambda 3. #Data - Amazon RDS , Amazon DynamoDB , Amazon S3 , MongoDB Atlas

    To build #Webapps we decided to use Angular 2 with RxJS

    #Devops - GitHub , Travis CI , Terraform , Docker , Serverless

    See more
    Interest over time
    Reviews of hapi and Spring Boot
    Review ofSpring BootSpring Boot

    spring boot allow my team to start building web services quickly and package it in a stand alone application

    How developers use hapi and Spring Boot
    Avatar of Climate CoLab
    Climate CoLab uses Spring BootSpring Boot

    Spring-Boot allows us to create stand-alone web servers and helps us configure many of our dependencies with sane default, while maintaining flexibility where we need it.

    Avatar of Thibault Maekelbergh
    Thibault Maekelbergh uses hapihapi

    Serves static content. Was added to make it more easy to transition to serverside view templating and API.

    Avatar of Emcee
    Emcee uses Spring BootSpring Boot

    Probably the best application framework in Java, by far. Time-proven, mature.

    Avatar of Ian Kelly
    Ian Kelly uses hapihapi

    Web framework for building RESTful APIs in Javascript.

    Avatar of p009922
    p009922 uses Spring BootSpring Boot

    light weight server approach for REST-services

    Avatar of Project44
    Project44 uses Spring BootSpring Boot

    All services are spring-boot applications.

    Avatar of Vaadin
    Vaadin uses Spring BootSpring Boot

    Solid base for Java-based web app backend

    Avatar of Dave Woolfenden
    Dave Woolfenden uses hapihapi

    REST libraries usage

    How much does hapi cost?
    How much does Spring Boot cost?
    Pricing unavailable
    Pricing unavailable
    News about hapi
    More news
    News about Spring Boot
    More news