• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Confusion regarding use and handling of Remote I/f versus Local I/f in WLP 8.1

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have confusion regarding the use and handling of Remote Interfaces and Local Interfaces in Weblogic 8.1 portal server.
Let me explain my query with an example:
Let's say that my application is packaged and deployed as an EAR file on Weblogic 8.1.4 portal server.
The EAR file contains all my application stuff(JSP, JPFs, EJBs, Servlets etc).
The front end is implemented using Portal's java page flows. The JPFs invoke the 'remote' interface of the Stateless Session beans for getting the job done.
Now the confusion is that if I use remote interfaces, does Weblogic portal server does some 'internal optimizing' for bean invocation, since the client and the bean are on the same server and hence same jvm.
OR should I use local interfaces to get a better performance and avoid the usual overhead of remote invocation?
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Two solutions
1) As you said , use local interface
2) turn the enable-call-by-reference on in your weblogic-ejb-jar.xml for that bean. By default it is false.

Lin
reply
    Bookmark Topic Watch Topic
  • New Topic