• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

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

 
Greenhorn
Posts: 2
  • 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
 
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Likes 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
  • 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
Bartender
Posts: 11445
18
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dunno
But a little googling will give you results like this or this
 
It runs on an internal combustion engine. This ad does not:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!