JBoss Community

Performance issue to use remote ejb?

reply from Peter Johnson in Performance Tuning - View the full discussion

1) By reference

 

2) Not sure of what you are asking. If the EJB is remote, the request and response data will always have to be marshalled and transferred across the network. Is that slower than accessing a local EJB? Yes! But there is no other way to access a remote EJB. If possible, cache the EJB proxy you look up from JNDI. By reusing this proxy you will at least save time by not repeatedly making the JNDI call.

Reply to this message by going to Community

Start a new discussion in Performance Tuning at Community