Cloud Foundry 的定义
Cloud Foundry 是一个独立于云的平台即服务(PaaS)解决方案。作为开源项目,它由 Cloud Foundry 基金会开发和支持,该基金会成员包括 Pivotal、Dell EMC、IBM 和 VMware 等众多企业。
Cloud Foundry 的优点
1. 多供应商支持
由于其开放源码性质,多个主要技术提供商都提供了基于此项目的商业版本,例如 IBM Bluemix 和 Pivotal Cloud Foundry(PCF)。这种多供应商环境增加了灵活性和选择范围。
2. 跨云端兼容性
作为一个跨云平台的服务方案,Cloud Foundry 支持多种基础设施即服务平台(IaaS),使得开发者能够轻松迁移应用而不受特定云计算服务商绑定的影响。
3. 自动化部署与管理
通过内置工具和服务,实现了应用程序生命周期内的自动化处理流程——从构建、测试直到发布上线阶段都能得到简化操作体验。
4. 高效资源利用
对于 Java 应用程序,默认配置下的内存分配策略考虑到了不同组件的需求(如代码缓存、Metaspace 及线程栈大小)。如果默认设置不满足需求,则可通过调整 JAVA_OPTS
参数优化性能表现。
cf set-env APP_NAME JAVA_OPTS "-Xms512m -Xmx768m"
cf restage APP_NAME
上述命令展示了如何修改Java应用程序实例启动时所使用的JVM选项,并重新部署以使更改生效。
Pivotal公司及其提供的云计算和开源技术服务
公司背景
Pivotal是一家专注于提供企业级软件开发平台和服务的科技公司。该公司致力于帮助企业加速数字化转型,通过利用现代应用框架、数据解决方案以及云原生技术来实现业务创新。
主要产品和技术服务
Cloud Foundry
Cloud Foundry是一个领先的开源多云应用平台即服务(PaaS),由Pivotal主导贡献和发展。该平台允许开发者快速部署、扩展应用程序而无需关心底层基础设施细节。它支持多种编程语言,并能运行于多个主流IaaS之上,包括AWS, Azure 和 vSphere等。
Spring Framework
Spring框架是一套完整的Java EE轻量级一站式企业级应用开发框架,在全球范围内拥有庞大的社区支持。作为Pivotal旗下的重要项目之一,Spring不仅简化了基于Java的应用程序构建过程,还提供了丰富的微服务体系结构组件,如Spring Boot、Spring Cloud等,极大地促进了DevOps实践中的持续交付能力。
数据库与数据分析工具
除了上述两项核心资产外,Pivotal也积极投入到了大数据处理领域。Greenplum Database是一款大规模并行处理(MPP)分析型关系型数据库管理系统;GemFire则是一种内存数据网格(IMDG),两者均适用于实时流式处理场景下的高性能查询请求响应及复杂事件处理任务。
Kubernetes管理方案
为了更好地服务于容器编排需求日益增长的企业客户群体,Pivotal推出了PKS (Pivotal Container Service), 它集成了VMware NSX-T网络功能插件,使得企业在任何地方都能轻松创建、操作Kubernetes集群的同时保障安全性与合规性要求。
SpringOne2GX 是一个关于 Spring 框架的全球性技术大会,旨在为开发者提供学习和交流的机会。如果你还没有预订你的门票,建议你尽快行动,因为这种活动通常很受欢迎,门票可能会很快售罄。
SpringOne2GX 通常会涵盖以下内容:
- 最新的 Spring 框架和技术更新。
- 来自行业专家的主题演讲和研讨会。
- 实践工作坊,帮助开发者提升技能。
- 网络机会,与其他开发者建立联系。
SpringOne2GX通常在华盛顿特区举办,如2024年的SpringOne2GX就是在华盛顿特区举办的。
Welcome back to another installment of This Week in Spring. On August 1, I celebrated my third year at SpringSource. I continue to enjoy the ride of my life and a huge part of that is my interaction with you, the most amazing community ever. Thanks for that, folks.
Have you booked your tickets for SpringOne2GX? This year’s show is a special one. In my work as the Spring Developer Advocate, I speak at many conferences all around the world. Ask any developer with a pulse, and they’ll confirm that big data (and Hadoop), reactive web applications, REST, mobile application development, and cloud computing are sizzling hot topics today. Pivotal, and Spring, support today’s developers, and SpringOne2GX’s agenda represents in my estimation the perfect blend of content for today’s developers. Check out the agenda. We’ve just recently added talks on big data, and REST service security with OAuth. This will be our first show under Pivotal, and it’s the only place where you can talk to the developers working on the technologies you care about both at SpringSource and in the community. As you know, we’ve just announced our Cloud Foundry conference, Platform, and SpringOne2GX full pass ticket holders may register for that show - which is at the same venue as SpringOne2GX just two days earlier - for free! If I had to pay for just one show a year, this would be that show. Hurry the early bird rate expires this friday!
Major news: Phil Webb and Dr. David Syer have just announced Spring Boot, which simplifies Spring application development. Spring Boot provides an opinionated layer on top of Spring and in so doing makes it dead simple to get an application up and running with a minimum of fuss. Seriously, this stuff will blow your mind. Do not read any further until you've read this short and sweet post! Give it a go and be sure to let us know about your experiences!
Spring Framework 3.2.4 maintenance release is now available, with an important security fix for SpringOXM..
Spring Data Redis-lead and ninja Jennifer Hickey just announced the availability of two Spring Data releases. Spring Data Redis 1.1, M2, featuring a lot of new features, including enhanced data pipelining, Redis 2.6 scripting, and more. Spring Data Redis 1.0.6 is also available, and features bug fixes and smaller improvements.
Spring Mobile and Android lead Roy Clarkson just announced Spring Mobile 1.1.0.RC1, which features improvements to device detection and view resolution in Spring Mobile. Roy also announced a new cut of the stable line of Spring Mobile, 1.0.2, which features similar improvements, some backported.
Spring Data ninja Oliver Gierke has just announced that the final release candidate for Spring Data Babbage is now available. This release is named for Charles Babbage. This release features support for the MongoDB Aggregation Framework and improved the execution of polymorphic queries, support to use SpEL expressions in manually defined queries with JPA, improved handling of entities using @IdClass, a countBy(..) method for Neo4j repositories, and much more.
The replay for the webinars Functional Programming without Lamba and Spring with Cucumber for Automation are now available online. Be sure to check them out!
A few weeks ago, our friend Johnathan Mark Smith put together a video introducing how to use Spring Data MongoDB and Java configuration. Check it out! And, if you're doing awesome videos, feel free to share. I'd love to post them on This Week in Spring, too!
I smiled when I saw a tweet by the Reactor project lead Jonathan Brisbin in which he says, "Processor throughput: 90M ops/sec on a laptop. 1 thread + @LMAX Disruptor. Not #fastdata, #uberfastdata" and then links to a test case in the code. Needless to say, Reactor is going to shake things up big time! (And, of course, we'll have more content on Reactor at SpringOne2GX.
The latest release of Tomcat, Apache Tomcat 8.0.0-RC1 (alpha), is now available! There are a lot of new features. Notably, Tomcat 8 will be the first Tomcat to support JSR 356, web sockets. This is the perfect compliment to Spring 4's recently announced web socket support.
Mohan Srihari Kantipudi has put together a nice post on Spring's basic REST capabilities
I liked Gregor Riegler's post on Spring Loaded, the best kept secret in open source. Spring Loaded is a Java agent that lets you reload code as you're working on it (no need to redeploy!). This is a very cool post and I hope you'll consider using Spring Loaded, too.
comments powered by Disqus
欢迎回到本周春季的另一期。8月1日,我在SpringSource庆祝了我的第三年。我继续享受我的生活,其中很大一部分是我与你的互动,这是有史以来最棒的社区。谢谢你们,伙计们。
你订了SpringOne2GX的票了吗?今年的节目很特别。在我作为Spring开发倡导者的工作中,我在世界各地的许多会议上发言。问任何一个有脉搏的开发人员,他们都会确认大数据(和Hadoop)、反应式web应用程序、REST、移动应用程序开发和云计算是当今炙手可热的话题。Pivotal和Spring支持当今的开发人员,SpringOne2GX的议程在我看来代表了当今开发人员内容的完美融合。看看议程。我们最近增加了关于大数据和OAuth的REST服务安全性的讨论。这将是我们在Pivotal下的第一个节目,这是您可以在SpringSource和社区中与从事您关心的技术的开发人员交谈的唯一地方。如您所知,我们刚刚宣布了我们的云铸造大会、平台和SpringOne2GX全票持有者可以免费注册该展会,该展会与两天前的SpringOne2GX在同一地点举行!如果我每年只付一场演出的费用,这就是那场演出。快点,早鸟的价格本周五到期!
SpringSource是一个以Spring技术为核心的企业,它提供了多种工具和平台来支持基于Spring框架的应用程序开发。以下是对SpringSource的具体介绍:
-
SpringSource工具集(STS):这是一个免费提供的开发环境,基于Eclipse,为创建基于Spring框架的企业应用提供了最佳的环境。它包括了项目创建向导、丰富的表单编辑器、快速修复和协助功能、Bean创建向导、Namespace配置对话框、架构评审工具以及运行时错误分析工具等,帮助开发者提高生产力。
-
企业级Java云(Java Cloud):随着云计算和虚拟化技术的发展,SpringSource推出了企业级Java云,这是一个基于Java语言和Spring框架的云计算平台。它采用先进的容器技术,可以快速地部署和扩展应用程序,并支持多种应用场景。该平台重视数据安全和隐私保护,采用了最先进的安全技术来确保应用和数据的安全性。
-
应用平台:SpringSource应用平台是一个基于Spring、OSGi和Apache Tomcat之上的应用服务器。它摒弃了传统的Java EE标准,通过OSGi实现应用的模块化构建和部署,大大降低了系统的复杂度。同时,由于采用了基于Spring的编程模型,开发者可以更加专注于业务逻辑的实现。
总的来说,SpringSource作为Spring框架的主要支持者,为企业提供了全面的云计算和虚拟化解决方案,包括灵活可扩展的Java云平台和创新的应用服务器平台。这些工具和平台不仅提升了开发效率,还强化了应用的安全性和可维护性,助力企业在数字化转型中保持竞争力。