Suppose, even it's not in jar file. B'coz if it's in the jar file that means its in the server where the bean resides. the what will be the case ?
-----Original Message----- From: Ashwani Kalra [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 5:48 PM To: Sudarson Roy Pratihar Subject: RE: Is it required to Dependent class in classpath of both EJB and Servlet container ? Hi, if you package the CustClass in the ejb jar than you dont have to put it in the classpath at the App Serve end. You need to have the CustClass in classpath at webserver end. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Cheers Ashwani Kalra Sr. Mem. Dev. Staff Aithent Technologies India http://www.geocities.com/ashwani_kalra/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: A mailing list for Enterprise JavaBeans development [mailto:[EMAIL PROTECTED]]On Behalf Of Sudarson Roy Pratihar Sent: Friday, February 01, 2002 5:23 PM To: [EMAIL PROTECTED] Subject: Is it required to Dependent class in classpath of both EJB and Servlet container ? Hi All, Let's suppose we have a bean (say MyBean with jndi name mybeanjndi ) with method 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 ? Can I put CustClass.class in the class path of only in the servlet container , not in EJB container ? 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".
