On Fri, 09 Feb 2001, you wrote:
> Hello,
> 
> A newbie question, more EJB than JBoss...
> 
> The JBoss documentation (Beginning Programming) states:
> 
> >you will need the Bean class files on both the client and the server 
> >even though they execute on the server. This is fairly obvious if you 
> >think about the logic, but it causes all sorts of problems for people
> >who are new to RMI programming.

If that's what the doco says then it is being fairly liberal with the truth.

> Well as I understand pure java RMI, the client needs access to the stub 
> class, which defines the interface to the remote object. This is generated
> by running rmic over the object implementation class.

Sometimes.  See below.

> In EJB, however, I haven't seen any stub classes nor have I had to run
> rmic. I have run an EJB client remotely - the client had local access
> only to the EJB's remote & home interface classes. 
> 
> My question is, where are the stubs (and for that matter the skeletons)? 
> Are they inside the remote/home interface classes? If not, then where the 
> heck are they!?

No, they are generated dynamically at runtime.  Cunning, huh?

That is why you don't need an extra compilation step in creating your EJBs like
you do with weblogic, IAS etc.

Tom


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to