This content has been marked as final.
Show 3 replies
-
1. Re: @Remove question
jbosschecker Oct 21, 2005 9:56 AM (in response to mbe1)I can not understand your question, but I would like to. please explain your question a little bit more precise.
-----
Hi, beschreib mal das Problem bitte etwas genauer! -
2. Re: @Remove question
mbe1 Oct 21, 2005 10:58 AM (in response to mbe1)hmmm ok:
What exactly happens, when a @Remote annotated method is called?
Thanks,
- Meikel
----
Was genau passiert, wenn eine @Remote annotierte Methode aufgerufen wird? -
3. Re: @Remove question
jbosschecker Oct 21, 2005 12:36 PM (in response to mbe1)"mbe@bil.de" wrote:
hmmm ok:
What exactly happens, when a @Remote annotated method is called?
Thanks,
- Meikel
----
Was genau passiert, wenn eine @Remote annotierte Methode aufgerufen wird?
@Remote or @Remove?
@Remote denotes an interface as a remote interface of a session bean. Optionally you van also denote the bean with @Remote
@Remove:
You can annotate a method to act as a Terminator for the bean it resides whithin. A call to that method will eliminate the bean instance.
Here is a citation from :
http://www.javaworld.com/javaworld/jw-08-2004/jw-0809-ejb.html.... you declare a stateless session bean by using the @Stateless annotation on the Java class. For stateful beans, the @Remove annotation is marked on a particular method to indicate that the bean instance should be removed after a call to the marked method completes.
----
Ich hoffe das hilft!