Connection Timing of RMI client and Server
Hi fiends,
I am Dhaya. Now i am in the phase of analysing the new system of client & server application using RMI. I want to know how Java RMI is suitable for network application. For this system there are more than 500 Online Terminals (not Browser based) have to use and all will be send request at a time. These terminal will be place all over the places in particular country. We have to use different network connection for Terminal & Server connectivity.
I want to know,
1) How much seconds will take by RMI to establish the connection using either Broadband or Wireless network ?
2) How many requests can handle by the Application Server (Weblogic/ Websphere) at time?
3) Because in client machine i plan to use SWING, which method is best for make a fast transaction using J2EE?
4) Will RMI returns a response within 5 secs with normal data processing?
Friends my application is similar to ATM processing and we are starting from the scratch. Pls help me to choose the technologies in J2EE environment.
Rgs,
Dhaya
> 1) How much seconds will take by RMI to establish the
> connection using either Broadband or Wireless network
This depends on TCP and DNS rather than RMI.
> 2) How many requests can handle by the Application
> Server (Weblogic/ Websphere) at time?
Hundreds in my experience, maybe thousands with enough hardware.
> 3) Because in client machine i plan to use SWING,
> which method is best for make a fast transaction
> using J2EE?
Good question. Personally I would use a good implementation of JMS. Wht's Swing got to do with it?
> 4) Will RMI returns a response within 5 secs with
> normal data processing?
This depends on the network and the time it takes to process the request and formulate the response in your server. There's no startling RMI overhead that will change that.
ejpa at 2007-7-14 23:25:52 >

thnk you friend,
And i want some more information from you.
For our application, we are planning to use the following Hardware Specifications. Will it sufficient for handle more than 1000 requests at a time?
IBM Power 5.0 Proccessor
2 GB RAM
WebSphere Server
Becoz we dont have right person to find the soln. Plz help me.
And i want to know about Application Server Process in either RMI and JMS.
If 1000s of request will come at a time from the client terminals, how APP server will handle it?
1. Will it handle all the requests at a time?
2. Will it create seperate thread for each requests?
3. And can i use syncronize block statement to avoid deadlock in somewhere the situation comes?
regards,
Dhaya
I'm not advising you about hardware or JMS.
> 1. Will it handle all the requests at a time?
Yes.
> 2. Will it create seperate thread for each requests?
Yes.
> 3. And can i use syncronize block statement to avoid
> deadlock in somewhere the situation comes?
Synchronization is used to avoid wrong answers. It is possible for this to cause deadlock, not to avoid it.
ejpa at 2007-7-14 23:25:52 >
