当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: One of the primary design goals
 

 

    摘要:this is the first in a two-part series on event management in large distributed applications built on top of enterprise javabeans (ejb). this installment will cover the architecture and the implementa......
    摘要:henry ford revolutionized manufacturing with the first automated assembly line in 1913, incorporating the latest time-study theories to make model ts flow through the system "like the flow of wat......


Developing Cross-Platform Applications in Java @ JDJ
one of the primary design goals for java is the idea of "write once, run anywhere." java is therefore an ideal language choice when faced with the challenge of developing a platform-independent application.

many articles have been written on applet development and the use of java for bringing more interactivity to pages on the web. while this is a valid use of java, its equally well suited for developing more traditional standalone or client/server applications that can run across multiple platforms. when java is used to develop each of the tiers of an n-tier client/server application, its cross-platform nature offers additional benefits, including scalability (independent of hardware platform), flexibility and vendor independence.

which jdk?

1. good programming practices 【程序编程相关:通过内部类的一个例子展示java中的可访

one advantage of application development over applet development is that you have much more control over which version of the jdk to use. if youre developing a small application for deployment in the next couple of months, you should probably use jdk 1.1. however, you may want to consider using jdk 1.2 (also known as java 2 sdk, version 1.2) for slightly longer-term projects. it offers many new features and improved performance.

whichever version you decide to use, be sure to bundle the appropriate java runtime environment when you distribute your application.

application development, with its more relaxed security model, allows lower-level access to the operating system. this access, however, can result in your applications becoming platform-specific. in this article ill look at five primary areas you should pay special attention to when developing cross-platform java applications: 【推荐阅读:Java 2 引用类使用指南

3. read/write files 【扩展信息:字节码如何防止内存错误及提高代码质量

2. os differences and limitations

4. graphical user interface design

5. other issues

good programming practices

depend only on the core apis.

the java core api forms a standard foundation of classes that all java virtual machines must implement to be considered "standard java."

if you use any third-party class libraries, youll need to distribute their runtime versions (which may require a separate license). its also recommended that you verify that these third-party libraries make use of the core java api only and dont use any native calls. otherwise the code you write may be cross-platform. however, since your code depends on a third-party product thats not cross-platform, your resulting application wont be cross-platform either.

enable all compiler warnings.

by default, the java compiler generates warnings for code it
...   下一页
 ·practical layout managers @ jdj    »显示摘要«
    摘要: this article tries to take the mystery out of the black art of developing layout managers. much of the coverage in books and magazines typically centers on trying to wrench the complicated gridbagl......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE