[JBoss-user] [EJB/JBoss] - Re: How to know if a bean instance is accessed by a local or

2006-05-25 Thread upankar
Performace is definitely one thing. But more than that, i am just curious to 
know if there is a straightforward way to getting to know the access type 
(local or remote) in the bean instance.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3946610#3946610

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946610


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How to know if a bean instance is accessed by a local or

2006-05-24 Thread bhupendra.yaduvenshi
If ur issue is performance than plz don't worry beacaz when u deploy ur client 
 server on same jvm  ur ejb component is worked as a local intefcae.Only 
difference is in cas eof remote it is used only pass by value but no stub 
skeleton created.it means it will behave like a local interface.If any 
confision than let me know

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3946110#3946110

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3946110


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnkkid=107521bid=248729dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How to know if a bean instance is accessed by a local or

2006-05-22 Thread drabbit
This is an interesting question, but I doubt there is a solution to it. You 
might want to go one step back and post what you need to know this information 
for. If it is merely for logging and to check if calls are local or remote, you 
could just write an interceptor that logs the invocation type.

dirk

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3945244#3945244

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945244


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How to know if a bean instance is accessed by a local or

2006-05-22 Thread upankar
Well ! i am actually trying to simulate streaming behaviour in a session bean. 
As we know IO streams are not serilizable and hence can not be used in EJB 
method return types, I am trying to put together a generic framework which can 
simulate the streaming behaviour. I got pretty successful in it and got it to 
working. But the framework needs to identify the client type. If local, it 
directly returns the stream instance to client (since no serialization is done 
here, hence no issues), but if remote it returns the simulated stream instance 
to client which then retrieves data from actual underneath stream instance that 
resides on server. As of now, i am handling this with different create methods 
in local and remote home to know if the bean instance is serving a remote or 
local client. 

But this is a redundant workaround. I would like to have some thing more 
concrete and generic.
  

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3945453#3945453

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3945453


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user