hi, i know the theory well regarding cluster environment,load balancing and fail over.But i couldn't able to convert that knowledge to a java class or set of java classes(shouldn't be web application)that supports load balancing and fail over. suppose my application architecture is like
readMQ--> java class(for load balance)-->weblogic instances in cluster. readMQ app will call my java class and my java class shoudl be able to redirect the request to any one of the running weblogic instances in the cluster.
please suggest me the resources(URLs or code snippets) and help me to come up with my load balancer component.
Hi Jesus Angeles, Hi jesus angeles, ok,we can know if the server instance is failed if URL.openStream() thorws exception.But how to forward the request to one of the running servers from a normal java class.how about session persistence from normal java class.
posted 13 years ago
one mor doubt, i do i check whether the server is running or not if the server name(host name) and port is given in java class.