Testing Wireless Java Applications
http://developers.sun.com/mobility/midp/articles/test/
by Qusay H. Mahmoud
November 2002
Conclusion
Testing is a systematic approach to finding errors in programs. It is a very challenging process in the wireless application market because an application is developed on one platform and deployed on ones that are vastly different. The process is complicated even further by the availability of a wide range of devices that implement different versions of the KVM, CLDC, and MIDP, and that provide extension APIs not available on all devices. To achieve the maximum portability, verify that your applications use the standard APIs.
稍微有些老的文章。但是写的挺完整,文后的参考引用不少,过期的也有几个。
Wireless Software Design Techniques
http://developers.sun.com/mobility/midp/articles/uidesign/
by Qusay H. Mahmoud with contributions from Nicholas Lorain
May 2002
Conclusion
Mobile devices are already available, and all the necessary components and infrastructure are in place to begin developing and deploying wireless applications. This article discussed the important issues of the wireless environment you must consider when developing applications for mobile wireless devices with limited resources. It also offered hints and guidelines for dealing with the constraints imposed by the wireless environment.
In order to succeed in the wireless market, you need to develop relationships with other developers, device manufacturers, content developers, and wireless carriers. You must be prepared to take risks, but remember that the future is bright for wireless software developers, as the emphasis on Wireless Internet opportunities will continue to grow.
上篇文章同一作者。也是稍旧了些。
Java ME
http://java.sun.com/javame
当然是最官方,最初始的地方。但是因为刚开始时接触,j2me 本身也不熟悉,网页一眼望去抓不到重点。也没发现类似于 jdk 的 tutorials 。这个 tutorials 在当年咱刚开始使用 java 时候帮了不少忙得。现在,偶尔也会走上两眼。

http://j2meunit.sourceforge.net/
package j2meunit.framework;
好像是应用最广泛的 ut framework 。虽然据说是 Based on JUnit ,框架确实类似,但代码本身和 JUnit 并不兼容:没有继承关系,包也不一样。应该是为了适应 j2me 的运行环境(没有反射…),一些关键方法的实现,两者也不一样。例如:在 junit (3.8.2) 中 TestCase 的 suite() 是(静态的)类方法,j2meUnit 则按照实例方法设计的。
最新的正式版本是 03 年十月的 1.1.1 。

http://eclipseme.org/
eclipse 上 jme 的开发工具。最新版是本月前几天(2007.07.15)发布的 1.7.3 。(正式)支持 eclipse 3.2 ,3.3 也能凑合着用。eclipse.org 上也有 jme 的插件项目。当前还没有发布到正式版。
sun 的 netbeans 应该对 jme 的开发也有相当的支持。因为现在咱还没有用到,所以暂时失语。
发表于 @ 2007年07月29日 19:35:00|评论(loading...)|编辑