Thanks for yr prompty reply:) that clarifies something.
When i say i'm accesing remote ejb interface and local ejb interface from a
same cleint.
I mean i have the same (only one) JVM on my pc and i'm accesing this from my pc.
What i think is different is that my jboss is running inside
anonymous wrote : So unless your EJBs are being invoked by something that's
also within
| the container, it's a separate process and will need to be remote. :)
|
Thats is what is a happening. Thanks for yr help.
View the original post :
Let me get my understanding here correct
My understanding is .
Remote is when client calls from a different JVM environment to a Bean which is
in a seperate JVM. This is where Calls By Value comes in as everything has to
be
copied (part of serailization) to be sent across the wire.
vashistvishal wrote :
|
| Remote is when client calls from a different JVM environment to a Bean
which is
| in a seperate JVM. This is where Calls By Value comes in as everything has
to be
| copied (part of serailization) to be sent across the wire.
|
|
True.
vashistvishal
Post up your code for us, Vishal? Implementation class, interfaces, calling
code, etc. :)
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3972424#3972424
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3972424
Thanks for replying ...
Here we go :)
This is my Bean
| @Stateless
|
| public class StoreAccessBean implements StoreAccessLocal,
StoreAccessRemote {
| public int add (int num1 , int num2) {
| int sum = num1 + num2;
| System.out.println (I'm