English 中文(简体)
EJB目标与执行之间的区别是什么?
原标题:Whats the difference between a EJB object and implementation bean?
问题回答

I think it refers the EJB object as i.e. a field in your class which references to the EJB.
It s not an EJB instance - it s a proxy which gives you access to the EJB instance.

因此:

public class YourClass {

    @EJB
    private MyEJB myEjb;  // This is a proxy - not a concrete EJB instance
}

在出入通道期间,即myEjb.doSomething(),该集装箱检查将执行该电话的免费EJB。 另一时间,您援引myEjb.doSomething(>,该集装箱可再为EJB。

两次,你都使用相同的<密码>myEjbobject,同时在(可能)不同的例上使用了一种方法。

这是我如何理解这一段。

The EJB framework provides services like transactionality for your implmenetation classes and this is done by inversion of control.
When you write a session bean, you write only the business logic of the application and the EJB contatiner handles client calls and all middleware stuff. To do so it generates EJB objects augmented with the extra functionality and also containing your business logic. When you annotate your class, you tell the EJB container to treat it as a basis for EJB objects.
What the excerpt wishes to clarify that stateless session beans do not preserve their state longer than one client request. (Not as stateful beans)

我理解,无国籍人士会如何工作,但我没有看到欧洲犹太人大会的反对和无国籍事件之间的区别?

我认为你混淆不清的是使用EJB Objects这一术语。

我不认为有任何特殊术语。 或许可以读

虽然案件正在执行,但其他EJB物体无法使用。

页: 1

虽然案件正在执行,但其他客户无法使用。

页: 1

无国籍会议只用一种单一方法进行。

页: 1

只有在采用单一方法电话的情况下,才对客户进行无国家开庭。 客户的第二次电话使用自由集合中的一例。

(“客户”——可以是电灯、 session子、 m子或由土发委会管理的灯塔,也可以是日本宇宙开发公司为获得电子jb参考资料而做调查的。)





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签