I would like to know if the EJB 3 specification or the Weblogic vendor specificities give information about the performance/overhead cost of calling with a lookup a stateless EJB which is in a local context (in the same server and the same ear that the class invoking the EJB) but which is annotated Remote in its declaration. I did many searches on the web on the subject and I didn't find a complete response.
Is it the invocation processing is the same that if the EJB was declared local ? So, not expensive. Or, is the invocation processing is which of EJB remote invocation ? So, more expensive.
If you have references about this question, it would be great.