aspose file tools*
The moose likes GWT and the fly likes Loading multiple different GWT Applications at runtime from other GWT Web App Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Loading multiple different GWT Applications at runtime from other GWT Web App" Watch "Loading multiple different GWT Applications at runtime from other GWT Web App" New topic
Author

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

Vamshidhar Chitti
Greenhorn

Joined: Jan 07, 2011
Posts: 2
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

Joined: Jul 26, 2007
Posts: 10246
    
    8

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


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Vamshidhar Chitti
Greenhorn

Joined: Jan 07, 2011
Posts: 2
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

Joined: Jul 26, 2007
Posts: 10246
    
    8

Dunno
But a little googling will give you results like this or this
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Loading multiple different GWT Applications at runtime from other GWT Web App