Hello all,

We are trying to develop an enterprise application using EJB app servers in
a cluster.  The problem is "in real sense" of load balancing.  If it is a
Stateless Session bean or EJBHomes , it does not matter much, but if we use
STATEFUL Session beans we are not able to share or get the state of this
beans across servers on failure of a machine.  Otherwise the session becomes
server specific or there is server affinity, which is not a real load
balancing.

Has anybody used the STATEFUL session beans in a clustered environment
either in Websphere or Weblogic, or how this could be solved.

Thank you in advance,
Regards.

Ganapur Srinivas.

Cognizant Technology Solutions India Ltd.
Ground Floor,
Deepak Complex,
National Games Road,
Opp.Pune Golf Course,
Yerwada.
Pune 411006.India.
Tel. :6691960.Extn-2277.
[EMAIL PROTECTED]



-----Original Message-----
From: Aravind Naidu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 4:04 PM
To: [EMAIL PROTECTED]
Subject: Re: ejb and load balancing


Hi,
All EJBHomes and Stateless Session Beans are workload managed in WebSphere.
On Stateful session beans the creation only is WLM'ed and individual
requests are not, but I think this does not apply to you as you are on
Stateless.

Please refer to a WebSphere 2000 conference presentation (2-3A) for some
clarifications on what the WLM can and cannot do.
http://www-4.ibm.com/software/webservers/ws2000_present.html


Note, also you need to up to some efix levels if you are running WAS
3.0.2.1. There are special fixes for WLM.
http://www-4.ibm.com/software/webservers/appserv/efix.html


-- Aravind


> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Fabrizio Barbero
> Sent: Tuesday, 23 May 2000 17:51
> 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".

===========================================================================
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