This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Session: when you want to share your data in your whole application. like user_id. Request: its just use for forward and recieve the data between webpages but its data just shareable for next and last hit webpages.. not like session.
simple: do NOT do this. If you need to send data from one web app to another store it in a database used by both or send http requests to servlets back and forth.
Do NOT attempt to write some class, instances of which you hope will be available to both applications. It's not going to work, and even if you think it does it's not at all scalable and extremely poor design.
Joined: Aug 15, 2004
You can choose, the most suitable one for you, from the list given by Ulf.