File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Why to use external session management techniques when session object in JSP is implicit? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Why to use external session management techniques when session object in JSP is implicit?" Watch "Why to use external session management techniques when session object in JSP is implicit?" New topic
Author

Why to use external session management techniques when session object in JSP is implicit?

Anu satya
Ranch Hand

Joined: Mar 17, 2005
Posts: 146
Hi,

I had been to one interview, there they have asked me:

1) what are the implicit objects in JSP?

...so i told all the implicit objects....as we know Session is also one among them.

2) Then they asked me how do you manage sessions in JSP?
...My answer was HttpSessions and URL rewriting.....

3)The third question was very tricky, when sessions is already implicit, why do you need another session management technique? why can't you use implicit object? don't you think you are negating your own statement?

For this question, i had no answer.....i was looking starts..........

Can anyone please help me to find out the answer for 3rd question?

Regards,

With Regards,
Anu
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

What "other session management technique"?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Anu satya
Ranch Hand

Joined: Mar 17, 2005
Posts: 146
Bear Bibeault wrote:What "other session management technique"?
Other management techniques are: HttpSessions, URLrewriting...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

That's not making any sense. How are those "external"? The implicit session variable in JSP is an instance of HttpSession, so how is that "external"?

And URL re-writing is just a way of maintaining the session in the absence of cookies. Again, nothing "external" about it.

Perhaps the interviewer was just fishing to see if you knew these comcepts?
Anu satya
Ranch Hand

Joined: Mar 17, 2005
Posts: 146
Hi Bear Bibeault,

Thank you for your reply. But, still i could not understand the concept clearly.
Is it possible to explain more clearly about what you are trying to tell..?
Please?

Anu satya
Ranch Hand

Joined: Mar 17, 2005
Posts: 146
Anyone please help me
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60082
    
  65

It is you who needs to explain your question more clearly.

You still haven't explained what "external session management techniques" are.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why to use external session management techniques when session object in JSP is implicit?
 
Similar Threads
session validation problem in servlet/jsp
Session handling in Jsp
Web Service session maintanance
Tag Files - session implicit object availability
How to get Servlet Init parameters in EL.