Close
  • Latest News
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Logo
  • Latest News
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Home Cloud
    • Cloud
    • Development

    Google Releases Open Source Tool to Containerize Java App Deployments

    By
    Jaikumar Vijayan
    -
    July 10, 2018
    Share
    Facebook
    Twitter
    Linkedin
      Jib.containers.logo

      Google wants to make it easier for Java developers to containerize their applications.

      The company this week announced Jib, an open-source Java tool that it says will enable developers to build Java containers more easily using tools with which they are already familiar.

      In a blog post July 9, Google software engineers Appu Goundan and Qingyang Chen described Jib as a container image builder designed to handle all the steps involved in packaging a Java application into a container.

      “Containerizing a Java application is no simple task,” Goundan and Chen wrote. “You have to write a Dockerfile, run a Docker daemon as root, wait for builds to complete, and finally push the image to a remote registry.”

      New Tool Cuts Down Prep Work

      Jib essentially eliminates these requirements. It is implemented in Java and is directly integrated with the Maven and Gradle Java development environment, the two Google engineers said. So developers can put Java apps into containers in little time without having to worry about maintaining a Dockerfile with instructions for building a container image or creating a Java Archive (JAR) for all the files associated with an application.

      “Since Jib tightly integrates with your Java build, it has access to all the necessary information to package your application,” Goundan and Chen wrote.

      Jib also takes advantage of techniques such as registry caching and image layering to speed up the time it takes to release incremental software changes to production. That’s because Jib can organize an application into distinct layers and only rebuilds the layers that have changed. When changes are made to code, Jib ensures that only the changes are rebuilt. For example, any change in application dependencies or application resources will result in Jib pushing out changes to only those layers instead of to the whole application.

      Can Use Declarative Language

      Jib also allows application developers to use declarative language to build container images from Maven and Gradle metadata, the two Google engineers said.

      Container technology allows software developers to build, deploy and run applications in virtual machine-like environments that are independent of the underlying infrastructure on which they are running.

      The goal with container technology is to give application developers a way to write applications once, and have it run everywhere without having to worry about the underlying hardware or the software infrastructure.

      Jib, is designed to alleviate the many challenges associated with containerizing a Java application. It is available as a plugin for Maven and Gradle and developers can use it with minimal configuration changes, Goundan and Chen said. All that developers have to do to use it is to add the plugin and configure the target.

      Google has released Jib code to GitHub and is encouraging developers to use it to accelerate Java development in container environments.

      Jaikumar Vijayan
      Vijayan is an award-winning independent journalist and tech content creation specialist covering data security and privacy, business intelligence, big data and data analytics.

      MOST POPULAR ARTICLES

      Cybersecurity

      Visa’s Michael Jabbara on Cybersecurity and Digital...

      James Maguire - May 17, 2022 0
      I spoke with Michael Jabbara, VP and Global Head of Fraud Services at Visa, about the cybersecurity technology used to ensure the safe transfer...
      Read more
      Cloud

      Yotascale CEO Asim Razzaq on Controlling Multicloud...

      James Maguire - May 5, 2022 0
      Asim Razzaq, CEO of Yotascale, provides guidance on understanding—and containing—the complex cost structure of multicloud computing. Among the topics we covered:  As you survey the...
      Read more
      Big Data and Analytics

      GoodData CEO Roman Stanek on Business Intelligence...

      James Maguire - May 4, 2022 0
      I spoke with Roman Stanek, CEO of GoodData, about business intelligence, data as a service, and the frustration that many executives have with data...
      Read more
      Android

      Samsung Galaxy XCover Pro: Durability for Tough...

      Chris Preimesberger - December 5, 2020 0
      Have you ever dropped your phone, winced and felt the pain as it hit the sidewalk? Either the screen splintered like a windshield being...
      Read more
      IT Management

      Intuit’s Nhung Ho on AI for the...

      James Maguire - May 13, 2022 0
      I spoke with Nhung Ho, Vice President of AI at Intuit, about adoption of AI in the small and medium-sized business market, and how...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2021 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.

      ×