Solved

explanation: Java app server

Posted on 2001-09-13
6
162 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

630 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