Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet to control a web-application

 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to develop a servlet which can keep the state of out-box web application. If someone has done similar stuff can you please throw some light.

thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you'll need to shed a little more light on what you're trying to do.

"Keep the state of an out of the box web application" doesn't tell us much.
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thank you for the response. We have a third-party web application. We are trying to incoporate the web application in our portal by providing a url for the web-application, which shows-up in portal window as iframe. The problem is when we switch the tabs on the portal, the third-party web application logs out.

What we are trying to do is develop a servlet which can keep track of the state of the web-application and this servlet will talk to the portal.

But i do not have any idea how to architect this kind of a servelt. Can you please throw some light here.

Thank you for all the help.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmm, I have some theories as to what's going on but wouldn't be sure as the best way to do this...

If, after a day or so, you don't get a good answer here, let me know and I can move this to our Portals forum. Someone there may have run into this issue before.
Or.. if you like, I can move it now and a closed copy will remain in this forum.
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the response. But please wait for a day and you can close.

But just in case you know (because i do not know). Is it possible to maintain state using servlet of a different web application with-out being inside a portal ? At this point i am don't even know whether it is possible or not ?

Any input , i would really appreciate it.

thanks
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know that, in the next version of the servlet spec, you will be able to share a session id across all applications running in a container.
You would have a separate session for each app but the IDs could would be the same.

What container are you using?
I know Tomcat has a "single signon feature".
Not sure if something like that would help you.

Is your portal using frames?
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thank you for the response. I am using iframe, to incorporate the webpage.


thanks
 
John Lincoln
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Forgot to answe the container question. PortalServer is JBoss and Container is Tomcat.

thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic