Skip to Content
Java 开发人员的 DevOps 工具
book

Java 开发人员的 DevOps 工具

by Stephen Chin, Melissa McKay, Ixchel Ruiz, Baruch Sadogursky
July 2025
Intermediate to advanced
344 pages
4h 17m
Chinese
O'Reilly Media, Inc.
Content preview from Java 开发人员的 DevOps 工具

第 9 章. 移动工作流程

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

程序测试可以非常有效地显示错误的存在,但却无法充分显示错误的存在。

Edsger Dijkstra

如果不谈论移动开发和智能手机,有关 DevOps 的报道就不是完整的 ,因为移动开发和智能手机是计算机拥有量增长最快的细分市场。如图 9-1 所示,在过去的十年中,智能手机的使用量呈直线上升趋势,全球智能手机的拥有量已达数十亿部。

目前全球智能手机保有量已超过 36 亿部,预计到 2023 年将达到 43 亿部,这是一个不容忽视的市场和用户群。

智能手机的另一个特性 也使 DevOps 成为必不可少的实践:智能手机属于一类互联网连接设备,默认情况下需要持续更新,因为智能手机面向的是技术水平较低的消费者,他们需要在用户参与最少的情况下维护自己的设备。围绕智能手机建立的 应用程序生态系统推动了这一趋势,它使下载新软件以及接收软件更新变得非常容易,而且对终端用户来说风险相对较低。

Chart showing growth of smartphone ownership from 2012 through 2023
图 9-1. 根据Statista 统计,2012 年至 2023 年全球智能手机用户数量(2023 年的预测用 * 标出)

出于多种功能原因,您可能需要更新应用程序:

为用户增加新功能

大多数应用程序都是快速发布的,只提供一套最基本的可行功能,以缩短上市时间。 这样就可以频繁地进行小功能更新,为最终用户增加有用的功能。

修复漏洞并提高应用程序的稳定性

更成熟的应用程序会有大量更新,以修复小错误、解决稳定性问题并改善用户体验。这些更改通常较小,可以频繁发布。

修补安全漏洞或漏洞利用

移动应用程序通常具有很大的攻击面,包括本地安装的应用程序、提供数据的后台以及用于应用程序和云服务登录的用户身份验证工作流。

此外,许多应用程序的更新都是出于提高市场份额和用户参与度的需要。 以下是一些有助于提高应用程序市场份额的更新示例:

与主要平台版本保持一致

每当重大平台发布时,通过新版本认证并更新以利用新功能的应用程序下载量都会增加。

提高应用程序在商店中的可见度

应用程序商店会通过保留两次发布之间的用户评分和突出显示新发布的内容来奖励经常更新的应用程序。 发布说明还能让您有机会增加商店中的可搜索内容。 相反,如果您的应用程序停滞不前,没有更新,它在搜索引擎优化中的排名自然会下降。

提醒现有用户注意您的应用程序,以提高使用率

移动平台会提示用户现有应用的更新信息,有时还会显示徽章或其他提醒,从而提高用户的参与度。

应用商店中的顶级应用深知持续更新的重要性,因此更新频率很高。 根据Appbot 的数据,在 200 个顶级免费应用中,距离上次更新的时间中位数为 7.8 天!在这样的更新速度下,如果不采用持续发布流程,您将无法跟上。

Java 开发人员在构建移动应用程序时有很多选择。 这些选择包括以移动为重点的 Web 开发,以及能适应受限设备的响应式 Web 应用程序。 其他选择包括为 Android 设备使用 Java 编写的专用移动应用程序。 最后,有几种跨平台选择可构建适用于 Android 和 iOS 设备的应用程序,包括 Gluon Mobile 和 Electron。

本章主要关注 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Pro Java Microservices with Quarkus and Kubernetes: A Hands-on Guide

Pro Java Microservices with Quarkus and Kubernetes: A Hands-on Guide

Nebrass Lamouchi

Publisher Resources

ISBN: 9798341662933