struts在实时项目中属于三层架构中的哪一层
struts 在实时项目的三层架构中处于什么位置? 请问我需要解释吗?
Where do struts come under in three tier architecture in real time projects? Please I need explanation?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
什么是三胎架构?
在 3 层中,应用程序逻辑(或)进程位于
中间层,与数据和用户分离
界面。 3 层系统更具可扩展性、稳健性和
灵活的。 此外,他们还可以整合来自
多个来源。 在三层架构中,中间层
在用户系统界面客户端之间添加了层
环境和数据库管理服务器环境。
有多种方法可以实现这个中间层
层,例如事务处理监视器、消息
服务器,或应用程序服务器。 中间层可以
执行排队、应用程序执行和数据库
分期。 例如,如果中间层提供排队,
客户端可以将其请求传递给中间层并
脱离,因为中间层将访问数据并且
将答案返回给客户端
最基本的三层架构类型有一个中间层
由事务处理(TP)监视器组成的层
技术。 TP监控技术是一种消息类型
排队、事务调度和优先级服务
客户端连接到 TP 监视器的位置(中间层)
而不是数据库服务器。 交易被接受
由监视器将其排队然后取出
管理它直至完成的责任,从而释放
启动客户端。
what is three tire architechture?
In 3-tier, the application logic (or) process lives in the
middle-tier, it is separated from the data and the user
interface. 3-tier systems are more scalable, robust and
flexible. In addition, they can integrate data from
multiple sources. In the three tier architecture, a middle
tier was added between the user system interface client
environment and the database management server environment.
There are a variety of ways of implementing this middle
tier, such as transaction processing monitors, message
servers, or application servers. The middle tier can
perform queuing, application execution, and database
staging. For example, if the middle tier provides queuing,
the client can deliver its request to the middle layer and
disengage because the middle tier will access the data and
return the answer to the client
The most basic type of three tier architecture has a middle
layer consisting of Transaction Processing (TP) monitor
technology. The TP monitor technology is a type of message
queuing, transaction scheduling, and prioritization service
where the client connects to the TP monitor (middle tier)
instead of the database server. The transaction is accepted
by the monitor, which queues it and then takes
responsibility for managing it to completion, thus freeing
up the client.
关于应用程序项目的架构,struts 是通常用于表示层的框架,与 jsp 和 servlet 是相同的技术。 在服务层,以EJB为技术,以Spring为框架;在数据访问层,以JDBC和JPA为技术,以Hibernate为框架。
Wrt the architecture of application projects struts is the framework which is generally used for the presentation layer with jsp and servlets being the technologies in the same. Coming to the service layer, EJB is the technology and Spring is the framework and in data access layer, JDBC and JPA are the technologies with Hibernate being the framework.
Struts 是一个完整的框架,实际上不仅仅只是典型“三层”架构(表示、应用程序和数据存储)的一层。
Struts 将为您提供 Java 领域的 MVC 框架。 您将能够更好地划分表示层、应用程序层和数据持久性,而不是将它们混合在一起。
Struts is an entire framework and isn't really going to only be one layer of the typical "three tier" architecture (presentation, application, and data storage).
Struts is going to provide you an MVC framework in Java land. You'll be able to better divide your presentation layer, application layer, and data persistance rather than mingle and mash them all together.