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

Doubt in EJB Stubs

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ranchers,

Greetings!!!

Generally, When developing the clients of EJB components we need the Interfaces and the Stubs of the bean deployed on the server for the client to compile and access the bean. But with WLS 8.1 i see that just the interfaces are required to compile and acess the bean, the client doesnt require the Stubs to access the bean. I heard from someone that WLS downloads stubs in the runtime. Can some of you throw light on how the client is able to access the bean without the stubs. If suppose runtime download happens then are there ways to see the stubs(in some diretory in the Local File sys)?
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

in EJB env we are binding the resources with JNDI.So client can access the resource by doing lookup remotely.In business component we have to bind the local/remote interfaces and home interfaces with JNDI.The lookup function will return the RMI/IIOP stub to the client for the corresponding resource.we will have to further typecast that stub to the exact home/component interface using PortableRemoteObject...client required only the component interface to access business methods...
 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

-------------------------------------------------------------------
I heard from someone that WLS downloads stubs in the runtime. Can some of you throw light on how the client is able to access the bean without the stubs. If suppose runtime download happens then are there ways to see the stubs(in some diretory in the Local File sys)?
---------------------------------------------------------------------

Does anyone know , where can we see the stubs which are downloaded at run time in local file system of client machine
 
A feeble attempt to tell you about our stuff that makes us money
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic