Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Proxy stub generation

 
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

How the proxy stub generation is done using the rmic precompiler? I mean when we package the Remote interface in the client jar and deploy them in weblogic, which mechanism drives the proxy stub generation? Can anyone throw some light on this?
 
Joe Harry
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the O'Reilly's EJB 3.0 on page 22 it says that the proxy stub implements the Remote or the Local interface of the session bean and is responsible for sending your session bean method invocation over the network to your remote EJB container or routing the request to the EJB container that is in the local JVM.

So when I have my Remote interface in the client jar and deploy this client jar in an Apache server, does it mean that the Apache server should have something like an rmic precompiler to generate implementations for the Remote interface and route the calls to the appropriate session bean located on a remote EJB container?

Can anyone get me a clarification on this please.

Thanks in advance!
 
Joe Harry
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normally in enterprise apps, do we also package the Remote interface in the client jar?
 
Joe Harry
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys, anyone has any idea on the rmic precompiler that the app servers use to generate the client proxy stubs?
 
Wink, wink, nudge, nudge, say no more, it's a tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic