Views
- Event of IE6 closing - 1,400 views
- Add a Class to SQLite Database - 1,346 views
- PEOPLE IN AMERICA – Ann Landers - 765 views
- Hot Searches - 727 views
- 断章(卞之琳) - 632 views
- ChinaDaily晚报6.27 - 568 views
- ChinaDaily晚报12.20 - 558 views
- 禁用WordPress自动保存和历史版本AutoSave & Revisions - 551 views
- GWT工程运行出错 - 502 views
- 股价提醒网站www.stock-reminder.com - 499 views
-
Recent Posts
Categories
- English (12)
- IT (9)
- MyApp (1)
- Tips (2)
- uncategorized (1)
-
Hot Searches
-
Author Archives: leon
Large scale application development and MVP – Part II
The sample project, referenced throughout this tutorial, can be downloaded at Tutorial-Contacts2.zip. With the foundation of our MVP-based app laid out, you may be asking yourself, “Hey, why can’t I use that fancy UiBinder feature that was previously discussed?” This … Continue reading
Posted in uncategorized
Leave a comment
Large scale application development and MVP
Building any large scale application has its hurdles, and GWT apps are no exception. Multiple developers working simultaneously on the same code base, while maintaining legacy features and functionality, can quickly turn into messy code. To help sort things out … Continue reading
Posted in IT
Leave a comment
GWT Development with Activities and Places
GWT 2.1 introduced a built-in framework for browser history management. The Activities and Places framework allows you to create bookmarkable URLs within your application, thus allowing the browser’s back button and bookmarks to work as users expect. It builds on … Continue reading
Posted in IT
Leave a comment
股价提醒网站www.stock-reminder.com
使用Google App Engine平台做了个网站www.stock-reminder.com,功能就是服务器轮询当前股价,越过警戒就会向手机邮箱发送邮件,前台还有个web界面做配置。通过这个网站学到了不少新东西。 首先是学会了java语言,我会用的编程语言现在包括了C、C++、C#、Delphi、VB、php,现在又加上java,当前的主流语言都碰了。Java让用多了C风格语言的我感觉很怪异,它没什么阻塞的操作,使用addListener添加监听,程序里面有很多new出来的Listener。 其次就是GWT,我还使用了EXT-GWT,通过强语言编写网页比用HTML写网页感觉容易一些,用HTML写的话会很快迷失在一大堆HTML标签里面,还有CSS和布局,有时候元素直接差几个像素就是去不掉,我毕竟不是专业写网页的。通过GWT直接使用Layout布局(当然最后还是会编译成HTML和javascript),还用了EXT-GWT的MVC模式,感觉很不错,准备用GWT的MVP模式重构一下。 还有就是GAE提供DataStore,任务队列,用作服务器端的保存配置和轮询股价,发邮件则是我自己写的一个API调用我的空间上的一个mail程序,GAE的发邮件配额每天只有100封。 Java程序感觉对设计模式要求很高,这个网站的结构我不大满意调整了好几次,感觉还是有可以优化的地方。
Posted in IT
Leave a comment
GWT工程运行出错
创建一个使用AppEngine的GWT工程,出现如下错误: Exception in thread “main” java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.<init>(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager$SelectSet.<init>(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java:223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java:303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:667) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:500) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1055) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804) at com.google.gwt.dev.DevMode.main(DevMode.java:309) 解决方法:在项目的build path里面,把GWT SDK移到App Engine SDK前面。
Posted in IT
Leave a comment
ChinaDaily早报6.28
【Bonus Oriens】Youth is not a time of life; it is a state of mind; it is not a matter of rosy cheeks, red lips and supple knees; it is a matter of the will, a quality of the imagination, a … Continue reading
Posted in English
Leave a comment
ChinaDaily早报6.27
【Bonus Oriens】The world is a dangerous place. Not because of the people who are evil; but because of the people who don’t do anything about it. (Albert Einstein, German-born American physicist, 1879-1955)世界是个危险的地方。不是因为有恶人,而是因为有人无动于衷。(阿尔伯特·爱因斯坦,德裔美籍物理学家,1879-1955)【Highlights】>Wen Jiabao visits UK温家宝抵英启’商贸之旅’>US bridges made in China美国桥梁偏爱’中国制造’>iPad leads … Continue reading
Posted in English
Leave a comment
ChinaDaily晚报6.27
【Weather June 28】Shanghai: rainy 25~30℃【BOC Exchange Rates】100 USD = 647.5 CNY100 GBP = 1031.08 CNY100 EUR = 913.56 CNY100 HKD = 83.12 CNY100 JPY = 8.0151 CNY(以上基准价来源于中国银行网站。)【Markets】Shanghai Stock2758.23 +12.02 +0.44%HangSeng Stock22041.77 -130.18 -0.59%【Highlights】>Tax law amendment reviewed个税二审仍3000元起征>Best employers in China中移动中行成’最佳雇主’>Weibo to … Continue reading
Posted in English
Leave a comment
ChinaDaily晚报6.26
【Weather June 27】Shanghai: rainy 24~28℃【Highlights】>Brands likely disappear明年消失的品牌,你熟悉>Race to marry millionaires富豪相亲女宾泳装上阵>’Got Talent’ graces Beijing‘达人秀’京巡演杨澜加盟>Cameron blasts new EU HQ欧盟砸巨款建’子宫’总部>Latest ‘Bond’ marries‘邦德’闪婚娇妻有小金人>Fashion tycoon bribed cops英富豪’有钱难使鬼推磨’>China Daily Radio音频:小心别当’电灯泡’!【Cover Story】>Meari packs rain and wind风暴’米雷’擦过山东半岛Tropical storm Meari is shaving off the eastern coast of Shandong Peninsula … Continue reading
Posted in English
Leave a comment
ChinaDaily早报6.26
【Bonus Oriens】We are always getting ready to live, but never living. (Ralph Waldo Emerson, American poet and essayist, 1803-1882)我们总是在为生活做准备,却从来没有真正生活。(拉尔夫·沃尔多·爱默生,美国诗人、散文家,1803-1882)【Highlights】>China to buy Hungary’s debt中国称愿买匈牙利国债>E China’s Meari strengthens‘米雷’挺进东部沿海地区>More invest in securities面对通胀国人选择投资>Libya footballers defect利比亚众国脚叛逃反对派>’Mad Men’ goes retail时尚搭载美剧共同’抢钱’ 【Cover Story】>Drug abuse hot topic online网民关注明星涉毒事件June … Continue reading
Posted in English
Leave a comment
