Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8531603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:31:28+00:00 2026-06-11T09:31:28+00:00

In GWT-land, what is the relationship between linkers and DFN code splitting? Why does

  • 0

In GWT-land, what is the relationship between “linkers” and DFN code splitting? Why does a linker need to support codesplitting, and why do some linkers not support it? How do you choose which linker your app should use and what factors go into that decision?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:31:29+00:00Added an answer on June 11, 2026 at 9:31 am

    The primary linker (there also are secondary linkers, but they’re not involved here) is responsible for creating the *.js or *.html files that host the compiled JS code, and of course how to bootstrap/load them into the browser.

    Once you know that, it becomes obvious that they have to explicitly support code-splitting.

    For instance, the xs (cross-site) linker wraps the whole script in an anonymous function so it doesn’t “pollute the global scope” (technique also known as the module pattern). It cannot then dynamically inject some other script into the page that would have access to its internals. The sso (single-script) linker has the same limitation.

    The std (iframe) linker loads your app in a dynamically created iframe which serves as the sandbox: the iframe’s global scope is not the host page’s global scope. It can then dynamically inject a script inside the iframe that would have access to everything that’s already there (the iframe’s global scope).

    But actually, you don’t have to choose which linker your app should use: stick with the xsiframe (which you have to activate explicitly however, for the time being that is). It combines the cross-site friendliness of the xs linker with the iframe sandboxing of the std linker.

    You can expect all other linkers (except maybe the sso one) to be deprecated in future GWT releases, and eventually be removed altogether; and the std linker to be replaced by the xsiframe linker as the default linker.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

GWT DOM classes don't support DOM events because the cause memory leaks. Does anybody
Does gwt have (good) support for effects, moving around elements, and resizing them? Are
does GWT support php ?
Does GWT VF support gwt 2.3? i tried it and got this exception :
Does GWT has LazyPanel .I can not see it .Please let me know .If
For GWT client side you need Java source code so i got that idea
Does GWT 2.4 support this case: @Entity class MyBase {...} @Entity class MyChild1 extends
Since GWT does not provide the GregorianCalendar class, how to do calendar operations on
Does GWT support HTML5? I mean especially Canvas and WebSockets? Regards
GWT's Editor framework is really handy and it can not only be used for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.