Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

explanation: Java app server

Posted on 2001-09-13
6
Medium Priority
?
167 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 120 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

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…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

916 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