> custMethod(CustClass obj) where CustClass is a user defined class.
>  
> And we have a servlet , say MyServlet, that will use MyBean 
> and call the
> method custMethod(CustClass obj) . 
>  
> Now MyServlet and MyBean are in different servers in two different
> machines.
>  
> My question is :
>  
> Now is it required to keep CustClass.class at run time class path of
> both the systems ?

yes, because (you said it explicitly), servlet & EJBs are on two DIFFERENT MACHINES.

>  
> Can I put CustClass.class in the class path of only in the servlet
> container , not in EJB container ?

u are making confusion: if servlet container & EJB container run
on hte same APPLICATION SERVER, you put your class in the servet classpath (such as 
WEBLOGIC_CLASSPATH).

but if,as you said, servlet runs on machine A, and EJB runs on machine B, then u
must put hte class on both machines, afaik. 
br
        marco



>  
>  
> Any suggestion is welcome.
>  
> TIA,
> Sudarson
> 
> =========================
> To unsubscribe, send email to [EMAIL PROTECTED] and 
> include in the body
> of the message "signoff EJB-INTEREST".  For general help, 
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
> 
> 

==========================================================================To 
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to