what is application level object?

- what is application level object ?- If i am building a shopping cart, what will i use? an application level object or a session object.Sorry if the question is ambiguous, i were asked this question in an interview RegardsAli Hammad
[268 byte] By [ali_hammada] at [2007-11-27 5:13:29]
# 1

OK guys ! I am answering myself..lol

If you are familiar with the Session object, you know already that data stored in session is not permanent and data stored is usually only available to a specific user.

The Application object stores data that is shared across the application and not for a specific user. Internally the values of both the Session and Application objects are stored in a key/value pair (HashTable).

All data stored in Application in stored 'in process', meaning if you restart your application all data in lost

ali_hammada at 2007-7-12 10:35:04 > top of Java-index,Java Essentials,Java Programming...