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

Docker

170.3K
136.9K
+ 1
3.9K
JBoss

328
249
+ 1
0
Add tool

Docker vs JBoss: What are the differences?

Introduction

Docker and JBoss are two widely used technologies in the field of software development and deployment. While both serve the purpose of application deployment, they have significant differences that set them apart. In this article, we will discuss the key differences between Docker and JBoss.

  1. Isolation and Portability: Docker provides containerization, which allows applications to run in isolated environments. It ensures that the application and its dependencies are bundled together, making it highly portable across different platforms and operating systems. On the other hand, JBoss is an application server that provides a runtime environment for Java-based applications. It offers a comprehensive set of services and APIs for enterprise applications but does not provide the same level of isolation and portability as Docker.

  2. Resource Utilization: Docker containers are lightweight and share the underlying host operating system's kernel. This allows for better resource utilization as multiple containers can run on the same host system without significant performance degradation. JBoss, being an application server, requires dedicated resources for each running instance, which can result in higher resource consumption and lower scalability compared to Docker.

  3. Deployment Flexibility: Docker allows for easy and flexible deployment of applications by packaging them into containers. These containers can be deployed on any Docker-enabled host, making it suitable for both local and cloud-based deployments. On the other hand, JBoss relies on traditional deployment methods, such as deploying applications in a WAR (Web Application Archive) format, which may require additional configuration and setup.

  4. Service Orchestration: Docker provides built-in support for service orchestration through tools like Docker Swarm and Kubernetes. It allows for managing and scaling containerized applications across multiple hosts, ensuring high availability and fault tolerance. JBoss, being an application server, can be deployed in a clustered environment but may require additional configuration and setup to achieve similar levels of service orchestration as offered by Docker.

  5. Containerization vs. Full Application Server: Docker provides lightweight containerization, where each container runs a single application or service. This enables modular and scalable deployment of applications. JBoss, on the other hand, is a full-fledged application server that provides a complete runtime environment for Java-based applications. It includes services like messaging, caching, and clustering, making it suitable for complex enterprise applications.

  6. Community and Ecosystem: Docker has a large and vibrant community, with extensive documentation, resources, and support. It has a vast ecosystem of tools, frameworks, and libraries built around it, making it easy to integrate with existing workflows and tools. JBoss, being a popular and widely adopted application server, also has a strong community and ecosystem but may not be as diverse and extensive as Docker.

In summary, Docker provides lightweight containerization with high portability, resource efficiency, and flexible deployment options, while JBoss is a comprehensive application server offering a wide range of services but with less isolation, portability, and deployment flexibility compared to Docker.

Decisions about Docker and JBoss
Florian Sager
IT DevOp at Agitos GmbH · | 3 upvotes · 419.6K views
Chose
LXDLXD
over
DockerDocker

lxd/lxc and Docker aren't congruent so this comparison needs a more detailed look; but in short I can say: the lxd-integrated administration of storage including zfs with its snapshot capabilities as well as the system container (multi-process) approach of lxc vs. the limited single-process container approach of Docker is the main reason I chose lxd over Docker.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Docker
Pros of JBoss
  • 823
    Rapid integration and build up
  • 691
    Isolation
  • 521
    Open source
  • 505
    Testa­bil­i­ty and re­pro­ducibil­i­ty
  • 460
    Lightweight
  • 218
    Standardization
  • 185
    Scalable
  • 106
    Upgrading / down­grad­ing / ap­pli­ca­tion versions
  • 88
    Security
  • 85
    Private paas environments
  • 34
    Portability
  • 26
    Limit resource usage
  • 17
    Game changer
  • 16
    I love the way docker has changed virtualization
  • 14
    Fast
  • 12
    Concurrency
  • 8
    Docker's Compose tools
  • 6
    Easy setup
  • 6
    Fast and Portable
  • 5
    Because its fun
  • 4
    Makes shipping to production very simple
  • 3
    Highly useful
  • 3
    It's dope
  • 2
    Very easy to setup integrate and build
  • 2
    HIgh Throughput
  • 2
    Package the environment with the application
  • 2
    Does a nice job hogging memory
  • 2
    Open source and highly configurable
  • 2
    Simplicity, isolation, resource effective
  • 2
    MacOS support FAKE
  • 2
    Its cool
  • 2
    Docker hub for the FTW
  • 2
    Super
  • 0
    Asdfd
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    Cons of Docker
    Cons of JBoss
    • 8
      New versions == broken features
    • 6
      Unreliable networking
    • 6
      Documentation not always in sync
    • 4
      Moves quickly
    • 3
      Not Secure
      Be the first to leave a con

      Sign up to add or upvote consMake informed product decisions

      What is Docker?

      The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere

      What is JBoss?

      An application platform for hosting your apps that provides an innovative modular, cloud-ready architecture, powerful management and automation, and world class developer productivity.

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

      Jobs that mention Docker and JBoss as a desired skillset
      What companies use Docker?
      What companies use JBoss?
      See which teams inside your own company are using Docker or JBoss.
      Sign up for StackShare EnterpriseLearn More

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

      What tools integrate with Docker?
      What tools integrate with JBoss?

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

      Blog Posts

      PythonDockerKubernetes+7
      3
      1103
      PythonDockerKubernetes+14
      12
      2607
      Jul 9 2019 at 7:22PM

      Blue Medora

      DockerPostgreSQLNew Relic+8
      11
      2337
      DockerAmazon EC2Scala+8
      6
      2712
      GitHubDockerReact+17
      40
      36297
      What are some alternatives to Docker and JBoss?
      LXC
      LXC is a userspace interface for the Linux kernel containment features. Through a powerful API and simple tools, it lets Linux users easily create and manage system or application containers.
      rkt
      Rocket is a cli for running App Containers. The goal of rocket is to be composable, secure, and fast.
      Kubernetes
      Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
      Cloud Foundry
      Cloud Foundry is an open platform as a service (PaaS) that provides a choice of clouds, developer frameworks, and application services. Cloud Foundry makes it faster and easier to build, test, deploy, and scale applications.
      Vagrant
      Vagrant provides the framework and configuration format to create and manage complete portable development environments. These development environments can live on your computer or in the cloud, and are portable between Windows, Mac OS X, and Linux.
      See all alternatives