The top three values of EJB are as follows:
1. It is agreed upon by the industry. Those who use EJB will benefit from its
widespread use. Because everyone will be on the same page, in the future
it will be easier to hire employees who understand your systems (since
they may have prior EJB experience), learn best practices to improve your
system (by reading books like this one), partner with businesses (since
technology will be compatible), and sell software (since customers will
accept your solution). The concept of “train once, code anywhere” applies.
2. Portability is easier. The EJB specification is published and available freely
to all. Since EJB is a standard, you do not need to gamble on a single, proprietary
vendor’s architecture. And although portability will never be
free, it is cheaper than without a standard.
3. Rapid application development. Your application can be constructed
faster because you get middleware from the application server. There’s
also less of a mess to maintain.
1. It is agreed upon by the industry. Those who use EJB will benefit from its
widespread use. Because everyone will be on the same page, in the future
it will be easier to hire employees who understand your systems (since
they may have prior EJB experience), learn best practices to improve your
system (by reading books like this one), partner with businesses (since
technology will be compatible), and sell software (since customers will
accept your solution). The concept of “train once, code anywhere” applies.
2. Portability is easier. The EJB specification is published and available freely
to all. Since EJB is a standard, you do not need to gamble on a single, proprietary
vendor’s architecture. And although portability will never be
free, it is cheaper than without a standard.
3. Rapid application development. Your application can be constructed
faster because you get middleware from the application server. There’s
also less of a mess to maintain.
解决方案 »
- 请高手给指路
- 使用Lucene对数据库进行索引的设计
- 谁解决了,我以身相许!
- Spring ContextLoaderListener 继承 如何实现单例
- 谁在weblogic9.0上成功的配置JMS 在线等
- Hibernate 主键问题
- 200分!进来有分,做一个调查!!(分不够另外开帖子)
- weblogic7.0在jb7中的启动问题======神哪救救我吧!
- 高分求一个“session facade”的例子,(就是对entity bean的操作都在session里)(100分)!
- 那位老大能提供EJB2的教程。
- (散分了)大虾们看看:读xml的bean中,如果xml不符合dtd
- ejb中怎么返回给客户一个对象?
既然是组建模型,当然都要实现一些功能---为了方便组建的开发,把一些基本功能抽出来,由容器帮你完成。
目录服务:因为组件承诺位置透明,所以要有一个目录,帮助你定位组件,java就是JNDI,COM是在注册表中
事务服务:这也是很重要的,都提供了对事物的内建的支持,为什么重要,是在不好说什么,当然重要了:)
对并发的支持:多线程怎么办?COM是套间模型,java是...(对不起,只看过,没用过,向不起来了)
所以,我认为,基本技术就是那样,不同厂商有不同的实现,但基本思路还是一致的.
jboss,代码中哪部分是关于并发和事务处理的?我想研究研究。