Solved

explanation: Java app server

Posted on 2001-09-13
6
159 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
netstat -ano | find "8000" and taskkill /f /pid 2984 3 80
map related example 6 55
javap not working 8 57
Running JavaFX on JDeveloper 12C 1 51
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

790 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