• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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
 
Story like this gets better after being told a few times. Or maybe it's just a tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic