aspose file tools*
The moose likes General Computing and the fly likes Distributed Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "Distributed Application" Watch "Distributed Application" New topic
Author

Distributed Application

Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
Hi

I would like to have some insight of the distributed application?

Does it mean that part of application is installed in one server and remaining parts are installed in another server or the whole application itself is installed in each and every server?

Is there anyway that i could use load balancing on my desktop?

If that is possibel what could be the application and web server i could use?

Thanks in advance


SCJP 6,SCWCD 5,SCBCD 5

Failure is not an option.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Let me google that for you: distributed application


JBoss In Action
Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
For your information,I googled it before i come here but stil confused with one thing.
what i would like to is ,the same application(e.g ear) is installed in each node of the network or different modules(war file in one node or ejb modile in another node) are installed in different node? or either of them could be possible.

Which is the best possible solution for a corporation.?


Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

the same application(e.g ear) is installed in each node of the network or different modules(war file in one node or ejb modile in another node) are installed in different node? or either of them could be possible.

Now you are asking about clustering and scaling. In general, when you deploy an app (ear, war, whatever) on a single system/instance, it can only handle so much traffic, let's say 1000 users as an example. If you need to handle more users, then you would add a second, or third, or Nth system/instance to handle the extra load. This article has some information about scalability: http://www.theserverside.com/tt/articles/article.tss?l=ScalingYourJavaEEApplications (and as some self promotion, I include a scalability discussion in JBoss in Action).

Most enterprises tend to run one application per application server. There are several reasons for this. It makes the whole system more resilient (if one app goes down it does not bring all of them down). It makes tuning easier - different apps tend to have different tuning requirements. And it makes scaling easier - simply add more resources or instances to the app that need more computing power.

For your information,I googled it before i come here

But you never said that, and your question was a very general question about the definition of distributed computing. If you want specific help, you should really state exactly what it is you are wanting to know so that you can avoid having people tell you things you already know and not providing you with the answers you need.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Is there anyway that i could use load balancing on my desktop?

Yes you can. Apache Web Server can provide load balancing for most web/app servers (Tomcat, JBoss AS, etc.). If you are going to run several web/app server instances on your desktop you will need to configure each instance to use different ports.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Does it mean that part of application is installed in one server and remaining parts are installed in another server

Now I am wondering if you are asking this question: "Which is better - placing my EJBs and web app in the same app server, or placing each in a different app server?" Is that what you are asking?

I guess the whole "distributed application" thing threw me off.
Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
HI Peter

Thanks for your kind responses.

I got it now.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Distributed Application