EJB

EJB

 英

  • 网络资源(Enterprise Java Beans);的设计模式和命名约定;部署

例句

A small number of changes to the application code is often required to change the format of names used for EJB lookups.

经常需要应用程序代码小量改动改变用于EJB查找名称格式

However the specification has a dependency on EJB (or at least EJB Lite) which seems to limit its wider applicability.

但是规范依赖EJB或者至少EJBLite),限制广泛应用

In fact, avoiding this style of coupling was one of the motivating factors behind the creation of Enterprise JavaBeans (EJB) technology.

实际上避免耦合创建企业JavaBeanEJB技术背后一个动机

Now that you've seen this relationship, you're ready to examine the sections left out of the EJB DD above.

既然已经知道这个关系那么可以研究上面EJBDD没有讨论

How much of EJB version 1. 0 technology is still alive?

多少1.0EJB技术生命力

Each EJB 3 business interface with the unqualified name intf of a session bean bean translates into a service by the name bean_intf.

带有一个会话beanbean限定名称intf每个EJB3业务接口转换一个bean_intf服务

A similar approach is to use one of Spring's abstract EJB implementation support classes as a base class for your EJB implementation.

一种类似方法使用Spring抽象EJB实现支持之一作为EJB实现

In the above example, the injected value for sbean2 would be that of the SCA reference sbean2 and not the EJB reference of the same name.

上面示例,sbean2注入SCA引用sbean2注入不是相同名称EJB引用

Depending on where the client is located relative to an EJB, it is possible to set the best way of access to the bean's logic.

取决于客户端EJB相对位置可以设置访问Bean逻辑最佳方式

If you can answer _yes_ to any of these questions, then EJB components may be an appropriate technology in your situation.

如果所有这些问题回答肯定的话那么EJB组件就是可以采用合适技术

EJB components do not look like its Object Oriented as it has restrictions for using inheritance and polymorphisms.

EJB组件面向对象比如使用继承多态限制

As long as the interface of the SCA reference matches that of the EJB reference, the SCA run time injection will override that EJB.

只要SCA引用接口匹配EJB引用接口SCA运行注入替换那个EJB

These terms are all about locations - the conceptual location where EJB components are available , from the point of view of your client .

这些术语有关位置客户机角度看EJB组件所在概念性位置

In EJB development, the Session Facade pattern is often used to minimize network traffic and ensure transaction consistency.

EJB开发会话虚包SessionFacade模式用来使网络流量最小化确保事务一致性

In previous Java EE platforms, such a descriptor would have been a part of an XML file that conforms to the EJB 2. 1 schema.

以前JavaEE平台必须一个符合EJB2.1模式XML文件包含这样描述

Interestingly, a Seam conversation is typically implemented with an extended entity manager injected into a stateful session bean (EJB).

有趣Seam对话通常注入状态会话beanEJB扩展实体管理器实现

Any object that can be returned by an entity bean (or any other EJB component) must fulfill this requirement.

任何可以实体bean任何其它EJB组件返回对象必须满足这个要求

The modified EJB is now ready to be transferred to Integration Edition.

修改EJB现在可以被转移集成

Conversely, imagine a business process that needs to call out to an already existing EJB service.

相反方面考虑可以假设业务流程需要调出现有EJB服务

There may be other issues with the EJB specification I could attack, but these five have been bothering me for quite some time.

EJB规范或许其他问题但是五个问题已经困扰时间

Another possibility is to invoke an EJB component as though it were a CORBA component.

一种可能性调用EJB组件CORBA组件一样

It would be nice if I could apply container services one time across many EJB definitions.

如果一次许多EJB定义应用容器服务这样情况好些

In the other, EJB component use resulted in an excessively complicated system that did not perform well.

另一个例子使用EJB组件使得系统过于复杂性能不好

However, you will have to be aware of a few rules and design considerations to avoid treading on the EJB specification.

然而必须了解一些规则设计考虑以免破坏EJB技术要求

It should be noted that you can change the multiplicity as well as the role names of the EJB relationship from within the diagram.

应当注意可以图表改变多样性EJB关联角色名称

Calls to the optimized local adapter invocation or send request APIs do not result in an inbound JCA request to drive into the target EJB.

针对优化本地适配器调用发送请求API调用不会导致JCA请求以便进入目标EJB

Next time you take a POJO and slap on an annotation to turn it into an EJB, you can give a little thanks to the OpenEJB team.

下次POJO加上一些注释转换EJB应对OpenEJB团队所作贡献表示感谢

Chief among these criticisms was that EJBs were difficult to understand and tedious to develop.

这些批评之中最主要抱怨EJB难于理解开发起来繁琐乏味

These services can be implemented as remote Enterprise JavaBeans (EJB) method calls, web services, or CORBA calls, just to name only a few.

这些服务可以作为远程企业JavaBeanEJB方法调用Web服务CORBA调用这里列出几个执行

Until the advent of EJB technology, there was no way to restrict access to an object or method by a particular user.

直到EJB技术出现能够限制特定用户访问某个对象方法

This can lead to an insecure system, as hackers may be able to write code to call the EJB directly and bypass the Web tier.

可能导致系统安全因为黑客可以编写代码直接调用EJB得以绕过Web

In short, the goal for that team was to hide the fact that EJBs were being used at all.

简而言之团队目标根本上隐藏使用EJB事实

If you're looking for a lightweight, low-cost alternative to the middleware proxy approach, using an EJB proxy might be suitable.

如果寻找轻量成本备选方案替代中间件代理方法使用EJB代理可能比较合适

As shown in Figure 6, you decide what kind of bindings you want for your process (EJB (the default), SOAP, or JMS).

6确定流程使用绑定EJB默认)、SOAPJMS)。

Only this time there's not as much to do to the interface to make it an EJB interface.

只是这次接口执行较少操作即可使成为EJB接口

Your hypothetical EJB can be described with a simple interface shown in Listing 1.

使用清单1简单接口可以描述一个假想EJB

Let_s examine some questions that you can use to determine whether EJB components are an appropriate technology for your situation.

决定EJB组件是否为适合实际情况合适技术不妨考虑几个问题

EJB components might be used, for example, to provide business logic for a Web service front end, as well as a servlet and JSP front end.

比如EJB组件可能用来Web服务前端提供业务逻辑或者servletJSP前端

Encapsulating this code in an EJB enables the code to have its own environmental references for accessing JMS resources.

代码封装一个EJB可以使代码拥有自己环境引用访问JMS资源

This article will show you a few different ways to program with EJBs by hand, as you've had to do it in the past.

本文显示一些不同手工EJB编程方法以前可能就是这么