Java8设计模式最佳实战-设计模式概述(第四天学习记录)

软件是企业或组织中广泛使用的一种软件类型

governments that provide a service to make their processes better and optimize the cost

政府提供服务以改进流程并优化成本的

and efficiency. Over time, the complexity of this software increased as they began to

以及效率。随着时间的推移,这个软件的复杂性随着他们开始

provide a lot of services. As different services demanded more communication, scalability

提供很多服务。由于不同的服务需要更多的通信、可伸缩性

became increasingly important. With this, some problems surfaced.

变得越来越重要。由此,一些问题浮出水面。

Enterprise patterns is a set of solutions for common problems that appear in enterprise

企业模式是针对企业中出现的常见问题的一组解决方案

software as a result of the complexity of enterprise environments. Many enterprise patterns

软件是企业环境复杂性的结果。许多企业模式

are based on GoF patterns and differ only in the way in which we implement them. On Java

是基于GoF模式的,只是我们实现它们的方式不同。在Java上

EE, enterprise patterns are divided into three groups: presentation patterns, business

企业模式分为三类:表示模式、业务模式

patterns, and integration patterns. These patterns act on the presentation tier, business tier,

模式和集成模式。这些模式作用于表示层、业务层,

and integration patterns, and we’ll cover their details in Chapter 2, Presentation Patterns,

以及集成模式,我们将在第2章“表示模式”中详细介绍它们,

which covers presentation patterns, Chapter 3, Business Patterns, which covers business

其中包括表示模式,第3章,业务模式,其中包括业务

patterns, and Chapter 4, Integration Patterns, which covers integration patterns.

模式,第4章,集成模式,包括集成模式。

Enterprise patterns are very important for professionals who create software, because bad

企业模式对于创建软件的专业人员非常重要,因为

practices in the creation of software could inflate the cost and risks involved in the projects.

软件开发的实践可能会增加项目的成本和风险。

Because of the complexity of the enterprise software, an error could propagate along the

由于企业软件的复杂性,错误可能会沿着

time and environment, making the enterprise environment unsustainable

时间和环境,使企业环境难以为继

Defining the difference between design

定义设计之间的差异

patterns and enterprise patterns

模式与企业模式

Comparing design patterns with enterprise patterns is not an easy task, because some

比较设计模式和企业模式不是一件容易的事,因为

behaviors are similar. Design patterns were the first subject that arrived, and this was

行为相似。设计模式是第一个出现的主题,这是

covered in Design Patterns: Elements of Reusable Object-Oriented Software, written by Erich

涵盖了设计模式:可重用面向对象软件的元素,由Erich编写

Gamma, Richard Helm, Ralph Johnson and John Vlissides. These design patterns were also

伽马,理查德·赫尔姆,拉尔夫·约翰逊和约翰·弗利塞德斯。这些设计模式也是

the base to other patterns. Enterprise patterns became necessities that design patterns

其他模式的基础。企业模式成为设计模式的必要条件

cannot resolve. This is because the design patterns describe solutions for of classes and

无法解决。这是因为设计模式描述了of类和

objects relationships, but the enterprise environments have other necessities such as

对象关系,但企业环境有其他必要性,如

integrations between systems and software relations. However, enterprise patterns use

系统和软件关系之间的集成。然而,企业模式使用

some design patterns to solve problems.

一些解决问题的设计模式。

The principal difference between design patterns and enterprise patterns is the aim; design

设计模式和企业模式的主要区别在于目的;设计

patterns aim to organize and optimize the object-oriented design, and enterprise patterns

模式旨在组织和优化面向对象的设计和企业模式

focus on improving the use of Java EE tools as well as making communications between

重点改进javaee工具的使用,以及在

Java EE components better. Design patterns are focused on object-oriented and class and

javaee组件更好。设计模式侧重于面向对象和类

object relations, whereas enterprise patterns are focused on communication between Java

对象关系,而企业模式则侧重于Java之间的通信

EE components

EE组件

The use of design patterns makes it possible to reuse algorithms and also makes the design

设计模式的使用使重用算法成为可能,也使设计成为可能

flexible; enterprise design patterns promote an abstraction of the complexity of Java EE

总结

三个工作日收到了offer,头条面试体验还是很棒的,这次的头条面试好像每面技术都问了我算法,然后就是中间件、MySQL、Redis、Kafka、网络等等。

  • 第一个是算法

关于算法,我觉得最好的是刷题,作死的刷的,多做多练习,加上自己的理解,还是比较容易拿下的。

而且,我貌似是将《算法刷题LeetCode中文版》、《算法的乐趣》大概都过了一遍,尤其是这本

《算法刷题LeetCode中文版》总共有15个章节:编程技巧、线性表、字符串、栈和队列、树、排序、查找、暴力枚举法、广度优先搜索、深度优先搜索、分治法、贪心法、动态规划、图、细节实现题

最新出炉,头条三面技术四面HR,看我如何一步一步攻克面试官?

《算法的乐趣》共有23个章节:

最新出炉,头条三面技术四面HR,看我如何一步一步攻克面试官?

最新出炉,头条三面技术四面HR,看我如何一步一步攻克面试官?

  • 第二个是Redis、MySQL、kafka(给大家看下我都有哪些复习笔记)

基本上都是面试真题解析、笔记和学习大纲图,感觉复习也就需要这些吧(个人意见)

最新出炉,头条三面技术四面HR,看我如何一步一步攻克面试官?

  • 第三个是网络(给大家看一本我之前得到的《JAVA核心知识整理》包括30个章节分类,这本283页的JAVA核心知识整理还是很不错的,一次性总结了30个分享的大知识点)

最新出炉,头条三面技术四面HR,看我如何一步一步攻克面试官?

片转存中…(img-W9CPnqmd-1714323261568)]

  • 第三个是网络(给大家看一本我之前得到的《JAVA核心知识整理》包括30个章节分类,这本283页的JAVA核心知识整理还是很不错的,一次性总结了30个分享的大知识点)

[外链图片转存中…(img-J6rzGin1-1714323261569)]

本文已被CODING开源项目:【一线大厂Java面试题解析+核心总结学习笔记+最新讲解视频+实战项目源码】收录

  • 24
    点赞
  • 26
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值