http://www.javaworld.com/javaworld/jw-12-1999/f_jw-12-ssj-jspmvc-2.html Pradeep Kumar wrote: > Please tell me about the MVC and MVC2 architecture. Where can I find more > information on this. > > thanks > Pradeep > > -----Original Message----- > From: Fabrizio Barbero [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 23, 2000 1:21 PM > To: [EMAIL PROTECTED] > Subject: ejb and load balancing > > I'am working with WebSphere 3.0 ae, on a enteprise solution involving > jsp/servlet front-end and EJB components ( the servlet/jsp component calls > ejb > stateless components for business logics ). > Considering that my application should support a great amount of users > connected via browser, I was wondering about providing correct load > balancing > feature at appserver ( ejb container ) level. > > In particular I am asking if Application server ( websphere for instance ) > load balancing routering is provided in the lookup ejb phase, that is when > issuing the following statements > Object o = SingletonContextFN.getInitialContext().lookup("MyMgr"); > myHome = (MyMgrHome)PortableRemoteObject.narrow(o, MyMgrHome.class); > > or when the ejb components is created, that is when: > MyMgr myMgr = myHome.create(); > > or when the ejb components is used ( i don't think so .. ) > myMgr.insertStock( sessionId, "001052050" ); > > I was designing the application to set the reference to myHome interface > just at serlvet startup ( or in any case the reference gets invalid .. ), > using for instance a static var. > But, if load balancing is applied only at lookup phase, I have to bind the > home iface every "create", that is every time I am using the ejb > components, that could be a big overhead. Otherwise my servlet instance will > be > linked always to the same ejb container instance, not providing a correct > load > balancing. > Is it correct ? > Any ideas ? > Thanks > Fab > > =========================================================================== > 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". -- --------------------------------------------------------------- Kay Schulz Program Management BROKAT Infosystems AG Voice: (+49)711-78844 216 Industriestr. 3 Fax: (+49)711-78844 779 70565 Stuttgart Germany \|/ E-Mail: [EMAIL PROTECTED] /'~'\ Homepage: http://www.brokat.com/ ( o o ) ----------------------------------------oOOO--(_)--OOOo- If there's so much labor-saving machinery, why don't I have more free time? =========================================================================== 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".
