Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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
 
Evildoers! Eat my justice! And this tiny ad's justice too!
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic