当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: J2SE 1.5 in a Nutshell Java 2 P
 

 

    摘要:如何处理未捕获的异常 john zukowski (jaz@zukowski.net) 总裁, jz ventures, inc.2004 年 8 月 跟踪无法预期的运行时异常可能是一件又慢又费力的事情,只获得默认线程名称和堆栈跟踪通常是不够的。在驯服 tiger 这一期专栏中,java 开发人员 john zukowski 向您展示了如何通过替代默认行为来定制输出。他还对比了通过细分 th......
 ·linux手机媒体播放器软件    »显示摘要«
    摘要: 最近本人想做一个手机在线播放服务器,选定的手机是三星的i519,但是三星的所有手机都是用linux操作系统,它自带的播放器也不支持视频在线播放。好不容易找到三星的售后服务技术工程师,答复是必须用广州富年的播放软件,而该软件只认富年自家的东西,别的一概不行。 linux操作系统号称是代码开放,但它的开放只是对于高端开发人员有用;三星手机号称是支持各种操作系统,但它在发售时只用linux操作系统......


J2SE 1.5 in a Nutshell 作者:Calvin Austin
j2se 1.5 in a nutshell

with so many exciting changes in this release, you may be wondering where you should start. as in previous releases, the comprehensive list of all changes is available in the release notes guide. this article, from the j2se team, will take you through the major changes so that you have a grasp of what j2se 1.5 has to offer, before diving into the api docs. 【程序编程相关:在ASP.NET FORUMS中一种存储

java 2 platform, standard edition (j2se) version 1.5 ("tiger") is the next major revision to the java platform and language; it is currently slated to contain 15 component jsrs with nearly 100 other significant updates developed through the java community process (jcp). 【推荐阅读:优化代码,看看哪个执行速度更快!!!

ease of development scalability and performance monitoring and manageability desktop client

【扩展信息:劝创业者——别拿自己当回事

the j2se 1.5 release is focused along certain key themes:

there are a small number of features that are just as important but didn´t neatly fit in with the themes; they are listed at the end:

miscellaneous features

ease of development

you may have already seen reports about some of the new java language changes that comprise the ease of development theme. the changes include generic types, metadata, autoboxing, an enhanced for loop, enumerated types, static import, c style formatted input/output, variable arguments, concurrency utilities, and simpler rmi interface generation.

jsr-201 contains four of these language changes; enhanced for loop, enumerated types, static import and autoboxing; jsr-175 specifies the new metadata functionality, while jsr-14 details generic types.

the new default language specification implemented by the javac compiler is version 1.5, you do not need to supply the option -source 1.5 as required in beta1.

metadata

the metadata feature in j2se 1.5 provides the ability to associate additional data alongside java classes, interfaces, methods, and fields. this additional data, or annotation, can be read by the javac compiler or other tools, and depending on configuration can also be stored in the class file and can be discovered at runtime using the java reflection api.

one of the primary reasons for adding metadata to the java platform is to enable development and runtime tools to have a common infrastructure and so reduce the effort required for programming and deployment. a tool could use the metadata information to generate additional source code, or to provide additional information when debugging.


...   下一页
 ·浅谈数据库设计技巧(下).txt    »显示摘要«
    摘要:  三、多用户及其权限管理的设计  开发数据库管理类的软件,不可能不考虑多用户和用户权限设置的问题。尽管目前市面上的大、中型的后台数据库系统软件都提供了多用户,以及细至某个数据库内某张表的权限设置的功能,我个人建议:一套成熟的数据库管理软件,还是应该自行设计用户管理这块功能,原因有二:  1.那些大、中型后台数据库系统软件所提供的多用户及其权限设置都是针对数据库的共有属性,并不一定能完全满足某些特......
» 本期热门文章:

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