Problem is solved. Just modify the stub by changing the URL from server to another server what I did is add into the stub private static String serverID; public static void setServer(String name){ serverID=name; } and change the url in the constructor method from loclhost:8080/art to loclhost:8080/"+serverID in the client. Java I did public class client { private static ServerStub stub; public static void main(String args) { try { stub.
SetServer("Art"); stub= new ServerStub(); Register reg= new SetName("Art101"); RegisterResponse replay= stub. Register(reg); System.out. Println(replay.
Get_return()); stub. SetServer("Eng"); stub= new ServerStub(); Register reg= new SetName("com201"); RegisterResponse replay= stub. Register(reg); System.out.
Println(replay. Get_return()); } catch (AxisFault e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (RemoteException e) { // TODO Auto-generated catch block e.printStackTrace(); } }}.
Problem is solved. Just modify the stub by changing the URL from server to another server. What I did is add into the stub private static String serverID; public static void setServer(String name){ serverID=name; } and change the url in the constructor method from "loclhost:8080/art/......" to "loclhost:8080/"+serverID+"/......".
In the client. Java I did public class client { private static ServerStub stub; public static void main(String args) { try { stub. SetServer("Art"); stub= new ServerStub(); Register reg= new SetName("Art101"); RegisterResponse replay= stub.
Register(reg); System.out. Println(replay. Get_return()); stub.
SetServer("Eng"); stub= new ServerStub(); Register reg= new SetName("com201"); RegisterResponse replay= stub. Register(reg); System.out. Println(replay.
Get_return()); } catch (AxisFault e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (RemoteException e) { // TODO Auto-generated catch block e.printStackTrace(); } }}.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.