This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Proxy stub generation

 
Joe Harry
Ranch Hand
Posts: 10045
3
Eclipse IDE Mac PPC Ubuntu
  • 0
  • 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: 10045
3
Eclipse IDE Mac PPC Ubuntu
  • 0
  • 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: 10045
3
Eclipse IDE Mac PPC Ubuntu
  • 0
  • 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: 10045
3
Eclipse IDE Mac PPC Ubuntu
  • 0
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic