Solved

explanation: Java app server

Posted on 2001-09-13
6
156 Views
Last Modified: 2010-03-31
BEA claims that Java Application servers must be written in 100% Java to ensure:

"..Complete support for all Java native features like passing objects by value, dynamic update of system and business programs..."

1, What's the advantage of the feature "passing objects by value?"
2, What's "dynamic update of system and business programs?" what does this mean?
0
Comment
Question by:txholdem
  • 2
  • 2
6 Comments
 
LVL 6

Expert Comment

by:dorothy2
ID: 6480674
I can tackle #1, and I can make a good guess about #2.

#1 - They are talking about passing object data by value as opposed to passing by reference.

If you pass by value, you make a copy of the object. You can then pass it to a method as an argument. Whatever happens inside the method does not change the value of the object which was passed. The advantage of pass by value is security, because the caller's object data does not change.

With pass by reference, the actual object instance reference is passed to the method. Now any change to the instance's variables inside the method will be reflected when the method is finished and control returns to the calling program. The advantage of pass by reference is performance, because the overhead required to create a new object is not required.

#2 - dynamic update of system and business programs - if an application uses java technologies such as servlets and java server pages, it is relatively easy to update the site and change the programs on the fly. Some app servers may require you to "reboot" the application, but this takes only a few minutes. Some app servers may be able to serve up modified servlets and jsps as they are changed without restarting the server. To accomplish this the application server must support technologies like servlets and jsps.

Dorothy

Dorothy




0
 
LVL 6

Expert Comment

by:dorothy2
ID: 6480675
I can tackle #1, and I can make a good guess about #2.

#1 - They are talking about passing object data by value as opposed to passing by reference.

If you pass by value, you make a copy of the object. You can then pass it to a method as an argument. Whatever happens inside the method does not change the value of the object which was passed. The advantage of pass by value is security, because the caller's object data does not change.

With pass by reference, the actual object instance reference is passed to the method. Now any change to the instance's variables inside the method will be reflected when the method is finished and control returns to the calling program. The advantage of pass by reference is performance, because the overhead required to create a new object is not required.

#2 - dynamic update of system and business programs - if an application uses java technologies such as servlets and java server pages, it is relatively easy to update the site and change the programs on the fly. Some app servers may require you to "reboot" the application, but this takes only a few minutes. Some app servers may be able to serve up modified servlets and jsps as they are changed without restarting the server. To accomplish this the application server must support technologies like servlets and jsps.

Dorothy

Dorothy




0
 
LVL 92

Accepted Solution

by:
objects earned 30 total points
ID: 6481093
Not sure what they're talking about because all Java variable are passed by value. It's a language feature and has nothing to do with whether they're 100% Java or not.
All Java programs including ones that are not 100% Java still pass all variable by value.
0
 
LVL 92

Expert Comment

by:objects
ID: 6481095
Point 2 also sounds like marketing 'wind'.
0
 
LVL 20

Expert Comment

by:Venabili
ID: 8932617
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- points for objects

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Venabili
EE Cleanup Volunteer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
custom annotations 9 30
egit plugin on eclipse 8 33
reverse digits of a number using for loop 5 36
servlet filter example 37 41
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now