Module Strong Name

26 views
Skip to first unread message

bconoly

unread,
Jun 16, 2011, 3:04:15 PM6/16/11
to Google Web Toolkit
I'm trying to do manual serialization of an object on page load and I
have all my code to do it but I need to find the module's "Stong
Name". Does anyone know of an easy way to get this on the server
without sending a request from the client?
Thanks in advance,
Brett

Thomas Broyer

unread,
Jun 16, 2011, 4:15:37 PM6/16/11
to google-we...@googlegroups.com
There's no "easy" way, because the strong name (basically, the name of the *.cache.html file initially loaded) depends on "rebind properties". While it's possible (in GWT 2.3, maybe 2.2) to use the user.agent selection code on the server-side, it might not be enough (e.g. when you also have per-locale permutations).
So, it's technically feasible, but I wouldn't call it "easy" by any mean (note however that I didn't try doing it either).

bconoly

unread,
Jun 17, 2011, 10:30:08 AM6/17/11
to Google Web Toolkit
Yeah, didn't think it would be easy, I've resorted to getting the
context and looking for the gwt.rpc file. So far I've only seen one
per GWT compilation, would that change? Or is it always 1 gwt.rpc
file?
Reply all
Reply to author
Forward
0 new messages