Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Jboss serialized the result or return reference?

Thank you
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of call? And which version of JBossAS?
 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ejb call (ejb3.1).

jboss -4.2
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic