d**k 发帖数: 1223 | 1 我有一个关于GWT的问题。好像坛子里讨论的不多。在以前的一个帖子里,魔法胖子提
到“google will own your rear end”。这是个什么意思?
其实我的理想状态还是后端用jdbc或者别的persistance, 然后前端用GWT代替jsp,
这个可行吗?这个GWT前后端是怎么talk的?还需要一个spring mvc或者别的什么web
tier的东西吗?我的直觉是spring mvc 和GWT 整合应该是没戏了。谢谢了。 |
|
b***e 发帖数: 15201 | 2 我刚开始学gwt,想做个小应用,call一个web service(SOAP),该service会返回一个
object数组,然后我想用gwt的一些widgets在用户端来显示这个object数组包含的数据。
现在我是在gwt的server code里面调用web service,成功的取到了这个对象数组"
errorlist"。 我想把errorlist返回给client code。
我google来的近似答案是,需要把errorlist这个class放在shared目录,让client
side code可以编译到它。
但是现在的问题是,这个errorlist从WSDL生成,里面用到了org.apache.axis的一些类
。如果是把这个类文件放server端编译就毫无问题。放到shared目录后,就出错,说是:
org.apache.axis.description.ElementDesc can not be found in source packages.
Check the inheritance chain from your module; it may not be... 阅读全帖 |
|
f*********s 发帖数: 34 | 3 痛苦选择中..., 请版上大侠们多多指教.
The team needs to build a financial web application, it needs to look like
desktop application, so must have very rich component library, especially
the grid/blotter, tree drill-down etc.
My understanding is that
* jquery is a general framework with lots of third-party UI plugins, the
problem is that jquery does not have a complete and well documented UI
component library, I am not sure about the quality of its UI components too,
the team may spend too much time hunting dow... 阅读全帖 |
|
n*******y 发帖数: 3337 | 4 GWT能生成比jQuery复杂的多JavaScript。
jQuery能干的GWT都能干,GWT能干jQuery不一定能干。比如下面这SAMPLE SITE,
jQuery做不了。
http://www.gaecity.com/ |
|
m******t 发帖数: 2416 | 5
I evaluated both of them a short while ago.
Ext-gwt gives me a feeling that it's more native
GWT, while SmartGWT feels like a wrapper
around SmartClient.
OTOH, Ext-gwt is either GPL or commercial, while
SmartGWT's licensing model is a little more
flexible. |
|
m******t 发帖数: 2416 | 6
Never mind that. Just one of my poor attempts at being funny. :-)
You can still have gwt running with spring mvc, or any other http
service for that matter. Gwt supports sending standard http requests.
That's actually how I made my gwt login form communicate with spring
security's login processing service. |
|
m******t 发帖数: 2416 | 7
I am not supposed to share the source code I have, but basically
it works like this:
1. Some GWT code submits a form to a url,
2. The url is mapped to a spring mvc handler that, well, handles
it just like any other form submission requests, prepares the model,
and forwards to a view,
3. The view renders a json response (as oppose to typical html),
4. Finally the GWT code gets the response, and parses the json.
So in the steps above, 1 and 4 are completely gwt, while 2 and 3
are spring mvc. They |
|
y****e 发帖数: 23939 | 8 【 以下文字转载自 Programming 讨论区 】
发信人: yapple (稳似泰山共携手,陶然一笑友情深), 信区: Programming
标 题: 问一个GWT里面CellBrowser无法在VerticalPanel/HorizontalPanel里面显示的问题
发信站: BBS 未名空间站 (Thu Jun 6 00:54:23 2013, 美东)
向GWT高手求助,一个GWT程序,发现CellBrowser无法在VerticalPanel/
HorizontalPane里面显示,直接放在RootLayoutPanel底下就没问题。请高手指点。谢
谢。 |
|
J*******n 发帖数: 2901 | 9 现在JS越来越牛,GWT肯定越来越没人用了,而且关键是弄GWT的这帮人都去搞Dart了,
Dart也没掀起多大的动静来
新版本的GWT恐怕是等不到了 |
|
z****e 发帖数: 54598 | 10 本意是把java转成js去做
js难堪大任啊,最后还是要看dart
With introduction of the Dart programming language, Google has reassured the
GWT community that GWT will continue to be supported for the foreseeable
future, but also hinted at a possible rapprochement between the two Google
solutions for "structured web programming". They've also admitted however
that a number of engineers previously working on GWT are now working on Dart
.[5] |
|
b******y 发帖数: 9224 | 11 GWT我一直不看好,原因就一个: 太麻烦。而且web designer没法插手做。基本上必须
要programmer才行。
Google的东西,很多的也是他们自家的产品,对于想做软件创业的人来说,需要尽量避
免。比如说GWT, 就是个又大又笨重的东西。做点B2B的web软件,或者intranet的东西
,还行。
我觉得,做软件,要keep it simple. 软件是为了市场服务的,不是耍酷或者要多
fancy的。
话说Google,他家其实90%多的收入还是来自网络广告的。其他都是icing. Google
drive, 社交,其实都是点缀,不是他家的主营业务。
如果哪天web http protocol变化了,Google的web search的垄断会受影响。但目前,
在整个互联网基于tcp/ip, http协议的基础上,没有根本变化的情况下,Google的网页
搜索基本上是无法被撼动的。
Google不去做word啥的,其实有道理。一个公司就要focus到一件事情上,否则啥都做
不好。 |
|
e*******0 发帖数: 367 | 12 【 以下文字转载自 BuildingWeb 讨论区 】
发信人: erazor000 (erazor), 信区: BuildingWeb
标 题: GWT Struts integration?
发信站: BBS 未名空间站 (Mon Sep 28 09:54:31 2009, 美东)
以前写的一个project是用struts 1.2。最近要加几个非常复杂的page,ext-gwt提供很
多现成的widget,所以想用一下。有没有大侠这样做过?给点建议。谢谢。 |
|
m******t 发帖数: 2416 | 13
I did an application with gwt a while ago. It was much
better experience than I had anticipated, actually.
It was quite pleasant and productive to be able to write
everything in java and in eclipse.
The caveat, of course, is that google will own your
rear end. The vendor lock-in is next to impossible to
get away from. If you are comfortable with that, gwt
is great to work with. |
|
k***r 发帖数: 4260 | 14 I'm sure it's not :-) but it's messy, in a lot of people's eyes.
Part of the benefit of using GWT is that you can write JS in a
language that you like better than you do JS. Being able to
use Java's compile time check is nice. Even without this, I'd
pick Python over JS any day.
And of course this package (pyjamas) is open source.
Core component in GWT is not. |
|
t******h 发帖数: 120 | 15 可以啊
gwt前后端通过rpc和http通信
我现在的项目就是用gwt(rpc) + spring mvc + ibatis做的
我记得网上有个文章讲这个的 就是写一个service接受所有rpc 然后通过spring mvc转
发给不同的service来处理
好像还有一个开源的项目做了这个框架 不用自己写 google一下吧 |
|
d**k 发帖数: 1223 | 16 胖子, thanks a lot for all your help. I guess I need to spend some more time
on this thing. There is one question just pop up to my head: if a GWT form
submit to a URL, and Spring, say controller, catch the post and doing its
data process and then forwards to a view which renders as JSON, than how
could that form or other GWT component catch this JSON? |
|
o**1 发帖数: 6383 | 17 为什么要用 spring mvc? 直接 gwt async service 就可以吧,把 spring service
autowire 进 gwt service 里面。 |
|
f*****9 发帖数: 104 | 18 We successfully used GWT(and SmartGWT) + Spring in a few of our Web apps.
They all worked very well. We use a little bit of SpringMVC to interface GWT
RPC and Spring server. |
|
c*********e 发帖数: 16335 | 19 如果一個project,前台用javascript,jquery,ajax,后台用java。是用google gwt来开
发好,还是自己手写javascript好?
知道一個同事,他就用google chrome来写和edit他的javascript.他没用google gwt. |
|
h******k 发帖数: 388 | 20 网页开发正在选用哪种技术
Spring mvc + jsp+ jquery
或者GWT
我对GWT不太了解 |
|
h******k 发帖数: 388 | 21 看了一段时间gwt。有点担心会不会不太灵活。比如,如果gwt本身的widgets功能不足
的话怎么加额外的js code?google说可以写自己的widgets,但是总觉得没有直接在
client端写方便。
好处就是可以oo java编程javascript。code出错的机会应该少很多 |
|
J*******n 发帖数: 2901 | 22 web前端最好直接上JS
用GWT到后面难免会需要写JSNI code,而一旦想要升级新版本的GWT,原来的JSNI就不
一定能保证好用了,总之问题比较大,除非是不想学JS的exclusive Java Developer,
否则建议别用 |
|
y****e 发帖数: 23939 | 23 向GWT高手求助,一个GWT程序,发现CellBrowser无法在VerticalPanel/
HorizontalPane里面显示,直接放在RootLayoutPanel底下就没问题。请高手指点。谢
谢。 |
|
f*********s 发帖数: 34 | 24 zkoss looks really good.
What I like most compared to GWT is that it has the option to do the so-
called Server+client Fusion. Developers are allowed to access the client-
side widgets directly if they want to. ZK Client Engine is based on jQuery.
Technically you can use jQuery-compliant libraries and widgets.
zkoss does have the problem of making too many ajax requests to server, so
the GUI may feel retarded if the network latency is too high.
Also I don't see third party zkoss widgets like Sma... 阅读全帖 |
|
s******e 发帖数: 108 | 25 招Java Developer在湾区Santa Clara, CA
1. 熟悉database, 会SQL
知道SUM,COUNT,GROUP,HAVING.
2.熟悉Java.
[最好知道: Swing, GUI design, e]
3.熟悉Web编程,
最好知道Gwt(google web toolkit).
Please email your resume to:
j*********[email protected] |
|
s******e 发帖数: 108 | 26 招Java Developer在湾区Santa Clara, CA
1. 熟悉database, 会SQL.
知道SUM,COUNT,GROUP,HAVING.
Need to be good at SQL, at least above average level.
2.熟悉Java.
[最好知道: Swing, GUI design, e]
3.熟悉Web编程,
最好知道Gwt(google web toolkit).
Please email your resume to:
j*********[email protected] |
|
|
n*******y 发帖数: 3337 | 28 我们单位用GWT写UI,代码很多,编译很快,编译是一次性的,生成JavaScript后,把
这些JavaScript放到SEVER上。 |
|
n*******y 发帖数: 3337 | 29 呵呵,这是GOOGLE许诺的,生成最优的JavaScript。
当然最终都是JavaScript,从理论上说,jQuery,GWT能做的JavaScript都能做。
Share一小段生成的JavaScript,我觉得我写不出这样的JavaScript。
u[sb]=function(){if(document.querySelectorAll&&/native/.test(document.
querySelectorAll.toString())){return tb}return ub};t[sb]={js:0,'native':1};u
[vb]=function(){var b=navigator.userAgent.toLowerCase();var c=function(a){
return parseInt(a[1])*1000+parseInt(a[2])};if(b.indexOf(wb)!=-1){return wb}
else if(b.indexOf(xb)!=-1){return yb}else if(b.indexOf(zb)!=-1){if(documen... 阅读全帖 |
|
d********g 发帖数: 10550 | 30 这个GWT是只针对UI吧?用Django和这个应该不冲突吧? |
|
n*******y 发帖数: 3337 | 31 呵呵,不冲突,GWT只是GOOGLE考虑到大家如果要写复杂的JavaScript会比较累,它帮
大家自动生成了。 |
|
P********l 发帖数: 452 | 32 Yes.
The compiled result is javascript. If you need something extremely complex
that needs to be done on client side. You can try gwt.
One example is the game put on the google homepage several months ago. |
|
d*****n 发帖数: 3084 | 33 GWT有些年头了,我开始觉得不错,可是自从iOS风行以后,我不看好这个。以狗狗的实
力,如果开发一个本地word早就让M$胆颤了,可是弄什么在线的,就没有什么威胁。狗
狗也不是不犯大错的,像google drive就晚了,社交也晚了。 |
|
a*********e 发帖数: 135 | 34 MUST-HAVE: Strong Java + strong work ethic. GWT is strongly recommended.
BS/MS/PhD, entry-level/experienced all welcome.
Local job at a big reputable financial company that may support visa.
Email me for more details.
This is not a spam. I am not a recruiter. Just post as a favor to a friend. |
|
h****n 发帖数: 298 | 35 Client:SPR
Sr. Software Engg with Flex 1 to 2 Location:Chicago, IL
Sr. Software Engg with GWT & JQuery 2 to 3 Location:Chicago, IL
感兴趣的请联系我:
Name:图雅
Email: n**[email protected]
MSN: h*******[email protected] |
|
|
e*******0 发帖数: 367 | 37 以前写的一个project是用struts 1.2。最近要加几个非常复杂的page,ext-gwt提供很
多现成的widget,所以想用一下。有没有大侠这样做过?给点建议。谢谢。 |
|
h**k 发帖数: 662 | 38 how easy to use Spring Mvc or Struts to handle server part with GWT do front
end? |
|
n*****o 发帖数: 58 | 39 用最新的GWT for Mac,每次在Eclipse 32位运行都出现Invalid memory access of
location 00000000 rip=01160767,用的是Java 6,这个是不是Bug?有人遇到吗? |
|
h**k 发帖数: 662 | 40 要做个GWT的project, 有人知道这两个framework哪个比较好点吗。。谢谢了 |
|
k***r 发帖数: 4260 | 41 Ext-gwt 的 open source license只能用于open source ...
貌似都不理想 |
|
g*****g 发帖数: 34805 | 42 mf was talking about cloud. You certainly can use GWT as your front end,
and you can integrate with spring MVC if you want it that way.
It's probably simpler though, to integrate with a restful webservice. |
|
|
d**k 发帖数: 1223 | 44 hey, Thanks a lot, man. I will take a look to see if I can find any clue
about spring+gwt. |
|
d**k 发帖数: 1223 | 45 倒不是一定要用spring mvc, 以前的project就是这个的,想着如果mvc跟gwt好整合的
话,可能会头update 旧的project会方便些 |
|
m******t 发帖数: 2416 | 46
time
form
In GWT, you always submit an http request along with a callback, which
will be called with the response. And that's where the json string can be
processed. |
|
|