This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes distributed application scalability related queries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "distributed application scalability related queries" Watch "distributed application scalability related queries" New topic
Author

distributed application scalability related queries

vikas sharmaa
Ranch Hand

Joined: Jun 28, 2007
Posts: 191
Kindly answer below 2 queries regarding distributed application:

1. To vertical or horizontal scalability of an application, do we require to configure Application server deployment descriptor properties only and no changes are required in the code? Application server will take care of all the stuffs like singleton objects etc.

2. Should we prefer EJB over Spring framework for distributed applications as it provides features like distributed transaction?
vikas sharmaa
Ranch Hand

Joined: Jun 28, 2007
Posts: 191
anyone please respond to my queries.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9947
    
161

Unfortunately none of those questions have straightforward answers. For #1, it very much depends on the application and even the application server. For #2, I have never used Spring so I don't know if at all it supports distributed transactions. Does your application need that feature? How are you planning to use it?


[My Blog] [JavaRanch Journal]
vikas sharmaa
Ranch Hand

Joined: Jun 28, 2007
Posts: 191
Thanks Jaikiran for your response.

I am not working on distributed application. I asked these questions to improve my concept of distributed application.

For # 1, you said, it depends upon the Application and Application server.

So, for example, I want to deploy a simple web application in the distributed cluster environment with 2 nodes. The Application Server is Weblogic 10g. And, I have a singleton class in the application.

My purpose of deploying it into cluster environment is to achieve High Availability.

In this scenario, do i need to do any changes in the code or just do the configuration in the Weblogic console?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: distributed application scalability related queries
 
Similar Threads
How to set a Java Web Server for EJB?
Why EJB??
For Kathy and Bert
Basic Question
a very basic question plz reply