当前位置:首页 » 编程博文
开发技术指南» 文章正文
    引言: Oracle DEVELOPERJDOM AND XML PAR
 

 

 ·ioc和dependency injection     »显示摘要«
    摘要: 介绍 其实ioc模式并不是什么新的东西,它是一种很普遍的概念(或者说结构),gof中的template method 就是ioc的结构。顾名思义,ioc即控制反转。著名的好莱坞原则:“don’t call us, we will call you”,以及robert c. martin在其敏捷软件开发中所描述的依赖倒置原则(dependency in......
    摘要:中国的政治经济格局正在酝酿着一场变革,而作为高新技术产业的软件行业,必将成为这场变革的先锋队成员。这里我不想对政治经济的变革做什么展望,仅仅对软件行业的未来谈谈自己的看法。 当前软件行业人士普遍存在两种错误观点:第一种观点认为我们应该培养软件蓝领,向印度学习,依靠外包和出口求得进步;第二种观点认为,我们缺乏自身的核心技术,应该要重视底层技术,力求做研究型开发,做出自己的pc,乃至操作系统等等。第......


JDOM Programming Part 1
oracle developer

jdom and xml parsing

jdom and xml parsing, part 1 【程序编程相关:让XDoclet为你写存根类

【推荐阅读:PHP PEAR中Database(DB

jdom makes xml manipulation in java easier than ever. 【扩展信息:会员管理系统中会员类的实现

by jason hunter

chances are, you´ve probably used one of a number of java libraries to manipulate xml data structures in the past. so what´s the point of jdom (java document object model), and why do developers need it?

jdom is an open source library for java-optimized xml data manipulations. although it´s similar to the world wide web consortium´s (w3c) dom, it´s an alternative document object model that was not built on dom or modeled after dom. the main difference is that while dom was created to be language-neutral and initially used for javascript manipulation of html pages, jdom was created to be java-specific and thereby take advantage of java´s features, including method overloading, collections, reflection, and familiar programming idioms. for java programmers, jdom tends to feel more natural and "right." it´s similar to how the java-optimized rmi (remote method invocation) library feels more natural than the language-neutral corba (common object request broker architecture).

you can find jdom at jdom.org under an open source apache-style (commercial-friendly) license. it´s collaboratively designed and developed and has mailing lists with more than 3,000 subscribers. the library has also been accepted by sun´s java community process (jcp) as a java specification request (jsr-102) and is on track to become a formal java specification.

the articles in this series will provide a technical introduction to jdom. this article provides information about important classes. the next article will give you a feel for how to use jdom inside your own java programs.

oracle xml tools

the xml developer kit (xdk) is a free library of xml tools that oracle provides for developers. it includes an xml parser and an xslt transformation engine that can be used with jdom. you can find lots of information about these tools at the oracle xml home page, oracle.com/xml.

to download the parser, look for the xml developer kit names "xdk for java." click on "software" in the left column for the download links. once you unpack the distribution, the file xalparserv2.jar contains the parser.

to configure jdom and other software to use the oracle parser by default, you need to set the jaxp javax.xml.parsers.saxparserfactory system property to oracle.xml.jax.jxsaxparserfactory. this tells jaxp that you prefer the oracle parser. the easiest way is at the command line:


...   下一页
 ·effective stl条款50    »显示摘要«
    摘要:条款50:让你自己熟悉有关stl的网站 因特网充满了stl的信息。用你最喜欢的搜索引擎寻找“stl”,它一定会返回几百个链接,其中有一些可能实际上是相关的。不过,对于大多数stl程序员,没有必要搜寻。下列网站应该要提升到几乎每个人的最常使用列表的顶端: sgi stl网站,http://www.sgi.com/tech/stl/。 stlport网站,http......
» 本期热门文章:

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