Design Consideration

本文探讨了在Web-centric和EJB-centric两种设计模式之间的选择。Web-centric设计适用于小型应用,而EJB-centric设计更适合大型企业级应用,强调代码和性能的可扩展性。此外,还讨论了本地与分布式架构的选择。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. Reqirements? Use case diagrams

2. Choosing application tiers: web-centric design, ejb-centric design

In a Web-centric design, Web tier components using container services such
as the JDBC API can communicate directly with the enterprise information
system resources that hold application data.

In an EJB-centric design, enterprise beans running on EJB servers encapsulate
the enterprise information system resources and the core application logic.

There is a trade-off between the two approaches. The Web-centric approach
can enable a quick start for small applications with few transactional needs, while
the EJB-centric approach is better for building a large-scale enterprise application
where code and performance scalability are prime factors. The Web-centric
approach, while more prevalent, has limitations for building large-scale, complex
applications. Applications built with a Web-centric approach can rapidly become
too complex and difficult to maintain.

3. Choosing local or distributed architecture: local ejbs only, or put them at multiple machines?

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值