This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Does a call from ear to ear or war to ear located in the same deploy folder is by reference? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Does a call from ear to ear or war to ear located in the same deploy folder is by reference?" Watch "Does a call from ear to ear or war to ear located in the same deploy folder is by reference?" New topic
Author

Does a call from ear to ear or war to ear located in the same deploy folder is by reference?

avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
Does Jboss serialized the result or return reference?

Thank you
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9961
    
163

What kind of call? And which version of JBossAS?


[My Blog] [JavaRanch Journal]
avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
ejb call (ejb3.1).

jboss -4.2
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9961
    
163

As per the EJB3 spec, if a remote interface of the bean is being used then irrespective of whether the client is on the same JVM, the param and return types will be serialized.
avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
can i use local in seperate ear under the same deploy (JVM)?
Does Jboss work here according to the spec? i am not sure that use remote in the same ear will return different instance in Jboss.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Does a call from ear to ear or war to ear located in the same deploy folder is by reference?
 
Similar Threads
Question about resuable EJB's and where to deploy them.
Pass by reference problem in EJB's
How to reference resources within EAR ?
Strange EJB Behaviour
Wat is an EAR?