• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

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
 
I don't even know how to spell CIA. But this tiny ad does:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic