This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading multiple different GWT Applications at runtime from other GWT Web App

 
Vamshidhar Chitti
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
I am a newbie to GWT.
I got struck withup loading different GWT Web Applications at runtime based on user selection at GWT Main Web Application.

The scenario is , I have a GWT Web Application GWTMain which has a menu at top frame, the menu consists of GWT WEB Application FOOA ,FOOB.

Based on the selection of menu, the respective application(FOOA or FOOB) should be displayed in the bottom frame.

All three GWT Web apps are deployed under same server,

Could any1 please guide me how to proceed. OR it is possible really with GWT?

Regards
punksnotdead
 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

I would not approach this problem by going the multiple apps route. I would use a container with an appropriate layout. Say a DockPanel. Menu goes to north. Based on menu selection I would keep on switching the content at the center.

However, if you insist on on using multiple app approach, GWT offers you a Frame which wraps an IFrame element. You can switch the contents of the Frame by using the setUrl() method
 
Vamshidhar Chitti
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
thank you for your reply.

I used GWT Frame tag, to display different gwt web app.

Now, am trying to authenticate on RPC requests initiated from that frame i.e gwt app, I have a sessionId sent from login service method

how best and secure way to use it to send with each service method?
how to protect the frame URL from xsrf attacks if i send jsessionid along the URL.

tnks in advance
 
Maneesh Godbole
Saloon Keeper
Posts: 10971
11
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dunno
But a little googling will give you results like this or this
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic