• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dunno
But a little googling will give you results like this or this
 
reply
    Bookmark Topic Watch Topic
  • New Topic