I think I may not be clear enough in 2nd question. Actually I mean two servers.
Yeah if both of the conatiner is under same app server, it will work without any doubt as the entire thing is under the class path of the application. But let's say servlet is in tomcat and bean in jboss. Then what's the situation even if both of them are under same machine (not a single app server, as tomact and jboss are running as different process)? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 5:31 PM To: Sudarson Roy Pratihar; [EMAIL PROTECTED] Subject: RE: Is it required to Dependent class in classpath of both EJB and Servlet container ? > 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".
