<?xml version="1.0" encoding="gb2312"?>

<!-- RSS generated by oioj.net on 4/16/2004 ; 感谢LeXRus提供 RSS 2.0 文档; 此文件可自由使用，但请保留此行信息 --> 
<!-- Source download URL: http://blogger.org.cn/blog/rss2.asp       -->
<rss version="2.0">

<channel>
<title>instillwater的博客</title>
<link>http://blogger.org.cn/blog/blog.asp?name=instillwater</link>
<description>instillwater的博客</description>
<copyright>blogger.org.cn</copyright>
<generator>W3CHINA Blog</generator>
<webMaster>webmaster@blogger.org.cn</webMaster>
<item>
<title><![CDATA[From: http://bbs.nju.edu.cn/vd775787/bbstcon?board=JobAndWork&file=M.1131103267.A]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=9644</link>
<author>instillwater</author>
<pubDate>2005/11/6 7:50:38</pubDate>
<description><![CDATA[转载自: <A href="http://bbs.nju.edu.cn/vd775787/bbstcon?board=JobAndWork&amp;file=M.1131103267.A" target=_blank>http://bbs.nju.edu.cn/vd775787/bbstcon?board=JobAndWork&amp;file=M.1131103267.A</A><BR><BR>]]></description>
</item><item>
<title><![CDATA[From: http://www.xml.com/pub/a/98/06/rdf.html]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=8468</link>
<author>instillwater</author>
<pubDate>2005/9/11 9:48:53</pubDate>
<description><![CDATA[转载自: <A href="http://www.xml.com/pub/a/98/06/rdf.html" target=_blank>http://www.xml.com/pub/a/98/06/rdf.html</A><BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top><!--  logo  --><A href="http://www.xml.com/index.csp"><IMG height=74 alt="XML.com: XML From the Inside Out" hspace=0 src="http://www.xml.com/images/logo_tagline.jpg" width=135 border=0></A></TD></TR></TBODY></TABLE><BR><!--  header  -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top><!--  tabs  --><A href="http://www.xml.com/"><IMG height=18 alt=XML.com src="http://www.xml.com/images/tab-xml.gif" width=97 border=0></A><A href="http://webservices.xml.com/"><IMG height=18 alt=WebServices.XML.com src="http://www.xml.com/ws/images/webservices_tab.gif" width=97 border=0></A><A href="http://www.oreillynet.com/"><IMG height=18 alt="O'Reilly Network" src="http://www.xml.com/images/tab-on.gif" width=93 border=0></A><A href="http://www.oreilly.com/"><IMG height=18 alt=oreilly.com src="http://www.xml.com/images/tab-oreilly.gif" width=94 border=0></A></TD></TR>
<TR>
<TD class=header vAlign=center bgColor=#000066 colSpan=2 height=26>&nbsp;&nbsp;<A class=header href="http://www.xml.com/resourceguide/">Resources</A><B> | </B><A class=header href="http://www.xml.com/buyersguide">Buyer's Guide</A><B> | </B><A class=header href="http://www.oreillynet.com/cs/nl/home">Newsletter</A><B> | </B><A class=header href="http://safari.oreilly.com/">Safari Bookshelf</A></TD></TR><!--  Leaderboard 728 x 90  -->
<TR>
<TD style="PADDING-RIGHT: 6px; PADDING-LEFT: 6px; PADDING-BOTTOM: 6px; PADDING-TOP: 6px" align=middle bgColor=#efefef colSpan=2>
<TABLE cellSpacing=0 width=728 border=0>
<TBODY>
<TR>
<TD><!-- dy --><IFRAME marginWidth=0 marginHeight=0 src="http://ad.doubleclick.net/adi/xml.ds/art;pos=top_art;sz=728x90;ord=1318998251?" frameBorder=0 width=728 scrolling=no height=90>
				<script type="text/javascript" language="JavaScript1.1" src="http://ad.doubleclick.net/adj/xml.ds/art;abr=!ie;pos=top_art;sz=728x90;ord=1318998251?"></script>
				</IFRAME><NOSCRIPT>
				<a href="http://ad.doubleclick.net/jump/xml.ds/art;abr=!ie;pos=top_art;sz=728x90;ord=1318998251?"><img src="http://ad.doubleclick.net/ad/xml.ds/art;abr=!ie;pos=top_art;sz=728x90;ord=1318998251?" border="0" width="728" height="90" alt="Advertisement" /></a>
				</NOSCRIPT></TD></TR></TBODY></TABLE><IMG height=10 alt=advertisement src="http://www.xml.com/images/ads/advertisement.gif" width=120 border=0> </TD></TR>
<TR><!-- Text ad --><!--  lc/107  -->
<TD vAlign=center align=middle bgColor=#cc0033 colSpan=3 height=22><SPAN class=medlist style="COLOR: #ffffff">Try <A class=medlist style="COLOR: #ffffff" href="http://www.altova.com/ref?s=xmlcom&amp;q=suite"><STRONG>Altova's XML Suite 2005</STRONG></A> FREE for 30 days - #1 with XML developers worldwide!</SPAN> <!-- 
<span class="medlist" style="color: #ffffff">
Map EDI content to XML and vice versa - Download
 <a class="medlist" style="color: #ffffff" href="http://www.altova.com/ref?s=xmlcom&q=edi"><b>Altova MapForce 2005</b></a> today!</span>
! --></TD></TR>
<TR>
<TD vAlign=top colSpan=2><IMG height=5 alt=" " src="http://www.xml.com/images/trans.gif" width=1></TD></TR></TBODY></TABLE><!--  main content table  -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width=5 rowSpan=4><IMG height=1 alt=" " src="http://www.xml.com/images/trans.gif" width=5></TD>
<TD vAlign=top width=130 rowSpan=4><!--  navbar top  --><!--  lc/5  -->
<TABLE cellSpacing=0 cellPadding=0 width=145 border=0>
<TBODY>
<TR>
<TD vAlign=top><IMG height=12 alt=" " src="http://www.xml.com/images/blue-arrow.gif" width=10 align=top border=0>&nbsp;<IMG height=11 alt=Topics src="http://www.xml.com/images/topics.gif" width=90 align=top border=0><BR><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://www.xml.com/business/">Business</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://www.xml.com/databases/">Databases</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://www.xml.com/graphics/">Graphics</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://www.xml.com/metadata">Metadata</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://www.xml.com/mobile/">Mobile</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://www.xml.com/programming/">Programming</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://www.xml.com/schemas">Schemas</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://www.xml.com/semweb/">Semantic Web</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://www.xml.com/style">Style</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://www.xml.com/web/">Web</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR>
<TR>
<TD vAlign=top><A class=navlink href="http://webservices.xml.com/">Web Services</A></TD></TR>
<TR>
<TD vAlign=top><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/redline.jpg" width=145 border=0></TD></TR></TBODY></TABLE><BR><!--  120x240  --><!--  Progress Software ! -->
<CENTER><SPAN class=navlink style="MARGIN-LEFT: -4px">Sponsored By</SPAN></CENTER>
<DIV class=nav style="BORDER-RIGHT: #000066 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: #000066 1px solid; PADDING-LEFT: 3px; LEFT: 4px; PADDING-BOTTOM: 3px; BORDER-LEFT: #000066 1px solid; WIDTH: 120px; PADDING-TOP: 3px; BORDER-BOTTOM: #000066 1px solid; POSITION: relative; HEIGHT: 240px; TEXT-ALIGN: left"><A href="http://www.stylusstudio.com/xml_feature_overview.html"><IMG height=29 alt="Stylus Studio XML IDE" src="http://www.xml.com/images/ads/stylus_logo_120x29.gif" width=120 border=0></A> 
<P style="MARGIN-TOP: 12px; FONT-WEIGHT: bold; FONT-SIZE: 13px; MARGIN-BOTTOM: 5px; FONT-FAMILY: lucida grande,geneva,helvetica,arial,sans-serif"><A href="http://www.stylusstudio.com/xml_editor.html">XML Development Tools</A> </P>
<P><A href="http://www.stylusstudio.com/">Free Download Stylus Studio ?The World's best XML Editor!</A> </P>
<P><A href="http://www.stylusstudio.com/learn_xml.html">Learn XML development with Stylus Studio XML IDE</A></P>
<P><A href="http://www.stylusstudio.com/SSDN/default.asp">Join the XML discussion at the Stylus Studio Developer Network</A> </P></DIV><BR><!-- 
<csperl>
## code to insert ad tag 
my $pathinfo = $cfg->{PATH_INFO} || $cgi->path_info();
my ($junk,$table,$ref_id) = split /\//, $pathinfo, 3;
## ads, here only on article pages and not on the wixml pages
if ($ref_id) {
  if ($ref_id !~ /^\d+$/) {
    $ref_id = "/$ref_id";
  }
}

my $f = new CS::Form( cfg => $cfg, table => "$table", id => "$ref_id" );
        unless ($f->{r}->{ARGS}->{'adcode'} eq 'wixml') {
  	          my %ARGS = ( 'co'     => 'dc',
                               'pos'    => 'l',
		               'height'	=> "240",
		               'width'	=> "120",
                               'page'   => "home",
);
           $id_subject = $f->{r}->{ARGS}->{'id_subject'} ;
              #if ($id_subject =~ /10/) {
              #       $ARGS{'page'} = 'databases';
              #}
              #if ($id_subject =~ /3/) {
              #       $ARGS{'page'} = 'mobile';
              #}
if ($pathinfo =~ /^\/a\/\//) {
    $ARGS{'page'} = 'art';
}
#if ($pathinfo =~ /^\/databases\//) {
#    $ARGS{'page'} = 'databases';
#}
#if ($pathinfo =~ /^\/mobile\//) {
#    $ARGS{'page'} = 'mobile';
#}
if ($pathinfo =~ /^\/resourceguide\//) {
    $ARGS{'co'} = 'none';
}
if ($pathinfo =~ /^\/buyersguide\//) {
    $ARGS{'co'} = 'none';
}
if ($pathinfo =~ /\/pt\// ) {
   $ARGS{'co'} = 'none';
}
if ($pathinfo =~ /\/r\// ) {
   $ARGS{'co'} = 'none';
}
if ($pathinfo =~ /\/p\// ) {
   $ARGS{'co'} = 'none';
}
if ($pathinfo =~ /\/rg\// ) {
   $ARGS{'co'} = 'none';
}


my $ad = new CS::Ad( cfg => $self->{cfg}, params => \%ARGS );

	             print $ad->AdTag;
         }

</csperl>
! -->
<P class=secondary><SPAN class=navlink>Sponsored Zones</SPAN><BR><A href="http://linuxdevcenter.com/linux/novell/">Novell Learning Channel</A></P><SPAN class=secondary><IMG height=12 alt=" " src="http://www.xml.com/images/blue-arrow.gif" width=10 align=top border=0>&nbsp; <IMG height=11 alt=Essentials src="http://www.xml.com/images/essentials.gif" width=90 border=0><BR><A href="http://www.xml.com/pub/a/axml/axmlintro.html">Annotated&nbsp;XML</A><BR><A href="http://www.xml.com/pub/a/98/10/guide0.html">What&nbsp;is&nbsp;XML?</A><BR><A href="http://www.xml.com/pub/a/2000/08/holman/index.html">What&nbsp;is&nbsp;XSLT?</A><BR><A href="http://www.xml.com/pub/a/2002/03/20/xsl-fo.html">What&nbsp;is&nbsp;XSL-FO?</A><BR><A href="http://www.xml.com/pub/a/2000/09/xlink/index.html">What&nbsp;is&nbsp;XLink?</A><BR><A href="http://www.xml.com/pub/a/2000/11/29/schemas/part1.html">What&nbsp;is&nbsp;XML&nbsp;Schema?</A><BR><A href="http://www.xml.com/pub/a/2002/10/16/xquery.html">What&nbsp;is&nbsp;XQuery?</A><BR><A href="http://www.xml.com/pub/a/2001/01/24/rdf.html">What&nbsp;is&nbsp;RDF?</A><BR><A href="http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html">What&nbsp;is&nbsp;RSS?</A><BR><A href="http://www.xml.com/pub/a/2005/02/09/xml-http-request.html">What&nbsp;is&nbsp;AJAX?</A><BR><A href="http://www.xml.com/pub/a/2002/09/11/topicmaps.html">What&nbsp;are&nbsp;Topic&nbsp;Maps?</A><BR><A href="http://webservices.xml.com/pub/a/ws/2001/04/04/webservices/index.html">What&nbsp;are&nbsp;Web&nbsp;Services?</A><BR><A href="http://www.xml.com/pub/a/2001/09/05/xforms.html">What&nbsp;are&nbsp;XForms?</A><BR><A href="http://www.xml.com/cookbooks/xsltckbk/solution.csp?day=1">XSLT&nbsp;Recipe&nbsp;of&nbsp;the&nbsp;Day</A><BR><BR></SPAN><!--  additional 120x240  --><!--  navbar bottom  --><!--  lc/53  -->
<P class=secondary><A href="http://www.xml.com/cs/user/login">Manage Your Account</A><BR><A href="http://www.xml.com/cs/user/lostpw">Forgot Your Password?</A></P>
<P class=secondary><IMG height=12 alt=" " src="http://www.xml.com/images/blue-arrow.gif" width=10 align=top border=0>&nbsp;<IMG height=11 alt=Find src="http://www.xml.com/universal/images/find.gif" width=36 border=0><BR><A href="http://www.xml.com/search/">Search</A><BR><A href="http://www.xml.com/pub/a/archive/">Article Archive</A><BR><BR></P><A href="http://www.xml.com/pub/a/2001/03/21/xml_com_feed.html"><IMG height=60 alt="Add XML to your Website" src="http://www.xml.com/universal/images/add-xml.gif" width=120 border=0></A> <!--  columns query  -->
<P class=secondary><IMG height=12 alt=" " src="http://www.xml.com/images/blue-arrow.gif" width=10 align=top border=0>&nbsp;<IMG height=11 alt=Columns src="http://www.xml.com/images/columns.gif" width=75 border=0><BR><A href="http://www.xml.com/pub/at/20">&lt;taglines/&gt;</A><BR><A href="http://www.xml.com/pub/at/25">Dive into XML</A><BR><A href="http://www.xml.com/pub/at/33">Hacking Congress</A><BR><A href="http://www.xml.com/pub/at/30">Hacking the Library</A><BR><A href="http://www.xml.com/pub/at/29">Java Web Services Security</A><BR><A href="http://www.xml.com/pub/at/26">Jon Udell</A><BR><A href="http://www.xml.com/pub/at/15">Perl and XML</A><BR><A href="http://www.xml.com/pub/at/28">Practical XQuery</A><BR><A href="http://www.xml.com/pub/at/24">Python and XML</A><BR><A href="http://www.xml.com/pub/at/21">Rich Salz</A><BR><A href="http://www.xml.com/pub/at/22">Sacré SVG</A><BR><A href="http://www.xml.com/pub/at/31">Standards Lowdown</A><BR><A href="http://www.xml.com/pub/at/34">The Restful Web</A><BR><A href="http://www.xml.com/pub/at/16">Transforming XML</A><BR><A href="http://www.xml.com/pub/at/13">XML Q&amp;A</A><BR><A href="http://www.xml.com/pub/at/32">XML Tourist</A><BR><A href="http://www.xml.com/pub/at/17">XML-Deviant</A><BR></P><!--  p class="secondary">
<img src="/images/blue-arrow.gif" alt=" " width="10" height="12" border="0" align="top" />&nbsp;<img src="/images/columns.gif" width="75" height="11" alt="Columns" border="0" /><br />
<a href="/pub/q/xmldeviant">XML-Deviant</a><br />
<a href="/pub/q/stylematters">Style Matters</a><br />
<a href="/pub/q/xmlqanda">XML Q&amp;A</a><br />
<a href="/pub/q/transformingxml">Transforming XML</a><br />
<a href="/pub/q/perlxml">Perl and XML</a><br />
<a href="http://webservices.xml.com/pub/q/salz">Rich Salz</a>
<br />
<a href="http://webservices.xml.com/pub/q/udell">Jon Udell</a>
<br />
<a href="/pub/q/taglines">&lt;/taglines&gt;</a>
<br />
<a href="/pub/q/sacresvg">Sacr&eacute; SVG</a>
<br />
<a href="/pub/q/pyxml">Python and XML</a><br />
<a href="/pub/q/divexml">Dive Into XML</a><br />
<br />
</p  -->
<P class=secondary><IMG height=12 alt=" " src="http://www.xml.com/images/blue-arrow.gif" width=10 align=top border=0>&nbsp;<IMG height=11 alt=Guides src="http://www.xml.com/universal/images/guides.gif" width=54 border=0><BR><A href="http://www.xml.com/resourceguide/">XML&nbsp;Resources</A><BR><A href="http://www.xml.com/buyersguide/">Buyer's&nbsp;Guide</A><BR><A href="http://www.xml.com/events">Events&nbsp;Calendar</A><BR><A href="http://www.xml.com/pub/q/stdlist">Standards List</A><BR><A href="http://www.xml.com/pub/q/submlist">Submissions List</A><BR><BR></P><SPAN class=secondary><IMG height=12 alt=" " src="http://www.xml.com/images/blue-arrow.gif" width=10 align=top border=0>&nbsp;<IMG height=11 alt=Toolbox src="http://www.xml.com/universal/images/toolbox.gif" width=67 border=0><BR><IMG height=5 alt=" " src="http://www.xml.com/images/trans.gif" width=150 border=0><BR><A href="http://www.xml.com/pub/a/tools/ruwf/check.html">Syntax&nbsp;Checker</A><BR><BR><IMG height=10 alt="" src="http://www.xml.com/images/trans.gif" width=140 border=0> </SPAN><BR><BR>
<DIV align=center><!--  DeveloperShed Partnership  --><!-- 
<img src="/images/trans.gif" alt="" width="10" height="5" border="0" /><br />
<table border="0" cellpadding="1" cellspacing="0" width="136">
<tr><td bgcolor="#336699">
<table border="0" cellpadding="0" cellspacing="0" width="136">
<tr><td><a href="http://www.developershed.com/" target="_new"><img src="/images/ads/dev-shed.gif" alt="Developer Resources Partner" width="136" height="21" border="0" /></a>
<div style="background:#336699; margin-right:4px; padding:2px; font-weight:normal;" class="nav">
<ul style="margin:0;padding-left:1.6em;list-style-image:url;">
<li style="margin-bottom:0.1em;"><a href="http://www.devshed.com" class="nav" style="text-decoration: underline" target="_new">Open Source</a></li>
<li style="margin-bottom:0.1em;"><a href="http://www.aspfree.com" class="nav" style="text-decoration: underline" target="_new">ASP Help</a></li>
<li style="margin-bottom:0.1em;"><a href="http://www.devarticles.com" class="nav" style="text-decoration: underline" target="_new">Developer Tutorials</a></li>
<li style="margin-bottom:0.1em;"><a href="http://www.devhardware.com" class="nav" style="text-decoration: underline" target="_new">Computer Hardware</a></li>
<li style="margin-bottom:0.1em;"><a href="http://www.SEOChat.com" class="nav" style="text-decoration: underline" target="_new">Search Engine Optimization</a></li>
<li style="margin-bottom:0.1em;"><a href="http://www.scripts.com" class="nav" style="text-decoration: underline" target="_new">Scripts</a></li>
</ul>
</div>
</td></tr></table>
</td></tr></table>
<img src="/images/trans.gif" alt="" width="10" height="5" border="0" /><br />
 --><BR><!--  RSS  -->
<P>
<CENTER><A href="http://www.oreillynet.com/pub/feed/20"><IMG style="DISPLAY: block; PADDING-BOTTOM: 10px" height=15 alt="Atom 1.0 Feed" src="http://www.xml.com/images/icons/atom.gif" width=80 border=0></A> <A href="http://www.oreillynet.com/pub/feed/20?format=rss1"><IMG style="DISPLAY: block; PADDING-BOTTOM: 10px" height=15 alt="RSS 1.0 Feed" src="http://www.xml.com/images/icons/rss1.gif" width=80 border=0></A> <A href="http://www.oreillynet.com/pub/feed/20?format=rss2"><IMG style="DISPLAY: block; PADDING-BOTTOM: 10px" height=15 alt="RSS 2.0 Feed" src="http://www.xml.com/images/icons/rss2.gif" width=80 border=0></A> </CENTER>
<P></P><BR><!--  Hotel Links  --><!--  div class="noindex">
<div align="center" class="tiny">Traveling to a Tech Show?<br />
<table cellpadding="4" cellspacing="0" style="border-width: 1px; border-style: solid; border-color: #333333;">
<tr>
<td bgcolor="#cccccc">
<p class="tiny"><a href="http://www.freenewyorkhotelguide.com/">New York City Hotels</a><br />
<a href="http://www.canadianhotelguide.com">Canada Hotels</a><br />


<a href="http://www.freehotelsearch.com/us/Texas-hotels/Dallas-hotels.html">Dallas Hotels</a><br />
	
<a href="http://texas.americanhotelguide.com/Houston">Houston Hotels</a><br />
<a href="http://www.freehotelsearch.com/">Discount Hotels</a><br />
<a href="http://www.freehotelsearch.com/us/California-hotels.html">Hotels in California</a><br />

	

<a href="http://www.freehotelsearch.com/us/Nevada-hotels/Las_Vegas-hotels.html">Discount Las Vegas Hotels</a><br />



<a href="http://www.freehotelsearch.com/us/New_York-hotels/Manhattan-hotels.html">Manhattan Hotels New York</a>
</p>
</td>
</tr>
</table>

</div>
</div>
<br /  --><!--  div class="noindex">
<div align="center" class="tiny">XML.com supported by:<br />
<table cellpadding="4" cellspacing="0" style="border-width: 1px; border-style: solid; border-color: #333333; width: 125px; text-align: center;">
<tr>
<td bgcolor="#cccccc">
<p class="tiny">
<a href="http://mortgage.alloptions.com/">Mortgage Refinancing</a></p>
</td>
</tr>
</table>
</div>
</div  --><BR></DIV></TD>
<TD vAlign=top width=10 rowSpan=4><IMG height=1 alt=" " hspace=0 src="http://www.xml.com/images/trans.gif" width=10></TD><!--  content here  -->
<TD vAlign=top><!--  begin discuss-print-email-spanish-safariu  options  -->
<TABLE cellSpacing=1 cellPadding=0 width=200 align=right border=0>
<TBODY>
<TR>
<TD rowSpan=99>&nbsp;&nbsp;&nbsp;<!-- spacer column  --></TD>
<TD align=right width=18><A class=secondary title="Go to a print-friendly version of this page." href="http://www.xml.com/lpt/a/98/06/rdf.html"><IMG height=18 alt=Print. hspace=3 src="http://www.xml.com/images/icons/print_18.gif" width=18 border=0></A></TD>
<TD class=secondary noWrap align=left><A class=secondary title="Go to a print-friendly version of this page." href="http://www.xml.com/lpt/a/98/06/rdf.html">Print</A></TD><!--  code to add add-to-project option  -->
<TD align=right width=18><A class=secondary title="Add to Project." onclick="window.open('https://www.safariu.com/sadd?uri=http%3A%2F%2Fwww.xml.com%2Fpub%2Fa%2F98%2F06%2Frdf.html&amp;type=article','AddToProject','toolbar=no,width=425,height=420,status=no,location=no,scrollbars=yes,resizable=yes,menubar=yes');return false" href="https://www.safariu.com/sadd?uri=http%3A%2F%2Fwww.xml.com%2Fpub%2Fa%2F98%2F06%2Frdf.html&amp;type=article"><IMG height=18 alt="Add to Project." hspace=3 src="http://www.oreillynet.com/images/icons/add-to-project.gif" width=18 border=0></A></TD>
<TD class=secondary noWrap align=left><A class=secondary title="Add to Project." onclick="window.open('https://www.safariu.com/sadd?uri=http%3A%2F%2Fwww.xml.com%2Fpub%2Fa%2F98%2F06%2Frdf.html&amp;type=article','AddToProject','toolbar=no,width=425,height=420,status=no,location=no,scrollbars=yes,resizable=yes,menubar=yes');return false" href="https://www.safariu.com/sadd?uri=http%3A%2F%2Fwww.xml.com%2Fpub%2Fa%2F98%2F06%2Frdf.html&amp;type=article">Add to Project</A></TD></TR>
<TR>
<TD align=right width=18><A class=secondary title="Send a link to this article to a friend." href="mailto:?subject=RDF and Metadata&amp;body=http://www.xml.com/pub/a/98/06/rdf.html"><IMG height=18 alt=Email. hspace=3 src="http://www.xml.com/images/icons/mail_18.gif" width=18 border=0></A></TD>
<TD class=secondary noWrap align=left><A class=secondary title="Send a link to this article to a friend." href="mailto:?subject=RDF and Metadata&amp;body=http://www.xml.com/pub/a/98/06/rdf.html">Email</A></TD></TR>
<TR>
<TD class=secondary style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; PADDING-BOTTOM: 30px; PADDING-TOP: 5px" colSpan=4>
<HR>
Tags: <A href="http://www.oreillynet.com/tags.csp?tag=rdf">rdf</A> <A href="http://www.oreillynet.com/tags.csp?tag=xml">xml</A> <A href="http://www.oreillynet.com/tags.csp?tag=metadata">metadata</A> 
<HR>
<A href="http://del.icio.us/post?url=http%3A%2F%2Fwww.xml.com%2Fpub%2Fa%2F98%2F06%2Frdf.html&amp;title=RDF%20and%20Metadata">Bookmark with del.icio.us</A></TD></TR></TBODY></TABLE><!--  end discuss-print-email-spanish-safariu options  -->
<H2>RDF and Metadata</H2><SPAN class=secondary>by <A href="http://www.xml.com/pub/au/10">Tim Bray</A></SPAN><BR><SPAN class=secondary>June 09, 1998</SPAN><BR clear=all><!-- mega preparse mp: --><!--  RDF and Metadata  -->
<P>
<TABLE cellSpacing=0 cellPadding=8 width=336 align=right border=0>
<TBODY>
<TR>
<TD><!-- dy --><IFRAME marginWidth=0 marginHeight=0 src="http://ad.doubleclick.net/adi/xml.ds/art;pos=_art;sz=336x280;ord=1671301236?" frameBorder=0 width=336 scrolling=no height=280>
				<script type="text/javascript" language="JavaScript1.1" src="http://ad.doubleclick.net/adj/xml.ds/art;abr=!ie;pos=_art;sz=336x280;ord=1671301236?"></script>
				</IFRAME><NOSCRIPT>
				<a href="http://ad.doubleclick.net/jump/xml.ds/art;abr=!ie;pos=_art;sz=336x280;ord=1671301236?"><img src="http://ad.doubleclick.net/ad/xml.ds/art;abr=!ie;pos=_art;sz=336x280;ord=1671301236?" border="0" width="336" height="280" alt="Advertisement" /></a>
				</NOSCRIPT></TD></TR></TBODY></TABLE><!--  me  --><I>This article has now been updated to incorporate changes in the RDF spec and the growth of the RDF community. You can find a newer version here: <A href="http://www.xml.com/pub/a/2001/01/24/rdf.html">What is RDF?</A>.</I></P>
<H3>The Right Way to Find Things</H3>
<P>RDF stands for Resource Description Framework. RDF is built for the Web, but let's leave Web-land behind for a few minutes and think about how we find things in the real world.</P>
<H4>Scenario 1: The Library</H4>
<P>You're in a library to find books on raising donkeys as pets. In most libraries these days you'd use the computer lookup system, basically an electronic version of the old card file. This system allows you to list books by author, title, call-number, and subject. The list includes the date, author, title, and lots of other useful information, including (most important of all) where each book is.</P>
<H4>Scenario 2: The Video Store</H4>
<P>You're in a video store and you want a movie by John Huston. A large modern video store offers a lookup facility that's similar to the library's. Of course, the things you can search on are different (director, actors, and so on) but the results are more or less the same.</P>
<H4>Scenario 3: The Phone Book</H4>
<P>You're working late at a customer's office in South Denver, and it seems that a pizza is essential if work is to continue. Fortunately, every office comes equipped with a set of Yellow Pages that, properly used, can lead to quick pizza delivery.</P>
<H4>The Common Thread</H4>
<P>What do all these situations have in common, and what differences lie behind the scenes? First of all, each of these systems is based on <EM>metadata</EM>, or information about information. In each case, you need a piece of information (the book's location, the video's name, the pizza joint's phone number). In each case, you use metadata (information about information) to get it. </P>
<P>We're all used to this stuff; the usual setup is that metadata comes in named chunks (subject, director, business category) that associate lookup information ("donkeys", "John Huston", "Pizza, South Side") with the real info that you're after.</P>
<P>Here's a subtle but important point: in theory, metadata is not really necessary. In principle, you could go through the library one book at a time looking for donkey books; or through the video store shelves until you found your movie; or call all the numbers in your area code until you find pizza delivery. But that would be very wasteful -- in fact, downright stupid. Metadata is the way to go.</P>
<H3>It's All Different Behind the Scenes</H3>
<P>In each of our scenarios, we used metadata, and used it in a remarkably similar way. Does this mean that the library, the video store, and the phone company all use the same metadata setup? Of course not -- to start with, every library has a choice among at least two systems for organizing their books, and among many vendors who will sell them software to do the looking-up. The same is true, obviously, for video stores and phone companies.</P>
<P>In fact, most such products define their own system of metadata and their own facilities for storing and managing it; they typically do <EM>not</EM> offer any facilities for sharing or interchanging it. This doesn't cause too much of a problem, assuming they do a decent job with the user interface. We are comfortable enough with the general process we call "looking things up" (really, searching via metadata) that we are able to adapt and use all these different systems.</P>
<H3>Not Just For Searching</H3>
<P>The most common day-to-day use of metadata is to help us find things. But there are lots of other uses going on behind the scenes: the library and video store are both keeping other metadata that you don't see, concerning how often the books and videos are being used, how much it cost to buy them, where to go for a replacement; running a library or a video store would be unthinkable without metadata. Similarly, the phone company, of course, uses its metadata, most obviously to <EM>print</EM> the Yellow Pages, but for many other internal management and administration tasks.</P>
<H3>What About the Web?</H3>
<P>The Web is a lot like a really <EM>REALLY</EM> big library, in that there are millions of things out there, and if you know the URL (in effect an electronic "call number") you can get them. Since the Web has books, movies, and pizza joints, the number of things that you might need to look things up by includes all the things a library uses, plus all the things the video store uses, plus all the things the Yellow Pages use, and lots more.</P>
<P>The problem at the moment is that there is hardly any metadata on the Web. So how do we find things? Mostly, using dumb brute-force techniques. The dumb brute force is supplied by the Web robots of search engine sites like Altavista, Infoseek, and Excite. These sites do the equivalent of going through the library, reading every book, and allowing us to look things up based on the words in the text. It's not surprising that people complain about search results, or that the robots are always way behind the growth and change of the Web.</P>
<P>In fact, there is one metadata-based general purpose lookup facility: Yahoo!, which is the most visited Web site of all. Yahoo doesn't use a robot. When you search through Yahoo, you're searching through human-generated subject categories and site labels. Compared to the amount of metadata that a library maintains for its books, Yahoo! is pitiful; but its popularity is clear evidence of the power of (even limited) metadata.</P>
<H3>Divine Metadata for the Web</H3>
<P>People who have thought about these problems, and including many of the world's librarians and webmasters, generally agree that the Web urgently needs metadata. What would it look like? If the Web had an all-powerful Grand Organizing Directorate (at www.GOD.org), they would think up a set of lookup fields such as Author, Title, Date, Subject, and so on. The Directorate, being, after all, GOD, would simply decree that all Web pages start using this divine Metadata, and that would be that. Of course there would be some details such as how the Web sites ought to package up and interchange the metadata, and we all know that the Devil is in the details, but GOD can lick the Devil any day.</P>
<P>In fact, there is no <A href="http://www.god.org/">http://www.god.org/</A>. For this reason, there is no chance that everyone will agree to start using the same metadata facilities. If libraries, which have been existence for thousands of years, can't agree on a single standard, there's not much chance that the Web will.</P>
<P>Does this mean that there is no chance for metadata? That everyone is going to have to build their own lookup keys and values and software, and that we're going to be stuck using dumb brute-force robots forever?</P>
<P>No -- because as we observed with our three search scenarios, metadata operations have an awful lot in common, even when the metadata is different. RDF is an effort to identify these common threads and provide a way for Web architects to use them to provide useful Web metadata without divine intervention.</P>
<H3>Introducing RDF</H3>
<P>Resource Description Framework, as its name implies, is a framework for describing and interchanging metadata. It is built on the following rules:</P>
<OL>
<LI>A <B>Resource</B> is anything that can have a URI; this includes all the world's Web pages, as well as individual elements of an XML document. An example of a resource is a draft of the document you are now reading and its URL is <TT>http://www.textuality.com/RDF/Why.html</TT> 
<LI>A <B>PropertyType</B> is a Resource that has a name and can be used as a property, for example <CODE>Author</CODE> or <CODE>Title</CODE>. In many cases, all we really care about is the name; but a PropertyType needs to be a resource so that it can have its own properties. 
<LI>A <B>Property</B> is the combination of a Resource, a PropertyType, and a value. An example would be: "The Author of <TT>http://www.textuality.com/RDF/Why.html</TT> is Tim Bray." The Value can just be a string, for example "Tim Bray" in the previous example, or it can be another resource, for example "The Home-Page of <TT>http://www.textuality.com/RDF/Why.html</TT> is <TT>http://www.textuality.com</TT>." 
<LI>There is a straightforward method for expressing these abstract Properties in XML, for example: </LI></OL><PRE><TT>&lt;RDF:Description href='http://www.textuality.com/RDF/Why-RDF.html'&gt;
&lt;Author&gt;Tim Bray&lt;/Author&gt; 
&lt;Home-Page RDF:href='http://www.textuality.com' /&gt;
&lt;/RDF:Description&gt;
</TT>
</PRE>
<P>RDF is carefully designed to have the following characteristics:</P>
<DL>
<DT><B>Independence</B> 
<DD>Since a PropertyType is a resource, any independent organization (or even person) can invent them. I can invent one called Author, and you can invent one called Director (which would only apply to resources that are associated with movies), and someone else can invent one called Restaurant-Category. This is necessary since we don't have www.GOD.org to take care of it for us. 
<DT><B>Interchange</B> 
<DD>Since RDF Properties can be converted into XML, they are easy for us to interchange. This would probably be necessary even if we <EM>did</EM> have www.GOD.org. 
<DT><B>Scalability</B> 
<DD>RDF properties are simple three-part records (Resource, PropertyType, Value), so they are easy to handle and look things up by, even in large numbers. The Web is already big and getting bigger, and we are probably going to have (literally) billions of these floating around (millions even for a big Intranet), so this is important. 
<DT><B>PropertyTypes are Resources</B> 
<DD>This means that they can have their own properties and can be found and manipulated like any other Resource. This is important because there are going to be lots of them; too many to look at one by one. For example, I might want to know if anyone out there has defined a PropertyType that describes the genre of a movie, with values like Comedy, Horror, Romance, and Thriller. I'll need metadata to help with that. 
<DT><B>Values Can Be Resources</B> 
<DD>For example, most Web pages will have a property named Home-Page which points at the home page of their site. So the values of properties, which obviously have to include things like title and author's name, also have to include Resources. 
<DT><B>Properties Can Be Resources</B> 
<DD>So they can have properties too. Since there's no www.GOD.org to provide useful assertions for all the resources, and since the Web is way too big for us to provide our own, we're going to need to do lookups based on other people's metadata (as we do today with Yahoo!). This means that we'll want, given any Property such as "The Subject of this Page is Donkeys", to be able to ask "Who said so? And When?" One useful way to do this would be with metadata; so Properties will need to have Properties. </DD></DL>
<H3>Why Not Just Use XML?</H3>
<P>XML allows you to invent tags, and for the tags to contain both text data and other tags. Also, XML has a built-in distinction between <I>element types</I>, for example the <CODE>IMG</CODE> element type in HTML, and <I>elements</I>, for example an individual <CODE>&lt;IMG SRC='Madonna.jpg'&gt;</CODE>; this corresponds naturally to the distinction between PropertyTypes and Properties. So it seems as though XML documents should be a natural vehicle for exchanging general purpose metadata.</P>
<P>XML, however, falls apart on the <B>Scalability</B> design goal. There are two problems:</P>
<OL>
<LI>The order in which elements appear in an XML document is significant and often very meaningful. This seems highly unnatural in the metadata world. Who cares whether a movie's Director or Title is listed first, as long as both are available for lookups? Furthermore, maintaining the correct order of millions of data items is expensive and difficult, in practice. 
<LI>XML allows constructions like this: </LI></OL><PRE>&lt;Description&gt;The value of this property contains some
text, mixed up with child properties such as its temperature
(&lt;Temp&gt;48&lt;/Temp&gt;) and longitude 
(&lt;Longt&gt;101&lt;/Longt&gt;). [&amp;Disclaimer;]&lt;/Description&gt;</PRE>
<OL>When you represent general XML documents in computer memory, you get weird data structures that mix trees, graphs, and character strings. In general, these are hard to handle in even moderate amounts, let alone by the billion. </OL>
<P>On the other hand, something like XML is an absolutely necessary part of the solution to RDF's <B>Interchange</B> design goal. XML is unequalled as an exchange format on the Web; but by itself, it doesn't provide what you need in a metadata framework.</P>
<H3>The Devil is in the Details</H3>
<P>The four general rules given above define the central ideas of RDF. It turns out that it takes quite a lot of abstract terminology and XML syntax to define them precisely enough that people can write computer programs to process them. In particular, turning Properties into Resources is quite tricky. Also, it turns out that in a (very) few cases, you do need to order your properties, and this requires quite a bit of syntax.</P>
<P>This article is not going to try to explain all these details; there are a variety of excellent resources to be found at <A href="http://www.w3.org/RDF">http://www.w3.org/RDF</A> that are designed to do just that.</P>
<H3>Vocabularies</H3>
<P>RDF, as we've seen, provides a model for metadata, and a syntax so that independent parties can exchange it and use it. What it <EM>doesn't</EM> provide though, is any PropertyTypes of its own. That is to say, RDF doesn't define Author or Title or Director or Business-Category. That would be a job for www.GOD.org, if there were one. Since there isn't, it's a job for everyone.</P>
<P>It seems unlikely that one PropertyType standing by itself is apt to be very useful. It is expected that these will come in packages; for example, a set of basic bibliographic PropertyTypes like Author, Title, Date, and so on. Then a more elaborate set from OCLC, and a competing one from the Library of Congress. These packages are called <B>Vocabularies</B>; it's easy to imagine PropertyType vocabularies describing books, videos, pizza joints, fine wines, mutual funds, and many other species of Web wildlife.</P>
<H3>What RDF Might Mean</H3>
<P>The Web is too big for anyone person to stay on top of. In fact, it contains information about a huge number of subjects, and for most of those subjects (such as fine wines, home improvement, and cancer therapy), the Web has too much information for any one person to stay on top of and also have a real job.</P>
<P>This means that opinions, pointers, indexes, and anything that helps people "look things up" are going to be commodities of very high value. That is to say, vocabularies. Nobody thinks that everyone will use the same vocabulary (nor should they), but with RDF we can have a marketplace in vocabularies. Anyone can invent them, advertise them, and sell them. The good (or best-marketed) ones will survive and prosper. Probably, most niches of information will come to be dominated by a small number of vocabularies, the way that library catalogues are today.</P>
<P>And even among people who are sharing the use of metadata vocabularies, there's no need to share the same software. RDF makes it possible to use multiple different pieces of software to process the same metadata, and to use a single piece of software to process (at least in part) many different metadata vocabularies.</P>
<P>With any luck, this should make the Web more like a library, or a video store, or a phone book, than it is today.</P><!-- - :links::table=r title=<h3 -->W3C+Standards 
<H3></H3>template=.stdlist.def::&gt; <!--  <csperl file="childarticles">  --><!--  talk back  --><A name=thread></A></TD>
<TD vAlign=top width=10><IMG height=1 alt=" " src="http://www.xml.com/images/trans.gif" width=10></TD><!--  right column  -->
<TD class=secondary style="BORDER-RIGHT: #fff 1px solid; PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-TOP: 10px" vAlign=top align=middle width=160 bgColor=#efefef><BR><!--  sponsors  --><SPAN class=secondary>Sponsored By:<BR></SPAN><BR>
<TABLE cellSpacing=0 width=160 border=0>
<TBODY>
<TR>
<TD><!-- dy --><IFRAME marginWidth=0 marginHeight=0 src="http://ad.doubleclick.net/adi/xml.ds/art;pos=r_art;sz=160x600;ord=1144829604?" frameBorder=0 width=160 scrolling=no height=600>
				<script type="text/javascript" language="JavaScript1.1" src="http://ad.doubleclick.net/adj/xml.ds/art;abr=!ie;pos=r_art;sz=160x600;ord=1144829604?"></script>
				</IFRAME><NOSCRIPT>
				<a href="http://ad.doubleclick.net/jump/xml.ds/art;abr=!ie;pos=r_art;sz=160x600;ord=1144829604?"><img src="http://ad.doubleclick.net/ad/xml.ds/art;abr=!ie;pos=r_art;sz=160x600;ord=1144829604?" border="0" width="160" height="600" alt="Advertisement" /></a>
				</NOSCRIPT></TD></TR></TBODY></TABLE><BR><!--  adsense --><!--  Creative for 160x600 format  -->
<DIV style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; BACKGROUND: #fff; PADDING-BOTTOM: 6px; WIDTH: 100%; PADDING-TOP: 6px; TEXT-ALIGN: center">
<SCRIPT type=text/javascript><!--
google_ad_client = "oreilly_160x600";
google_ad_width = "160";
google_ad_height = "600";
google_ad_format = "160x600_pas_abgnc";
google_safe = "high";
google_color_border = "CCCCCC";
google_color_bg = "FFFFFF";
google_color_link = "000066";
google_color_url = "000066";
google_color_text = "000000";
//--></SCRIPT>

<SCRIPT language=JavaScript src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript></SCRIPT>
<IFRAME name=google_ads_frame marginWidth=0 marginHeight=0 src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-oreilly_160x600&amp;dt=1126400052467&amp;adsafe=high&amp;lmt=1126400052&amp;format=160x600_pas_abgnc&amp;output=html&amp;url=http%3A%2F%2Fwww.xml.com%2Fpub%2Fa%2F98%2F06%2Frdf.html&amp;color_bg=FFFFFF&amp;color_text=000000&amp;color_link=000066&amp;color_url=000066&amp;color_border=CCCCCC&amp;cc=188&amp;u_h=768&amp;u_w=1024&amp;u_ah=738&amp;u_aw=1024&amp;u_cd=32&amp;u_tz=480&amp;u_his=1&amp;u_java=true" frameBorder=0 width=160 scrolling=no height=600 allowTransparency><img height="1" width="1" border="0" src="http://pagead2.googlesyndication.com/pagead/imp.gif?event=noiframe&client=ca-oreilly_160x600&dt=1126400052467&adsafe=high&lmt=1126400052&format=160x600_pas_abgnc&output=html&url=http%3A%2F%2Fwww.xml.com%2Fpub%2Fa%2F98%2F06%2Frdf.html&color_bg=FFFFFF&color_text=000000&color_link=000066&color_url=000066&color_border=CCCCCC&cc=188&u_h=768&u_w=1024&u_ah=738&u_aw=1024&u_cd=32&u_tz=480&u_his=1&u_java=true" /></IFRAME><NOSCRIPT>
<img height="1" width="1" border="0"
src="http://pagead2.googlesyndication.com/pagead/imp.gif?client=ca-oreilly_160x600&amp;event=noscript" alt=""/>
</NOSCRIPT></DIV><!--  End Creative  --></TD></TR></TBODY></TABLE><!--  footer  -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><!--  About links  -->
<TBODY>
<TR>
<TD class=tinywhite vAlign=center align=middle bgColor=#cc0033 colSpan=2 height=20><A class=header href="http://www.xml.com/pub/a/admin/commune.html">Contact&nbsp;Us</A> | <A class=header href="http://www.xml.com/pub/a/admin/mission.html">Our&nbsp;Mission</A> | <A class=header href="http://www.xml.com/pub/a/admin/policy.html">Privacy&nbsp;Policy</A> | <A class=header href="http://www.oreillynet.com/pub/a/mediakit/adcontact.html">Advertise With Us</A> | <SPAN class=header>
<SCRIPT language=JavaScript type=text/javascript>
<!--
var name = "help";
var domain = "oreillynet.com";
var display = "Site Help";
var subject = "xml.com site help";
var ending = "";
var style = "";
document.write('<a class="' + style + '" href="mailto:' + name + '&#64;' + domain + '?subject=' + subject + '">');
if (display) {
 document.write(display);
} else {
 document.write(name + '&#64;' + domain);
}
document.write('</a>' + ending);
document.write('<!-- mailmunge bit -->');

// -->
</SCRIPT>
<A class="" href="mailto:help@oreillynet.com?subject=xml.com site help">Site Help</A><!-- mailmunge bit --> </SPAN>| <A class=header href="http://www.xml.com/pub/a/contributing.html">Submissions Guidelines</A></TD></TR><!--  copyright  -->
<TR>
<TD vAlign=center align=middle bgColor=#000066 colSpan=2 height=20><SPAN class=tinywhite>Copyright &copy; 2005 O'Reilly Media, Inc.</SPAN> </TD><!-- - Begin Hitbox - --><!--WEBSIDESTORY CODE HBX1.0 (Universal)--><!--COPYRIGHT 1997-2004 WEBSIDESTORY,INC. ALL RIGHTS RESERVED. U.S.PATENT No. 6,393,479B1. MORE INFO:http://websidestory.com / privacy-->
<SCRIPT language=javascript type=text/javascript>
        var _hbEC=0,_hbE=new Array;function _hbEvent(a,b){b=_hbE[_hbEC++]=new Object();b._N=a;b._C=0;return b;}
    var hbx=_hbEvent("pv");hbx.vpc="HBX0100u";hbx.gn="ehg-oreilly.hitbox.com";

var jlw = "JLW: www.xml.com,/a/98/06/rdf.html";

    hbx.acct="DM520402AEDE;DM520404M4ZR"; //ACCOUNT NUMBER(S)
    hbx.pn="RDF+and+Metadata"; //PAGE NAME(S)
    hbx.mlc="/a/98/06/;/XML.com/a/98/06/"; //MULTI-LEVEL CONTENT CATEGORY
    hbx.pndef="title"; //DEFAULT PAGE NAME
    hbx.ctdef="full"; //DEFAULT CONTENT CATEGORY

    hbx.lt="auto"; //LINK TRACKING 
    hbx.dlf="n"; //DOWNLOAD FILTER
    hbx.dft="n"; //DOWNLOAD FILE NAMING
    hbx.elf="n"; //EXIT LINK FILTER

    //SEGMENTS AND FUNNELS
    hbx.seg=""; //VISITOR SEGMENTATION
    hbx.fnl=""; //FUNNELS

    //CAMPAIGNS
    hbx.cmp=""; //CAMPAIGN ID
    hbx.cmpn="CMP"; //CAMPAIGN ID IN QUERY
    hbx.hra=""; //RESPONSE ATTRIBUTE
    hbx.hqsr=""; //RESPONSE ATTRIBUTE IN REFERRAL QUERY
    hbx.hqsp=""; //RESPONSE ATTRIBUTE IN QUERY
    hbx.hlt=""; //LEAD TRACKING
    hbx.hla=""; //LEAD ATTRIBUTE
    hbx.gp=""; //CAMPAIGN GOAL
    hbx.gpn=""; //CAMPAIGN GOAL IN QUERY
    hbx.hcn=""; //CONVERSION ATTRIBUTE
    hbx.hcv=""; //CONVERSION VALUE
    hbx.cp="null"; //LEGACY CAMPAIGN
    hbx.cpd=""; //CAMPAIGN DOMAIN

    //CUSTOM VARIABLES
    hbx.ci="";//CUSTOMER ID
    hbx.hc1="";//CUSTOM 1
    hbx.hc2="";//CUSTOM 2
    hbx.hc3="";//CUSTOM 3
    hbx.hc4="";//CUSTOM 4 
    hbx.pec="";//ERROR CODES
    </SCRIPT>

<SCRIPT language=javascript1.1 src="http://www.oreillynet.com/hbx.js" defer type=text/javascript></SCRIPT>
<!--//--><!-- END WEBSIDESTORY CODE  --><!-- - End Hitbox - --></TR></TBODY></TABLE><BR>]]></description>
</item><item>
<title><![CDATA[From: http://www.javafan.net/article/20040723100333558.html]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=6181</link>
<author>instillwater</author>
<pubDate>2005/5/29 23:46:13</pubDate>
<description><![CDATA[转载自: <A href="http://www.javafan.net/article/20040723100333558.html" target=_blank>http://www.javafan.net/article/20040723100333558.html</A><BR><BR>]]></description>
</item><item>
<title><![CDATA[java面试题目精选！]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5625</link>
<author>instillwater</author>
<pubDate>2005/5/10 8:28:31</pubDate>
<description><![CDATA[转载自: <A href="http://blog.vckbase.com/knight/archive/2005/03/21/3799.aspx" target=_blank>http://blog.vckbase.com/knight/archive/2005/03/21/3799.aspx</A><BR><BR>]]></description>
</item><item>
<title><![CDATA[轻松玩转Java配置的Classpath]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5616</link>
<author>instillwater</author>
<pubDate>2005/5/9 16:18:03</pubDate>
<description><![CDATA[转载自: <A href="http://www.icp123.com/123/info/1560-1.htm" target=_blank>http://www.icp123.com/123/info/1560-1.htm</A><BR><BR>]]></description>
</item><item>
<title><![CDATA[商务英语词汇]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5564</link>
<author>instillwater</author>
<pubDate>2005/5/7 10:43:50</pubDate>
<description><![CDATA[转载自: <A href="http://www.manfen.net/forum/showthread.php?s=&amp;threadid=77982" target=_blank>http://www.manfen.net/forum/showthread.php?s=&amp;threadid=77982</A><BR><!-- logo and buttons -->&nbsp;
<CENTER>
<SCRIPT>document_load()</SCRIPT>

<DIV align=left>
<DIV id=posflag style="POSITION: absolute"></DIV>
<TABLE onselectstart=event.returnValue=false id=menutable style="BORDER-RIGHT: #285880 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #285880 1px solid; PADDING-LEFT: 0px; FONT-SIZE: 9pt; PADDING-BOTTOM: 0px; BORDER-LEFT: #285880 1px solid; CURSOR: default; COLOR: #ffffff; PADDING-TOP: 0px; BORDER-BOTTOM: #285880 1px solid; FONT-FAMILY: 宋体" height=22 cellSpacing=2 cellPadding=0 width=760 align=center bgColor=#285880 border=0>
<TBODY>
<TR>
<TD onmouseup=exec2(0);menu_up(); class=coolButton onmousedown=menu_down(menudiv0,0) id=menu0 onmouseover=menu_over(menudiv0,0) style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menu_out(menudiv0) align=middle width=60>首页</TD>
<TD onmouseup=menu_up() class=coolButton onmousedown=menu_down(menudiv1,1) id=menu1 onmouseover=menu_over(menudiv1,1) style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menu_out(menudiv1) align=middle width=60>会员资料</TD>
<TD onmouseup=exec2(2);menu_up(); class=coolButton onmousedown=menu_down(menudiv2,2) id=menu2 onmouseover=menu_over(menudiv2,2) style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menu_out(menudiv2) align=middle width=60>会员列表</TD>
<TD onmouseup=menu_up() class=coolButton onmousedown=menu_down(menudiv3,3) id=menu3 onmouseover=menu_over(menudiv3,3) style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menu_out(menudiv3) align=middle width=60>论坛工具</TD>
<TD onmouseup=exec2(4);menu_up(); class=coolButton onmousedown=menu_down(menudiv4,4) id=menu4 onmouseover=menu_over(menudiv4,4) style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menu_out(menudiv4) align=middle width=60>高级搜索</TD>
<TD onmouseup=exec2(5);menu_up(); class=coolButton onmousedown=menu_down(menudiv5,5) id=menu5 onmouseover=menu_over(menudiv5,5) style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menu_out(menudiv5) align=middle width=60>论坛帮助</TD>
<TD onmouseup=exec2(6);menu_up(); class=coolButton onmousedown=menu_down(menudiv6,6) id=menu6 onmouseover=menu_over(menudiv6,6) style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menu_out(menudiv6) align=middle width=60>悄悄话</TD>
<TD width=*>&nbsp;</TD></TR></TBODY></TABLE>
<DIV id=menudiv0 style="visiable: none"></DIV>
<DIV onselectstart=event.returnValue=false id=menudiv1 style="BORDER-RIGHT: #285880 1px solid; BORDER-TOP: #285880 1px solid; Z-INDEX: 101; VISIBILITY: hidden; BORDER-LEFT: #285880 1px solid; WIDTH: 160px; CURSOR: default; BORDER-BOTTOM: #285880 1px solid; POSITION: absolute">
<TABLE style="BORDER-RIGHT: #285880 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #285880 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 9pt; PADDING-BOTTOM: 4px; BORDER-LEFT: #285880 1px solid; COLOR: #ffffff; PADDING-TOP: 4px; BORDER-BOTTOM: #285880 1px solid; FONT-FAMILY: 宋体" height="100%" cellSpacing=2 cellPadding=0 width="100%" align=center bgColor=#285880 border=0>
<TBODY>
<TR>
<TD onmouseup=exec(1,0);menuitem_up(menudiv1) class=coolButton onmousedown=menuitem_down(menudiv1) onmouseover="thestatus='';menuitem_over(menudiv1);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv1) width="100%" height=15>用户控制面板</TD></TR>
<TR>
<TD onmouseup=exec(1,1);menuitem_up(menudiv1) class=coolButton onmousedown=menuitem_down(menudiv1) onmouseover="thestatus='';menuitem_over(menudiv1);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv1) width="100%" height=15>编辑个人资料</TD></TR>
<TR>
<TD onmouseup=exec(1,2);menuitem_up(menudiv1) class=coolButton onmousedown=menuitem_down(menudiv1) onmouseover="thestatus='';menuitem_over(menudiv1);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv1) width="100%" height=15>编辑论坛选项</TD></TR>
<TR>
<TD onmouseup=exec(1,3);menuitem_up(menudiv1) class=coolButton onmousedown=menuitem_down(menudiv1) onmouseover="thestatus='';menuitem_over(menudiv1);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv1) width="100%" height=15>更改会员密码</TD></TR>
<TR>
<TD onmouseup=exec(1,4);menuitem_up(menudiv1) class=coolButton onmousedown=menuitem_down(menudiv1) onmouseover="thestatus='';menuitem_over(menudiv1);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv1) width="100%" height=15>编辑好友列表</TD></TR>
<TR>
<TD onmouseup=exec(1,5);menuitem_up(menudiv1) class=coolButton onmousedown=menuitem_down(menudiv1) onmouseover="thestatus='';menuitem_over(menudiv1);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv1) width="100%" height=15>编辑忽略列表</TD></TR></TBODY></TABLE></DIV>
<DIV onselectstart=event.returnValue=false id=menudiv2 style="BORDER-RIGHT: #285880 1px solid; BORDER-TOP: #285880 1px solid; Z-INDEX: 102; VISIBILITY: hidden; BORDER-LEFT: #285880 1px solid; WIDTH: 160px; CURSOR: default; BORDER-BOTTOM: #285880 1px solid; POSITION: absolute">
<TABLE style="BORDER-RIGHT: #285880 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #285880 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 9pt; PADDING-BOTTOM: 4px; BORDER-LEFT: #285880 1px solid; COLOR: #ffffff; PADDING-TOP: 4px; BORDER-BOTTOM: #285880 1px solid; FONT-FAMILY: 宋体" height="100%" cellSpacing=2 cellPadding=0 width="100%" align=center bgColor=#285880 border=0>
<TBODY>
<TR>
<TD onmouseup=exec(2,0);menuitem_up(menudiv2) class=coolButton onmousedown=menuitem_down(menudiv2) onmouseover="thestatus='';menuitem_over(menudiv2);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv2) width="100%" height=15>查找会员</TD></TR>
<TR>
<TD onmouseup=exec(2,1);menuitem_up(menudiv2) class=coolButton onmousedown=menuitem_down(menudiv2) onmouseover="thestatus='';menuitem_over(menudiv2);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv2) width="100%" height=15>发贴排行榜</TD></TR></TBODY></TABLE></DIV>
<DIV onselectstart=event.returnValue=false id=menudiv3 style="BORDER-RIGHT: #285880 1px solid; BORDER-TOP: #285880 1px solid; Z-INDEX: 103; VISIBILITY: hidden; BORDER-LEFT: #285880 1px solid; WIDTH: 160px; CURSOR: default; BORDER-BOTTOM: #285880 1px solid; POSITION: absolute">
<TABLE style="BORDER-RIGHT: #285880 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #285880 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 9pt; PADDING-BOTTOM: 4px; BORDER-LEFT: #285880 1px solid; COLOR: #ffffff; PADDING-TOP: 4px; BORDER-BOTTOM: #285880 1px solid; FONT-FAMILY: 宋体" height="100%" cellSpacing=2 cellPadding=0 width="100%" align=center bgColor=#285880 border=0>
<TBODY>
<TR>
<TD onmouseup=exec(3,0);menuitem_up(menudiv3) class=coolButton onmousedown=menuitem_down(menudiv3) onmouseover="thestatus='';menuitem_over(menudiv3);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv3) width="100%" height=15>注册会员</TD></TR>
<TR>
<TD onmouseup=exec(3,1);menuitem_up(menudiv3) class=coolButton onmousedown=menuitem_down(menudiv3) onmouseover="thestatus='';menuitem_over(menudiv3);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv3) width="100%" height=15>退出论坛</TD></TR>
<TR>
<TD onmouseup=exec(3,2);menuitem_up(menudiv3) class=coolButton onmousedown=menuitem_down(menudiv3) onmouseover="thestatus='';menuitem_over(menudiv3);" style="BORDER-RIGHT: #285880 0px solid; BORDER-TOP: #285880 0px solid; BORDER-LEFT: #285880 0px solid; BORDER-BOTTOM: #285880 0px solid" onmouseout=menuitem_out(menudiv3) width="100%" height=15>论坛日历</TD></TR></TBODY></TABLE></DIV>
<DIV id=menudiv4 style="visiable: none"></DIV>
<DIV id=menudiv5 style="visiable: none"></DIV>
<DIV id=menudiv6 style="visiable: none"></DIV></DIV><BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD><A href="http://www.manfen.net/forum/index.php?s=">
<DIV align=left><IMG alt=满分论坛 src="http://www.manfen.net/forum/images/openbb/logo.gif" border=0></DIV></A></TD>
<FORM action=search.php method=post>
<TD vAlign=bottom width="100%">
<DIV align=right><INPUT type=hidden name=s><INPUT type=hidden value="- 1" name=forumchoice><INPUT type=hidden value=subject name=searchin><INPUT type=hidden value=-1 name=searchdate><INPUT type=hidden value=simplesearch name=action><INPUT type=hidden value=yes name=booleanand><INPUT class=bginput onblur="if (value == '') {value = '快速搜索...'}" onfocus="this.value='';" maxLength=150 size=15 value=快速搜索... name=query><INPUT type=hidden value=simplesearch name=action><INPUT type=image src="http://www.manfen.net/forum/images/openbb/go.gif" align=absBottom border=0 name=Submit></DIV></TD></FORM></TR>
<TR>
<TD>&nbsp;</TD></TR></TBODY></TABLE><!-- /toplinks --></TD></TR></TABLE><!-- /logo and buttons --><!-- content table -->
<TABLE cellSpacing=0 cellPadding=10 width="100%" bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD><!-- breadcrumb, nav links -->
<TABLE cellSpacing=0 cellPadding=2 width="100%" align=center border=0>
<TBODY>
<TR>
<TD width="100%"><A oncontextmenu="return false;" href="javascript:window.location=window.location"><IMG alt=满分论坛 src="http://www.manfen.net/forum/images/openbb/vb_bullet.gif" align=middle border=0></A> <FONT style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体"><B><A href="http://www.manfen.net/forum/index.php?s="><FONT color=#000000>满分论坛</FONT></A> &gt; <A href="http://www.manfen.net/forum/forumdisplay.php?s=&amp;forumid=31"><FONT color=#000000>外语考试</FONT></A> &gt; <A href="http://www.manfen.net/forum/forumdisplay.php?s=&amp;forumid=79"><FONT color=#000000>BEC商务英语证书</FONT></A> &gt; 商务英语词汇</B></FONT></TD>
<TD><A href="http://www.manfen.net/forum/newthread.php?s=&amp;action=newthread&amp;forumid=79"><IMG alt=发表新主题 src="http://www.manfen.net/forum/images/openbb/newtopic.gif" border=0></A></TD>
<TD><FONT style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体">&nbsp;&nbsp;</FONT></TD>
<TD><A href="http://www.manfen.net/forum/newreply.php?s=&amp;action=newreply&amp;threadid=77982"><IMG alt=回复主题 src="http://www.manfen.net/forum/images/openbb/newreply.gif" border=0></A></TD></TR></TBODY></TABLE><!-- /breadcrumb, nav links --><A name=posttop></A><!-- End content area table (CREATED IN HEADER!!) --></TD></TR></TBODY></TABLE><!-- spacer -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD width=10><IMG height=1 alt="" src="http://www.manfen.net/forum/images/openbb/space.gif" width=10></TD>
<TD width="100%"><!-- /spacer --><!-- first unread and next/prev -->
<TABLE cellSpacing=0 cellPadding=2 width="100%" align=center border=0>
<TBODY>
<TR>
<TD><FONT style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体">&nbsp;</FONT></TD>
<TD noWrap align=right><FONT style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体"><IMG alt="" src="http://www.manfen.net/forum/images/openbb/prev.gif" border=0> <A href="http://www.manfen.net/forum/showthread.php?s=&amp;threadid=77982&amp;goto=nextoldest"><FONT color=#000000>上一主题</FONT></A> &nbsp; <A href="http://www.manfen.net/forum/showthread.php?s=&amp;threadid=77982&amp;goto=nextnewest"><FONT color=#000000>下一主题</FONT></A> <IMG alt="" src="http://www.manfen.net/forum/images/openbb/next.gif" border=0> </FONT></TD></TR></TBODY></TABLE><!-- first unread and next/prev -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center bgColor=#397cb3 border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=1 cellPadding=4 width="100%" border=0>
<TBODY>
<TR>
<TD noWrap width=175 bgColor=#60a5cd><FONT class=thtcolor style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体" color=#e1e1e1><B>作者</B></FONT></TD>
<TD width="100%" bgColor=#60a5cd><!-- Thread nav and post images -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="100%"><FONT class=thtcolor style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体" color=#e1e1e1><B>正文</B></FONT></TD></TR></TBODY></TABLE><!-- /Thread nav and post images --></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!-- /spacer --></TD>
<TD width=10><IMG height=1 alt="" src="http://www.manfen.net/forum/images/openbb/space.gif" width=10></TD></TR></TBODY></TABLE><!-- /spacer -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD width=10><IMG height=1 alt="" src="http://www.manfen.net/forum/images/openbb/space.gif" width=10></TD>
<TD width="100%"><!-- spacer -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center bgColor=#397cb3 border=0>
<TBODY>
<TR>
<TD>
<TABLE cellSpacing=1 cellPadding=4 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top noWrap width=175 bgColor=#f5f5f5><A name=post357905></A><FONT style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体"><B>AmazingAqua</B></FONT>&nbsp;<A href="http://www.manfen.net/forum/search.php?s=&amp;action=finduser&amp;userid=277279"><IMG alt=查找更多关于AmazingAqua的帖子 src="http://www.manfen.net/forum/images/openbb/findmore.gif" border=0></A><BR><FONT style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体">新手上路</FONT><BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD><IMG alt="" src="http://www.manfen.net/forum/images/avatars/824.gif" border=0> <FONT style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体"></FONT></TD></TR></TBODY></TABLE><BR>注册日期: Oct 2004<BR>性　　别: <IMG alt=美女 src="http://www.manfen.net/forum/images/openbb/female.gif"><BR>来　　自: <BR>发贴数量: 2<BR>会员积分:0 
<TD vAlign=top width="100%" bgColor=#f5f5f5><FONT style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体"><IMG alt="" src="http://www.manfen.net/forum/images/openbb/icons/icon1.gif" border=0> <B>商务英语词汇</B></FONT> 
<P><FONT style="FONT-SIZE: 9pt; FONT-FAMILY: MS Shell Dlg,Tahoma, sans-serif,宋体">economist 经济学家<BR>socialist economy 社会主义经济<BR>capitalist economy 资本主义经济<BR>collective economy 集体经济<BR>planned economy 计划经济<BR>controlled economy 管制经济<BR>rural economics 农村经济<BR>liberal economy 经济<BR>mixed economy 混合经济<BR>political economy 政治经济学<BR>protectionism 保护主义<BR>autarchy 闭关自守<BR>primary sector 初级成分<BR>private sector 私营成分,私营部门<BR>public sector 公共部门,公共成分<BR>economic channels 经济渠道<BR>economic balance 经济平衡<BR>economic fluctuation 经济波动<BR>economic depression 经济衰退<BR>economic stability 经济稳定<BR>economic policy 经济政策<BR>economic recovery 经济复原<BR>understanding 约定<BR>concentration 集中<BR>holding company 控股公司<BR>trust 托拉斯<BR>cartel 卡特尔<BR>rate of growth 增长<BR>economic trend 经济趋势<BR>economic situation 经济形势<BR>infrastructure 基本建设<BR>standard of living 生活标准,生活水平<BR>purchasing power, buying power 购买力<BR>scarcity 短缺<BR>stagnation 停滞,萧条,不景气<BR>underdevelopment 不发达<BR>underdeveloped 不发达的<BR>developing 发展中的<BR><BR><BR>initial capital 创办资本<BR>frozen capital 冻结资金<BR>frozen assets 冻结资产<BR>fixed assets 固定资产<BR>real estate 不动产,房地产<BR>circulating capital, working capital 流动资本<BR>available capital 可用资产<BR>capital goods 资本货物<BR>reserve 准备金,储备金<BR>calling up of capital 催缴资本<BR>allocation of funds 资金分配<BR>contribution of funds 资金捐献<BR>working capital fund 周转基金<BR>revolving fund 循环基金,周转性基金<BR>contingency fund 意外开支,准备金<BR>reserve fund 准备金<BR>buffer fund 缓冲基金,平准基金<BR>sinking fund 偿债基金<BR>investment 投资,资产<BR>investor 投资人<BR>self-financing 自筹经费,经费自给<BR>bank 银行<BR>current account 经常帐户 (美作:checking account)<BR>current-account holder 支票帐户 (美作:checking-account holder)<BR>cheque 支票 (美作:check)<BR>bearer cheque, cheque payable to bearer 无记名支票,来人支票<BR>crossed cheque 划线支票<BR>traveller's cheque 旅行支票<BR>chequebook 支票簿,支票本 (美作:checkbook)<BR>endorsement 背书<BR>transfer 转让,转帐,过户<BR>money 货币<BR>issue 发行<BR>ready money 现钱<BR>cash 现金<BR>ready money business, no credit given 现金交易,概不赊欠<BR>change 零钱<BR>banknote, note 钞票,纸币 (美作:bill)<BR>to pay (in) cash 付现金<BR>domestic currency, local currency] 本国货币<BR>convertibility 可兑换性<BR>convertible currencies 可兑换货币<BR>exchange rate 汇率,兑换率<BR>foreign exchange 外汇<BR>floating exchange rate 浮动汇率<BR>free exchange rates 汇兑市场<BR>foreign exchange certificate 外汇兑换券<BR>hard currency 硬通货<BR>speculation 投机<BR>saving 储装,存款<BR>depreciation 减价,贬值<BR>devaluation (货币)贬值<BR>revaluation 重估价<BR>runaway inflation 无法控制的通货膨胀<BR>deflation 通货紧缩<BR>capital flight 资本外逃<BR>securities business 证券市场<BR>stock exchange 贡市场<BR>stock exchange corporation 证券交易所<BR>stock exchange 证券交易所,贡交易所<BR>quotation 报价,牌价<BR>share 股份,贡<BR>shareholder, stockholder 贡持有人,股东<BR>dividend 股息,红利<BR>cash dividend 现金配股<BR>stock investment 贡投资<BR>investment trust 投资信托<BR>stock-jobber 贡经纪人<BR>stock company, stock brokerage firm 证券公司<BR>securities 有价证券<BR>share, common stock 普通股<BR>preference stock 优先股<BR>income gain 股利收入<BR>issue 发行贡<BR>par value 股面价格, 票面价格<BR>bull 买手, 多头<BR>bear 卖手, 空头<BR>assigned 过户<BR>opening price 开盘<BR>closing price 收盘<BR>hard times 低潮<BR>business recession 景气衰退<BR>doldrums 景气停滞<BR>dull 盘整<BR>ease 松弛<BR>raising limit 涨停板<BR>break 暴跌<BR>bond, debenture 债券<BR>Wall Street 华尔街<BR><BR><BR><BR>short term loan 短期贷款<BR>long term loan 长期贷款<BR>medium term loan 中期贷款<BR>lender 债权人<BR>creditor 债权人<BR>debtor 债务人,借方<BR>borrower 借方,借款人<BR>borrowing 借款<BR>interest 利息<BR>rate of interest 利率<BR>discount 贴现,折扣<BR>rediscount 再贴现<BR>annuity 年金<BR>maturity 到期日,偿还日<BR>amortization 摊销,摊还,分期偿付<BR>redemption 偿还<BR>insurance 保险<BR>mortgage 抵押<BR>allotment 拨款<BR>short term credit 短期信贷<BR>consolidated debt 合并债务<BR>funded debt 固定债务,长期债务<BR>floating debt 流动债务<BR>drawing 提款,提存<BR>aid 援助<BR>allowance, grant, subsidy 补贴,补助金,津贴<BR><BR><BR><BR>short term loan 短期贷款<BR>long term loan 长期贷款<BR>medium term loan 中期贷款<BR>lender 债权人<BR>creditor 债权人<BR>debtor 债务人,借方<BR>borrower 借方,借款人<BR>borrowing 借款<BR>interest 利息<BR>rate of interest 利率<BR>discount 贴现,折扣<BR>rediscount 再贴现<BR>annuity 年金<BR>maturity 到期日,偿还日<BR>amortization 摊销,摊还,分期偿付<BR>redemption 偿还<BR>insurance 保险<BR>mortgage 抵押<BR>allotment 拨款<BR>short term credit 短期信贷<BR>consolidated debt 合并债务<BR>funded debt 固定债务,长期债务<BR>floating debt 流动债务<BR>drawing 提款,提存<BR>aid 援助<BR>allowance, grant, subsidy 补贴,补助金,津贴<BR><BR><BR><BR>cost 成本,费用<BR>expenditure, outgoings 开支,支出<BR>fixed costs 固定成本<BR>overhead costs 营业间接成本<BR>overheads 杂项开支,间接成本<BR>operating costs 生产费用,营业成本<BR>operating expenses 营业费用<BR>running expenses 日常费用,经营费用<BR>miscellaneous costs 杂项费用<BR>overhead expenses 间接费用,管理费用<BR>upkeep costs, maintenance costs 维修费用,养护费用<BR>transport costs 运输费用<BR>social charges 社会负担费用<BR>contingent expenses, contingencies 或有费用<BR>apportionment of expenses 分摊费用<BR><BR><BR><BR>income 收入,收益<BR>earnings 利润,收益<BR>gross income, gross earnings 总收入,总收益<BR>gross profit, gross benefit 毛利,总利润,利益毛额<BR>net income 纯收益,净收入,收益净额<BR>average income 平均收入<BR>national income 国收入<BR>profitability, profit earning capacity 利润率,赢利率<BR>yield 产量收益,收益率<BR>increase in value, appreciation 增值,升值<BR><BR><BR><BR>duty 税<BR>taxation system 税制<BR>taxation 征税,纳税<BR>fiscal charges 财务税收<BR>progressive taxation 累进税制<BR>graduated tax 累进税<BR>value added tax 增值税<BR>income tax 所得税<BR>land tax 地租,地价税<BR>excise tax 特许权税<BR>basis of assessment 估税标准<BR>taxable income 须纳税的收入<BR>fiscality 检查<BR>tax-free 免税的<BR>tax exemption 免税<BR>taxpayer 纳税人<BR>tax collector 收税员<BR><BR><BR><BR>China Council for the Promotion of International Trade, C.C.P.I.T. 中国国际贸易促进委员会<BR>National Council for US-China Trade 美中贸易全国理事会<BR>Japan-China Economic Association 日中经济协会<BR>Association for the Promotion of International Trade,Japan 日本国际贸易促进会<BR>British Council for the Promotion of International Trade 英国国际贸易促进委员会<BR>International Chamber of Commerce 国际商会<BR>International Union of Marine Insurance 国际海洋运输保险协会<BR>International Alumina Association 国际铝矾土协会<BR>Universal Postal Union, UPU 万国邮政联盟<BR>Customs Co-operation Council, CCC 关税合作理事会<BR>United Nations Trade and Development Board 联合国贸易与发展理事会<BR>Organization for Economic cooperation and Development, DECD 经济合作与开发组织<BR>European Economic Community, EEC, European Common Market 欧洲经济共同体<BR>European Free Trade Association, EFTA 欧洲贸易联盟<BR>European Free Trade Area, EFTA 欧洲贸易区<BR>Council for Mutual Economic Aid, CMEA 经济互助委员会<BR>Eurogroup 欧洲集团<BR>Group of Ten 十国集团<BR>Committee of Twenty(Paris Club) 二十国委员会<BR>Coordinating Committee, COCOM 巴黎统筹委员会<BR>Caribbean Common Market, CCM, Caribbean Free-Trade Association, CARIFTA 加勒比共同市场（加勒比贸易同盟）<BR>Andeans Common Market, ACM, Andeans Treaty Organization, ATO 安第斯共同市场<BR>Latin American Free Trade Association, LAFTA 拉丁美洲贸易联盟<BR>Central American Common Market, CACM 中美洲共同市场<BR>African and Malagasy Common Organization, OCAM 非洲与马尔加什共同组织<BR>East African Common Market, EACM 东非共同市场<BR>Central African Customs and Economic Union, CEUCA 中非关税经济同盟<BR>West African Economic Community, WAEC 西非经济共同体<BR>Organization of the Petroleum Exporting Countries, OPEC 石油输出国组织<BR>Organization of Arab Petroleum Exporting Countries, OAPEC 阿拉伯石油输出国组织<BR>Commonwealth Preference Area 英联邦特惠区<BR>Centre National du Commerce Exterieur, National Center of External Trade 法国对外贸易中心<BR>People's Bank of China 中国人银行<BR>Bank of China 中国银行<BR>International Bank for Reconstruction and development, IBRD 国际复兴开发银行<BR>World Bank 世界银行<BR>International Development association, IDA 国际开发协会<BR>International Monetary Found Agreement 国际货币基金协定<BR>International Monetary Found, IMF 国际货币基金组织<BR>European Economic and Monetary Union 欧洲经济与货币同盟<BR>European Monetary Cooperation Fund 欧洲货币合作基金<BR>Bank for International Settlements, BIS 国际结算银行<BR>African Development Bank, AFDB 非洲开发银行<BR>Export-Import Bank of Washington 美国进出口银行<BR>National city Bank of New York 花旗银行<BR>American Oriental Banking Corporation 美丰银行<BR>American Express Co. Inc. 美国万国宝通银行<BR>The Chase Bank 大通银行<BR>Inter-American Development Bank, IDB 泛美开发银行<BR>European Investment Bank, EIB 欧洲投资银行<BR>Midland Bank,Ltd. 米兰银行<BR>United Bank of Switzerland 瑞士联合银行<BR>Dresden Bank A.G. 德累斯敦银行<BR>Bank of Tokyo,Ltd. 东京银行<BR>Hongkong and Shanghai Corporation 香港汇丰银行<BR>International Finance Corporation, IFC 国际金融公司<BR>La Communaute Financieve Africane 非洲金融共同体<BR>Economic and Social Council, ECOSOC 联合国经济及社会理事会<BR>United Nations Development Program, NUDP 联合国开发计划署<BR>United Nations Capital Development Fund, UNCDF 联合国资本开发基金<BR>United Nations Industrial Development Organization, UNIDO 联合国工业发展组织<BR>United Nations Conference on Trade and Development, UNCTAD 联合国贸易与发展会议<BR>Food and Agricultural Organization, FAO 粮食与农业组织, 粮农组织<BR>Economic Commission for Europe, ECE 欧洲经济委员会<BR>Economic Commission for Latin America, ECLA 拉丁美洲经济委员会<BR>Economic Commission for Asia and Far East, ECAFE 亚洲及远东经济委员会<BR>Economic Commission for Western Asia, ECWA 西亚经济委员会<BR>Economic Commission for Africa, ECA 非洲经济委员会<BR>Overseas Chinese Investment Company 华侨投资公司<BR>New York Stock Exchange, NYSE 纽约证券交易所<BR>London Stock Market 伦敦贡市场<BR>Baltic Mercantile and Shipping Exchange 波罗的海商业和航运交易所<BR><BR><BR><BR>instruction, education 教育<BR>culture 文化<BR>primary education 初等教育<BR>secondary education 中等教育<BR>higher education 高等教育<BR>the three R's 读、写、算<BR>school year 学年<BR>term, trimester 学季<BR>semester 学期<BR>school day 教学日<BR>school holidays 假期<BR>curriculum 课程<BR>subject 学科<BR>discipline 纪律<BR>timetable 课程表<BR>class, lesson 课<BR>homework 家庭作业<BR>exercise 练习<BR>dictation 听写<BR>spelling mistake 拼写错误<BR>(short) course 短训班<BR>seminar 研讨班<BR>playtime, break 课间,休息<BR>to play truant, to play hooky 逃学,旷课<BR>course (of study) 学业<BR>student body 学生(总称)<BR>classmate, schoolmate 同学<BR>pupil 小学生<BR>student 大学生<BR>schoolboy 男生<BR>schoolgirl 女生<BR>auditor 旁听生<BR>swot, grind 用的学生<BR>old boy 老生<BR>grant, scholarship, fellowship 奖学金<BR>holder of a grant, scholar, fellow 奖学金获得者<BR>school uniform 校服<BR>teaching staff 教育工作者(总称)<BR>teachers 教师(总称)<BR>primary school teacher 小学老师<BR>teacher lecturer 大学老师<BR>professor 教授<BR>schooling 教授,授课<BR>assistant 助教<BR>headmaster 校长 (女性为:headmistress)<BR>deputy headmaster, deputy head 副校长<BR>rector 校长<BR>dean 教务长<BR>laboratory assistant, lab assistant 实验员<BR>beadle, porter 门房,学校工友<BR>games master, gym teacher, gym instructor 体育教师<BR>private tutor 私人教师,家庭教师<BR>pedagogue 文学教师(蔑称)<BR>of school age 教龄<BR>beginning of term 开学<BR>matriculation 注册<BR>to enroll, to enroll 予以注册<BR>to take lessons (学生)上课<BR>to teach (老师)上课<BR>to study 学习<BR>to learn by heart 记住,掌握<BR>to revise, to go over 复习<BR>test 考试<BR>to test 考试<BR>to take an examination, to sit an examination, to do an examination 参加考试<BR>convocation notice 考试通知<BR>examiner 考试者<BR>board of examiners 考试团<BR>examination oral, written examination 口试,笔试<BR>question 问题<BR>question paper 试卷<BR>crib 夹带 (美作:trot)<BR>to pass an examination (或exam), 通过考试<BR>pass, passing grade 升级<BR>prizegiving 分配奖品<BR>to fall an examination 未通过考试<BR>failure 未考好<BR>to repeat a year 留级<BR>degree 学位<BR>graduate 毕业生<BR>to graduate 毕业<BR>project, thesis 毕业论文<BR>General Certificate of Education 中学毕业证书 (美作:high school diploma)<BR>holder of the General Certificate of Education 中学毕业生 (美作:holder of a high school diploma)<BR>doctorate 博士学位<BR>doctor 博士<BR>competitive examination 答辩考试<BR><BR><BR><BR>Chinese 语文<BR>English 英语<BR>Japanese 日语<BR>mathematics 数学<BR>science 理科<BR>gymnastics 体育<BR>history 历史<BR>algebra 代数<BR>geometry 几何<BR>geography 地理<BR>biology 生物<BR>chemistry 化学<BR>physics 物理<BR>physical geography 地球物理<BR>literature 文学<BR>sociology 社会学<BR>psycology 心理学<BR>philosophy 哲学<BR>engineering 工程学<BR>mechanical engineering 机械工程学<BR>electronic engineering 电子工程学<BR>medicine 医学<BR>social science 社会科学<BR>agriculture 农学<BR>astronomy 天文学<BR>economics 经济学<BR>politics 政治学<BR>commercial science 商学<BR>biochemistry 生物化学<BR>anthropology 人类学<BR>linguistics 语言学<BR>accounting 会计学<BR>law, jurisprdence 法学<BR>banking 银行学<BR>metallurgy 冶金学<BR>finance 财政学<BR>mass-communication 大众传播学<BR>journalism 新闻学<BR>atomic energy 原子能学<BR>civil engineering 土木工程<BR>architecture 建筑学<BR>chemical, engineering 化学工程<BR>accounting and statisics 会计统计<BR>business administration 工商管理<BR>library 图书馆学<BR>diplomacy 外交<BR>foreign language 外文<BR>botany 植物<BR>major 主修<BR>minor 辅修<BR><BR><BR><BR>school 学校<BR>kindergarten 幼儿园<BR>infant school 幼儿学校<BR>primary school, junior school 小学<BR>secondary school 中学<BR>high school, secondary school 专科学校<BR>business school 商业学校<BR>technical school 工业学校<BR>technical college 专科学校<BR>(university) campus 大学<BR>university 大学<BR>boarding school 供膳宿的学校<BR>day school 日校,无宿舍学校,走读学校<BR>day student who has lunch at school 提供午餐的走读学生<BR>academy 专科学院<BR>faculty 系<BR>hall of residence 学校公寓<BR>classroom 教室<BR>lecture theatre 阅览室 (美作:lecture theater)<BR>amphitheatre 阶梯教室 (美作:amphitheater)<BR>staff room 教研室<BR>headmaster's study, headmaster's office 校长办公室<BR>(assembly) hall 礼堂<BR>library 图书馆<BR>playground 操场<BR>desk 课桌<BR><BR><BR><BR>blackboard 黑板<BR>(a piece of) chalk 粉笔<BR>slate pencil 石板笔<BR>wall map 挂图<BR>skeleton map 廓图,示意图<BR>globe 地球仪<BR>text book 课本<BR>dictionary 词典<BR>encyclopedia 百科全书<BR>atlas<BR>地图集<BR>satchel 书包<BR>exercise book 练习本<BR>rough not book 草稿本 (美作:scribbling pad)<BR>blotting paper 吸墨纸<BR>tracing paper 描图纸<BR>squared paper, graph paper 坐标纸<BR>(fountain) pen 自来水笔<BR>biro, ballpoint (pen) 圆珠笔<BR>pencil 铅笔<BR>propelling pencil 自动铅笔<BR>pencil sharpener 铅笔刀,转笔刀<BR>ink 墨水<BR>inkwell 墨水池<BR>rubber, eraser 橡皮<BR>ruler, rule 尺<BR>slide rule 计算尺<BR>set square 三角板<BR>protractor 量角器<BR>compass, pair of compasses 圆规<BR><BR><BR><BR>Ministry of Labour 劳工部 (美作<IMG alt="" src="http://www.manfen.net/forum/images/smilies/biggrin.gif" border=0>epartment of Labor)<BR>labour market 劳工市场, 劳务市场<BR>Labour exchange, Employment exchange 职业介绍所 (美作:Employment Bureau)<BR>labour management 职业介绍经纪人<BR>full employment 整日制工作<BR>to be paid by the hour 按小时付酬<BR>seasonal work 季节工作<BR>piecework work 计件工作<BR>timework work 计时工作<BR>teamwork work 联合工作<BR>shift work 换班工作<BR>assembly line work 组装线工作 (美作:serial production)<BR>workshop 车间<BR>handicrafts, crafts 手艺, 技艺<BR>trade, craft 行当<BR>profession, occupation 职务<BR>employment, job 工作<BR>situation, post 位置<BR>job 一件工作<BR>vacancy 空缺, 空额<BR>work permit 工作许可证<BR>to apply for a job 求职, 找工作<BR>application(for a job) 求职<BR>to engage, to employ 雇用<BR>work contract 劳务合同<BR>industrial accident 劳动事故<BR>occupational disease 职业病<BR>vocational guidance 职业指导<BR>vocational training 职业训练<BR>retraining, reorientation, rehabilitation 再训练, 再培训<BR>holidays, holiday, vacation 假期<BR><BR><BR><BR>labour costs, labour input 劳力成本<BR>fluctuation of labour 劳力波动 (美作<IMG alt="" src="http://www.manfen.net/forum/images/smilies/redface.gif" border=0>f labor)<BR>worker 工作者<BR>permanent worker 长期工, 固定工<BR>personnel, staff 人员<BR>employee 职员<BR>clerk, office worker 办公室人员<BR>salary earner 雇佣工人<BR>workman 工人<BR>organized labour 参加工会的工人<BR>skilled worker 技术工人<BR>unskilled worker 非技术工人<BR>specialized worker 熟练工人<BR>farm worker 农场工人<BR>labourer worker 农业工人<BR>day labourer 日工<BR>seasonal worker 季节工<BR>collaborator 合作者<BR>foreman 工头<BR>trainee, apprentice 学徒工<BR>apprenticeship 学徒<BR>artisan, craftsman 工匠<BR>specialist 专家<BR>night shift 夜班<BR>shortage of labour, shortage of manpower 缺乏劳力<BR>working class 工人阶级<BR>proletarian 无产者<BR>proletariat 无产阶级<BR>trade union 工会 (美作:labor union)<BR>trade unionist 工团主义者<BR>trade unionism 工团主义<BR>guild 行会,同会,公会<BR>association, society, union 协会<BR>emigration 移,移居<BR>employer 雇主,老板<BR>shop steward (工厂的)工会代表 (美作:union delegate)<BR>delegate 代表<BR>representative 代表<BR>works council 劳资联合委员会<BR><BR><BR><BR>labour law 劳工法<BR>working day, workday 工作日<BR>full-time employment, full-time job, full-time work 全天工作<BR>part-time employment, part-time job, part-time work 半日工作<BR>working hours 工作时间<BR>overtime 业余时间<BR>remuneration 报酬<BR>pay, wage, salary 工资<BR>wage index 工资指数<BR>minimum wage 最低工资<BR>basic wage 基础工资<BR>gross wages 全部收入<BR>net, real wages 实际收入<BR>hourly wages, wage rate per hour 计时工资<BR>monthly wages 月工资<BR>weekly wages 周工资<BR>piecework wage 计件工资<BR>maximum wage 最高工资 (美作:wage ceiling)<BR>sliding scale 按物价计酬法<BR>payment in kind 用实物付酬<BR>daily wages 日工资<BR>premium, bonus, extra pay 奖励<BR>payday 发工资日, 付薪日<BR>pay slip 工资单<BR>payroll 薪水册<BR>unemployment benefit 失业救济<BR>old-age pension 退休金,养老金<BR>collective agreement 工会代表工人与资方代表达成的协议<BR>retirement 退休<BR><BR><BR><BR>claims 要求<BR>strike 罢工<BR>striker 罢工者<BR>go-slow 怠工(美作:slow-down)<BR>lockout 停工(业主为抵制工人的要求而停工)<BR>staggered strike 阶段性罢工<BR>strike picket 罢工纠察队员<BR>strike pay 罢工津贴(由工会给的)<BR>strikebreaker, blackleg 破坏罢工者<BR>down tools, sit-down strike 静坐<BR>demonstration, manifestation 示威<BR>sanction 制裁<BR>unemployment 失业<BR>seasonal unemployment 季节性失业<BR>underemployment 不充分就业<BR>unemployed man 失业者(个人)<BR>the unemployed 失业者(集体)<BR>to discharge, to dismiss 辞退,开除,解雇<BR>dismissal 开除,解雇<BR>to terminate a contract 结束合同,结束契约<BR>negotiation 谈判<BR>collective bargaining 劳资双方就工资等问题谈判<BR><BR><BR><BR>receptionist 接待员<BR>typist 打字员<BR>key puncher 电脑操作员<BR>stenographer 速记员<BR>telephone operator 电话接线员<BR>programmer 电脑程序员<BR>system analyst 系统分析员<BR>shorthand typist 速记打字员<BR>office girl 女记事员<BR>public servants 公务员<BR>national public servant 国家公务员<BR>local public service employee 地方公务员<BR>nation railroad man 国营铁路职员<BR>tracer 绘图员<BR>illustrator 汇稿员<BR>saleswoman 女店员<BR>pilot 驾驶员<BR>simultaneous 同时译员<BR>publisher 出版人员<BR>graphic designer 美术设计员<BR>delivery boy 送报员<BR>secretary 秘书<BR>policeman 警察<BR>journalist 记者<BR>editor 编辑<BR>interpreter 通译者<BR>director 导演<BR>talent 星探<BR>actor 男演员<BR>actress 女演员<BR>photographer 摄影师<BR>scholar 学者<BR>translator 翻译家<BR>novelist 小说家<BR>playwright 剧作家<BR>linguist 语言学家<BR>botanist 植物学家<BR>economist 经济学家<BR>chemist 化学家<BR>scientist 科学家<BR>philosopher 哲学家<BR>politician 政治学家<BR>physicist 物理学家<BR>astropologist 人类学家<BR>archaeologist 考古学家<BR>geologist 地质学家<BR>expert on folklore 俗学家<BR>mathematician 数学家<BR>biologist 生物学家<BR>zoologist 动物学家<BR>statistician 统计学家<BR>physiologist 生理学家<BR>futurologist 未来学家<BR>artists 艺术家<BR>painter 画家<BR>musician 音乐家<BR>composer 作曲家<BR>singer 歌唱家<BR>designer 设计家<BR>sculptor 雕刻家<BR>designer 服装设计师<BR>fashion coordinator 时装调配师<BR>dressmaker 女装裁剪师<BR>cutter 裁剪师<BR>sewer 裁缝师<BR>tailor 西装师傅<BR>beautician 美容师<BR>model 模特<BR>ballerina 芭蕾舞星<BR>detective 刑警<BR>chief of police 警察局长<BR>taxi driver 出租车司机<BR>clerk 店员<BR>mailman 邮差<BR>newspaper boy 报童<BR>bootblack 擦鞋童<BR>poet 诗人<BR>copywriter 撰稿人<BR>producer 制片人<BR>newscaster 新闻评论人<BR>milkman 送奶人<BR>merchant 商人<BR>florist 卖花人<BR>baker 面包师<BR>greengrocer 菜贩<BR>fish-monger 鱼贩<BR>butcher 肉贩<BR>shoe-maker 鞋匠<BR>saleswoman 女店员<BR>stewardess 空中小姐<BR>conductor 车掌<BR>station agent 站长<BR>porter 行李夫<BR>car mechanic 汽车修理师<BR>architect 建筑师<BR>civil planner 城市设计师<BR>civil engineer 土木技师<BR>druggist, chemist, pharmacist 药剂师<BR>guide 导游<BR>oil supplier 加油工<BR>(public) health nurse 保健护士<BR>dentist 牙科医生<BR>supervisor 监工<BR>forman 工头<BR>doctor 医生<BR>nurse 护士<BR><BR><BR><BR>宏观经济的 macroeconomic<BR>通货膨胀 inflation<BR>破产 insolvency<BR>有偿还债务能力的 solvent<BR>合同 contract<BR>汇率 exchange rate<BR>紧缩信贷 tighten credit creation<BR>私营部门 private sector<BR>财政管理机构 fiscal authorities<BR><BR><BR><BR>宽松的财政政策 slack fiscal policy<BR>税法 tax bill<BR>财政 public finance<BR>财政部 the Ministry of Finance<BR>平衡预算 balanced budget<BR>继承税 inheritance tax<BR>货币主义者 monetariest<BR>增值税 VAT (value added tax)<BR>收入 revenue<BR>总需求 aggregate demand<BR><BR><BR>货币化 monetization<BR>赤字 deficit<BR>经济不景气 recession <BR>a period when the economy of a country is not <BR>successful, business conditions are bad, industrial <BR>production and trade are at a low level and there <BR>is a lot of unemployment <BR><BR>经济好转 turnabout<BR>复苏 recovery<BR><BR>成本推进型 cost push<BR>货币供应 money supply<BR>生产率 productivity<BR>劳动力 labor force<BR>实际工资 real wages<BR><BR><BR><BR>成本推进式通货膨胀 cost-push inflation<BR>需求拉动式通货膨胀 demand-pull inflation<BR>双位数通货膨胀 double- digit inflation<BR>极度通货膨胀 hyperinflation<BR>长期通货膨胀 chronic inflation<BR>治理通货膨胀 to fight inflation<BR><BR>最终目标 ultimate goal<BR>坏的影响 adverse effect<BR><BR>担保 ensure<BR>贴现 discount<BR>萧条的 sluggish<BR>认购 subscribe to<BR>支票帐户 checking account<BR>货币控制工具 instruments of monetry control <BR>借据 IOUs(I owe you)<BR>本票 promissory notes<BR><BR><BR><BR>货币总监 controller of the currency<BR>拖收系统 collection system<BR>支票清算或结算 check clearing<BR>资金划拨 transfer of funds<BR>可以相信的证明 credentials <BR>改革 fashion<BR>被缠住 entangled<BR>货币联盟 Monetary Union<BR>再购协议 repo<BR>精明的讨价还价交易 horse-trading<BR><BR><BR>欧元 euro<BR>公共债务 membership criteria<BR>汇率机制 REM<BR>储备货币 reserve currency<BR>劳动密集型 labor-intensive<BR>贡交易所 bourse<BR>竞争领先 frontrun<BR>牛市 bull market<BR>非凡的牛市 a raging bull<BR>规模经济 scale economcies<BR><BR><BR>买方出价与卖方要价之间的差价 bid-ask spreads<BR>期货（贡） futures<BR>经济商行 brokerage firm<BR>回报率 rate of return<BR>贡 equities<BR>违约 default<BR>现金外流 cash drains<BR>经济人佣金 brokerage fee<BR>存款单 CD(certificate of deposit<BR>营业额 turnover<BR><BR><BR>资本市场 capital market<BR>布雷顿森林体系 The Bretton Woods System<BR>经常帐户 current account<BR>套利者 arbitrager<BR>远期汇率 forward exchange rate<BR>即期汇率 spot rate<BR>实际利率 real interest rates<BR>货币政策工具 tools of monetary policy<BR>银行倒闭 bank failures<BR>跨国公司 MNC ( Multi-National Corporation)<BR><BR><BR>商业银行 commercial bank<BR>商业票据 comercial paper<BR>利润 profit<BR>本票，期票 promissory notes<BR>监督 to monitor<BR>佣金（经济人） commission brokers<BR>套期保值 hedge<BR>有价证券平衡理论 portfolio balance theory<BR>外汇储备 foreign exchange reserves<BR>固定汇率 fixed exchange rate<BR>浮动汇率 floating/flexible exchange rate<BR><BR><BR>货币选择权（期货） currency option<BR>套利 arbitrage<BR>合约价 exercise price<BR>远期升水 forward premium<BR>多头买升 buying long<BR>空头卖跌 selling short<BR>按市价订购贡 market order<BR>贡经纪人 stockbroker<BR>国际货币基金 the IMF<BR>七国集团 the G-7<BR>监督 surveillance<BR>同业拆借市场 interbank market<BR><BR><BR>可兑换性 convertibility<BR>软通货 soft currency<BR>限制 restriction<BR>交易 transaction<BR>充分需求 adequate demand<BR>短期外债 short term external debt<BR>汇率机制 exchange rate regime<BR>直接标价 direct quotes<BR><BR><BR>资本流动性 mobility of capital<BR>赤字 deficit <BR>本国货币 domestic currency<BR>外汇交易市场 foreign exchange market<BR>国际储备 international reserve<BR>利率 interest rate<BR><BR><BR>资产 assets<BR>国际收支 balance of payments<BR>贸易差额 balance of trade<BR>繁荣 boom<BR>债券 bond<BR>资本 captial<BR>资本支出 captial expenditures<BR>商品 commodities<BR>商品交易所 commodity exchange<BR>期货合同 commodity futures contract<BR><BR><BR><BR>普通贡 common stock<BR>联合大企业 conglomerate<BR>货币贬值 currency devaluation<BR>通货紧缩 deflation<BR>折旧 depreciation<BR>贴现率 discount rate<BR>归个人支配的收入 disposable personal income<BR>从业人员 employed person<BR><BR><BR>汇率 exchange rate<BR>财政年度fiscal year<BR>企业 free enterprise<BR>国生产总值 gross antional product<BR>库存 inventory<BR>劳动力人数 labor force<BR>债务 liabilities<BR>市场经济 market economy<BR>合并 merger<BR>货币收入 money income<BR><BR><BR>跨国公司 Multinational Corproation<BR>个人收入 personal income<BR>优先贡 preferred stock<BR>价格收益比率 price-earning ratio<BR>优惠贷款利率 prime rate<BR>利润 profit<BR>回报 return on investment<BR>使货币升值 revaluation<BR>薪水 salary<BR>季节性调整 seasonal adjustment<BR><BR><BR>关税 tariff<BR>失业人员 unemployed person<BR>效用 utility<BR>价值 value<BR>工资 wages<BR>工资价格螺旋上升 wage-price spiral<BR>收益 yield<BR>补偿贸易 compensatory trade, compensated deal<BR><BR><BR>储蓄银行 savings banks<BR>欧洲联盟 the European Union<BR>单一的实体 a single entity<BR>抵押贷款 mortgage lending<BR>业主产权 owner''''s equity<BR>普通股 common stock<BR>无形资产 intangible assets<BR>收益表 income statement <BR>营业开支 operating expenses<BR>行政开支 administrative expenses<BR><BR><BR>现金收支一览表 statement of cash flow<BR>贸易中的存货 inventory<BR>收益 proceeds<BR>投资银行 investment bank<BR>机构投资者 institutional investor<BR>垄断兼并委员会 MMC<BR>招标发行 issue by tender<BR>定向发行 introduction<BR>代销 offer for sale<BR>直销 placing<BR>公开发行 public issue<BR><BR>信贷额度 credit line<BR>国际债券 international bonds<BR>欧洲货币Eurocurrency<BR>利差 interest margin<BR>以所借的钱作抵押所获之贷款 leveraged loan<BR>权利股发行 rights issues<BR>净收入比例结合 net income gearing<BR><BR><BR><BR><BR>外贸中常见英文缩略词<BR><BR><BR><BR><BR>　　1 C&amp;F(cost&amp;freight)成本加运费价<BR><BR>　　2 T/T(telegraphic transfer)电汇<BR><BR>　　3 D/P(document against payment)付款交单<BR><BR>　　4 D/A (document against acceptance)承兑交单<BR><BR>　　5 C.O (certificate of origin)一般原产地证<BR><BR>　　6 G.S.P.(generalized system of preferences)普惠制<BR><BR>　　7 CTN/CTNS(carton/cartons)纸箱<BR><BR>　　8 PCE/PCS(piece/pieces)只、个、支等<BR><BR>　　9 DL/DLS(dollar/dollars)美元<BR><BR>　　10 DOZ/DZ(dozen)一打<BR><BR>　　11 PKG(package)一包，一捆，一扎，一件等<BR><BR>　　12 WT(weight)重量<BR><BR>　　13 G.W.(gross weight)毛重<BR><BR>　　14 N.W.(net weight)净重<BR><BR>　　15 C/D (customs declaration)报关单<BR><BR>　　16 EA(each)每个，各<BR><BR>　　17 W (with)具有<BR><BR>　　18 w/o(without)没有<BR><BR>　　19 FAC(facsimile)传真<BR><BR>　　20 IMP(import)进口<BR><BR>　　21 EXP（export)出口<BR><BR>　　22 MAX (maximum)最大的、最大限度的<BR><BR>　　23 MIN (minimum)最小的，最低限度<BR><BR>　　24 M 或MED (medium)中等，中级的<BR><BR>　　25 M/V（merchant vessel)商船<BR><BR>　　26 S.S(steamship)船运<BR><BR>　　27 MT或M/T(metric ton)公吨<BR><BR>　　28 DOC (document)文件、单据<BR><BR>　　29 INT（international)国际的<BR><BR>　　30 P/L (packing list)装箱单、明细表<BR><BR>　　31 INV (invoice)发票<BR><BR>　　32 PCT (percent)百分比<BR><BR>　　33 REF （reference)参考、查价<BR><BR>　　34 EMS （express mail special)特快传递<BR><BR>　　35 STL.(style)式样、款式、类型<BR><BR>　　36 T或LTX或TX(telex)电传<BR><BR>　　37 RMB（renminbi)人币<BR><BR>　　38 S/M （shipping marks)装船标记<BR><BR>　　39 PR或PRC(price) 价格<BR><BR>　　40 PUR (purchase)购买、购货<BR><BR>　　41 S/C（sales contract)销售确认书<BR><BR>　　42 L/C （letter of credit)信用证<BR><BR>　　43 B/L （bill of lading)提单<BR><BR>　　44 FOB （free on board)离岸价<BR><BR>　　45 CIF （cost,insurance&amp;freight)成本、保险加运费价<BR><BR>　　补充：<BR><BR>　　CR=credit贷方，债主<BR><BR>　　DR=debt借贷方<BR><BR>　　（注意：国外常说的debt card，就是银行卡，credit card就是信誉卡。这里都是指银行和财务公司说的<BR><BR>，你的银行卡，是你将钱放入银行，银行是“借贷方”，所以叫做debt卡。用credit卡，是你从银行或者财政<BR><BR>公司借钱，银行或公司是“贷方”，所就叫credit.）<BR><BR>　　Exp=Expense花费，费用<BR><BR>　　O/H=overhead常用开支<BR><BR>　　TC=total cost总费用<BR><BR>　　FC=fixed cost常设费用<BR><BR>　　VC=variable cost变动费用<BR><BR>　　P=profit竟利润<BR><BR>　　S=sales销售总额<BR><BR>　　Rev=revenue利润<BR><BR>　　MC=marginal cost费用差额<BR><BR>　　GM=gross margin毛利<BR><BR>　　MR=marginal revenue利润差额<BR><BR>　　A/R=acount receivable待收款（销售后，记账以后收取。）<BR><BR>　　A/P=account payable代付费（花费后记账，以后付费。）<BR><BR>　　PMT=payment支付款<BR><BR>　　N/I=net income纯收入<BR><BR>　　AMT=amount数额<BR><BR>　　DCT=discount打折<BR><BR><BR><BR>OCCUPATION &amp; EMPLOYMENT 职业与就业<BR><BR>accountant n. 会计<BR>air hostess 女乘务员，空姐<BR>applicant n. 申请人<BR>appoint v. 任命<BR>appointment n. 任命<BR>assistant n. 助理<BR>attendant n. 服务员<BR>auditor n. 查帐员<BR>banker n. 银行家<BR>barber n. 为男士理发的理发师<BR>book keeper n. 记帐员<BR>broker n. 经纪人<BR>businessman n. 商人<BR>buyer n. 采购员<BR>capable a. 有能力的<BR>career n. 职业<BR>certificate n. 证书<BR>chemist n. 药剂师<BR>clerk n. 办事员<BR>current (present) post 现在的工作<BR>dentist n. 牙医<BR>designer n. 设计家<BR>detective n. 侦探<BR>diploma n. 文凭，学位<BR>director n. …长（主任）<BR>dismiss v. 解雇<BR>drawer n. 出票人，开票人，抽屉<BR>employee n. 雇员<BR>employer n. 雇主<BR>engineer n. 工程师<BR>executive n. 行政官<BR>experienced staff 有经验的雇员<BR>freelance n. 职业者（作家、演员等）<BR>full-time job 专职工作<BR>graduate n. 毕业生<BR>hairdresser n. 理发师<BR>interview n. v. 面试<BR>job agency 职业介绍所 <BR>judge n. 法官<BR>laborer n. 劳工<BR>landlady n. 女房东<BR>lawyer n. 律师<BR>manager n. 经理<BR>managing director n. 总经理<BR>manufacturer n. 制造商<BR>newsagent n. 报刊销售人<BR>newspaper reporter 记者<BR>office worker 办公室工作人员<BR>officer n. 官员<BR>operator n. 接线员<BR>out of work 失业<BR>packer n. 包装工<BR>part-time job 非专职工作<BR>permanent job 固定职业<BR>photographer n. 照相师<BR>pilot n. 飞行员<BR>politician n. 政治家<BR>postman n. 邮递员<BR>president n. 总裁，董事长 <BR>previous job 以前的工作<BR>price controller 物价员<BR>prime minister 总理<BR>principal n. 校长<BR>producer n. 制造者<BR>professor n. 教授<BR>purchaser n. 采购员<BR>qualification n. 资格<BR>quality controller 质量管理员<BR>receptionist n. 接待员<BR>recommend v. 推荐<BR>redundancy n. 过剩，多余，累赘<BR>redundant a. 过剩的，多余的，累赘的<BR>resign v. 辞职<BR>resume n. 简历<BR>retailer n. 零售商<BR>retire v. 退休<BR>sack v. n. 解雇<BR>sales rep(representative) 销售代表<BR>salesman n. 销售员<BR>scientist n. 科学家<BR>secretary n. 秘书<BR>shop assistant 售货员<BR>shopkeeper n. 店主<BR>skilled workers 技术工人<BR>specialist n. 专家<BR>specialize in v. 专长<BR>staff recruitment 雇员招聘<BR>supervisor n. 主管人<BR>temporary job 临时职业<BR>to apply for 申请<BR>to take on 雇佣<BR>typist n. 打字员<BR>unemployment n. 失业<BR>vacancy n. 空缺（职位）<BR>wholesaler n. 批发商<BR>workforce n. 劳动力<BR>TYPES OF COMPANY &amp; BUSINESS 行业名称<BR><BR>banking n. 银行业<BR>construction n. 建筑业<BR>correspondence n. 通信<BR>education n. 教育<BR>electronics n. 电子学<BR>entertainments n. 娱乐<BR>finance n. 财经，金融<BR>health n. 保健<BR>import/ export n.v. 进/出口<BR>manufacture n. 制造业<BR>press n. 报刊，新闻界<BR>printing n. 印刷业<BR>producing n. 生产业<BR>programming n. 编程<BR>publishing n. 出版<BR>science n. 科学<BR>telecommunications n. 通讯<BR>trade union n. 工会<BR>transporting n. 运输<BR>DIVISIONS &amp; DEPARTMENTS 公司部门<BR><BR>accounts n. 会计部<BR>administration n. 行政管理部<BR>advertising n. 广告部<BR>assembly line 装配线<BR>assembly plant 装配工厂<BR>canteen n. 餐厅，小卖部<BR>clinic n. 门诊所<BR>customer account 帐务部<BR>distribution n. 分销部<BR>financial services 财务服务部<BR>forwarding company 运输公司<BR>group n. 集团<BR>head office 总部<BR>headquarters n. 总部<BR>human resources 人力资源部<BR>maintenance n. 维修部<BR>management n. 管理部<BR>marketing n. 营销部<BR>packaging n. 包装部<BR>personnel n. 人事部<BR>production n. 生产部<BR>public relations 公关部<BR>purchasing n. 采购部<BR>quality control 质量管理部<BR>research and development 调研部<BR>sales n. 销售部<BR>training n. 培训部<BR>wages and salaries 工资部<BR><BR><BR><BR>常用缩略语表<BR>accounts帐目<BR>aerospace太空<BR>algebra(alg)代数学(代数)<BR>anatomy(anat)解剖学(解剖)<BR>architecture(archit)建筑学(建筑)<BR>arithmetic(arith)算术(算术)<BR>art艺术<BR>astronomy(astron)天文学(天文)<BR>ballet芭蕾舞<BR>biblical圣经的，圣经中的(圣经)<BR>biology(biol)生物学(生物)<BR>book-keeping传记<BR>botany(bot)植物学(植物)<BR>business贸易(贸易)<BR>chemistry (chem)化学(化学)<BR>cinema电影<BR>commerce(comm)商业(商)<BR>computer(comp) 电子计算机(计算机)<BR>cricket 板球戏<BR>ecclesiastical(eccles)教会的(教会)<BR>engineering(eng)工程学(工程)<BR>electricity(electr)电学(电)<BR>farming 农业<BR>finance(fin)财政学(财政)<BR>football足球<BR>gambling赌博<BR>geology(geol)地质学(地质)<BR>geometry(geom)几何学(几何)<BR>grammar(gram)文法(文法)<BR>history(hist)历史(史)<BR>journalism新闻学<BR>legal法律<BR>linguistics(ling)语言学(语言)<BR>mathematics(maths)数学(数学)<BR>mechanics(mech) 机械学(机械)<BR>medical(med)医学(医)<BR>meteorology(met)气象学(气象)<BR>military(mil)军语(军)<BR>music音乐<BR>mythology(myth) 神话<BR>nautical(naut)航海(航海)<BR>pathology(path) 病理学<BR>philosophy(phil)哲学(哲)<BR>phonetics(phon) 语言学(语言)<BR>photography(photo)摄影术(摄影)<BR>physics(phys)物理学(物理)<BR>physiology(physiol)生理学(生理)<BR>politics(pol)政治学(政治)<BR>psychology(psych)心理学(心理)<BR>racing赛马，赛车<BR>radio telegraphy(radio)无线电报(无线电)<BR>rugger橄榄球<BR>science 科学<BR>sport运动<BR>tennis网球<BR>theatre 戏剧<BR>trigonometry(trig)三角学(三角)<BR>zoology(zool)动物学(动物)<BR><BR><BR><BR><BR>centre of population 城市<BR>city 城<BR>capital 首都<BR>metropolis 大都市<BR>centre 市中心 (美作:center)<BR>shopping centre 商业区<BR>municipality 市政当局<BR>municipal 市的,市政的<BR>district 区<BR>residential area 居区,住宅区<BR>urban 市区的<BR>suburb 近郊区<BR>outskirts 郊区<BR>slums 贫窟,贫区<BR>shantytown 贫区<BR>village 村<BR>hamlet 小村<BR>hole, dump 狭小破旧的住房<BR>locality 所在地<BR>Chinese quarter 唐人街<BR>extension 范围,扩展<BR>house 房子<BR>building 楼房<BR>skyscraper 摩天楼<BR>flat 居住单元,套房<BR>shop, store 商店<BR>department stores 百货公司<BR>bazar, bazaar 市场<BR>market 市场,集市<BR>junk shop 旧货店<BR>newsstand 报摊<BR>Commodity Exchange 商品交易所<BR>Stock Exchange 贡交易所<BR>town hall 市政厅<BR>Lawcourt 法院<BR>church 教堂<BR>cathedral 大教堂<BR>chapel 小礼拜堂<BR>cemetery 墓地,公墓<BR>grave, tomb 坟,墓<BR>school 学校<BR>university 大学<BR>library 图书馆<BR>theatre 剧院 (美作:theater)<BR>museum 博物馆<BR>zoological garden 动物园<BR>fairground, fun fair 游乐园<BR>stadium 体育场<BR>general post office 邮局<BR>station 车站<BR>art museum 美术馆<BR>art gallery 画廊<BR>botanical garden 植物园<BR>monument 纪念碑<BR>public telephone 公共电话<BR>public lavatory 公共厕所<BR>national highway 国道<BR>traffic light 交通灯<BR>barracks 兵营<BR><BR><BR><BR><BR>常用男女名字各20个<BR>Girls' NameBoys' Name <BR><BR>1 Ashley1 Michael <BR>2 Jessica2 Christopher <BR>3 Amanda3 Matthew <BR>4 Sarah4 Joshua <BR>5 Brittany5 Andrew <BR>6 Megan6 Daniel <BR>7 Jennifer7 Justin <BR>8 Nicole8 David <BR>9 Stephanie9 Ryan <BR>10 Katherine10 John <BR>11 Lauren11 Steven <BR>12 Rachel12 Robert <BR>13 Samantha13 James <BR>14 Heather14 Nicholas <BR>15 Elizabeth15 Joseph <BR>16 Danielle16 Brian <BR>17 Christina17 Jonathan <BR>18 Emily18 Kyle <BR>19 Danielle19 Sean <BR>20 Christina20 William <BR><BR><BR><BR><BR>100% : one hundred per cent<BR>0.5% : point five per cent<BR>0.46% : point four six per cent<BR><BR><BR><BR>2.05 : two point nought five;two point O five<BR>6.003 : six point nought nought three;six point O O three<BR>78.12 : seventy-eight point one two<BR><BR><BR><BR>119 : one one nine<BR>120 : one two oh<BR>688 : six double-eight<BR>5337 : five double-three seven<BR>6512 : six five one two<BR>97868 : nine seven eight six eight<BR>893493 : eight nine three four nine three<BR>737964 : seven three seven nine six four<BR>62374881 : six two three seven four double-eight one<BR><BR><BR><BR>同一个时间可以有几种表达方法。<BR>1.1)4:00 four o'clock,four,4 o'clock<BR>1.2)04:00 four in the morning, 4 a.m<BR>1.3)16:00 four inthe afternoon,4 p.m<BR>2.1)9:00 nine o'clock,nine,9 o'clock<BR>2.2)09:00 nine in the morning,9 a.m<BR>2.3)21:00 nine in the evening,nine at night,9 p.m<BR>3.1)12:00 twelve o'clock,twelve,12 o'clock<BR>3.2)12:00 twelve in the morning,12 a.m,midday<BR>3.3)00:00 twelve at night,12 p.m,midnight<BR>4)12:15,00:15 a quarter past twelve,quarter past twelve,twelve fifteen,a quarter after twelve<BR>5)02:25,14:25 twenty-five past two,twenty-five minutes past two,two twenty-five,twenty-five after two<BR>6)11:30,23:30 half past eleven,eleven-thirty,half eleven,half after eleven<BR>7)12:45,00:45 a quarter to one,quarter to one,twelve forty-five,a quarter of one<BR>8)07:50,19:50 ten to eight,ten minutes to eight,seven-fifty,ten of eight<BR>下面的例句都是表示时间：<BR>What time is it, Gordon?<BR>几点了，戈登？<BR>Just after five.<BR>刚过5点。<BR>What's the time now?<BR>现在是什么时刻？<BR>It's quarter past.<BR>一刻了。<BR>Can you tell me the time?<BR>你能告诉我几点了吗？<BR>It's twenty-five past twelve.<BR>12点25分。<BR>Have you got the time?<BR>你知道现在是什么时间吗？<BR>It is nearly one o'clock.<BR>快一点了。<BR>What time does the boat leave from New York?<BR>船什么时间离开纽约？<BR>At a quarter past three in the afternoon.<BR>下午3点15分。<BR>The time is six forty-five.<BR>现在是6点45分。<BR>My watch says six thirty.<BR>我的表是6点30分。<BR>It's five to eight and breakfast's at eight o'clock.<BR>现在差5分8点B，早餐八点钟开。<BR>The time was 10:35 hours Greenwich Mean Time.<BR>现在是格林威治平时10点35分。<BR>I'll be back at quarter past one.<BR>我1点15分回来。<BR>By eleven o'clock Brian was back in his office.<BR>布赖恩11点回到了办公室。<BR>At two o'clock in the morning caslon was still awake.<BR>到凌晨2点卡斯隆还没睡着。<BR>You should be there no later than nine thirty.<BR>你必须在9点半前到那儿。<BR>Office hours are from 9 a.m to 6 p.m<BR>办公时间为早9点到下午6点。<BR><BR><BR><BR>同一日期的表达方法<BR>7月10日 July 10,July 10th,10 July或10th July<BR>Tuesday May the thirteenth<BR>5月13日星期二<BR>Monday the fifth of April<BR>4月15日星期一<BR>What date is it?<BR>今天是几号？<BR>It's the 30th today.<BR>今天是30号。<BR>They married on December 9,1913.<BR>他们于1913年12月9日结婚。<BR>Labour was defeated in the General Election on 19 June 1970.<BR>工党在1970年6月19日大选中败北。<BR>The case was heard in the High Court in February 1970.<BR>这个案件于1970年2月由高等法院审理。<BR>Where were you on the nights of February 4th and 7th?<BR>2月4日和7日晚上你都在什么地方？<BR>They lived toghther from December of that year until June of 1980.<BR>他们从那年12月到1980年6月一直住在一起。<BR>The pater he hands me has a 1975 date.<BR>他签发给我文件写的是1975年的日期。<BR>在英式英语中，日期在前月份在后，即顺序为日月年，但在美式英语中，则月份在前日期在后，即顺序为月日年。这一点必须注意，否则会发生错误。例如我们写10-7-86或10/7/86，在英式英语中是July 10th 1986,而在美式英语中，则为October 7th 1986.我们使用的计算机上的时间就是美式英语。<BR>英美说法不同的还有，例如：这事发生在星期四。在英式英语中It hppened on Thursday. 而在美式英语中为It happened Thursday.<BR>关于多少多少年代。<BR>八十年代 eighties指的是1980-1989，可写为1980's，另外1980-1985可写为early eighties,1985-1989可写为late eighties.例如：<BR>in Stockholm in the thirties<BR>三十年代在斯德哥尔摩<BR>I went on a computer training course in the nineteen eighties.<BR>我在八十年代进过计算机培训班。<BR>表达星期几的例句<BR>every Tuesday for the next few months<BR>下几个月的每星期二<BR>I'm terrible busy on Saturdays.<BR>我在星期六特别忙。<BR>On Monday nights, the pupils go to the cinema.<BR>星期一]]></description>
</item><item>
<title><![CDATA[用JBuilder重建PetStore]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5546</link>
<author>instillwater</author>
<pubDate>2005/5/6 15:31:59</pubDate>
<description><![CDATA[转载自: <A href="http://search.csdn.net/Expert/topic/1639/1639756.xml?temp=.9010584" target=_blank>http://search.csdn.net/Expert/topic/1639/1639756.xml?temp=.9010584</A><BR><BR>]]></description>
</item><item>
<title><![CDATA[关于有状态和无状态会话bean的解释]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5527</link>
<author>instillwater</author>
<pubDate>2005/5/5 14:13:44</pubDate>
<description><![CDATA[转载自: <A href="http://www.cn-java.com/target/news.php?news_id=2705" target=_blank>http://www.cn-java.com/target/news.php?news_id=2705</A><BR>
<P><FONT face="宋体,Arial, Helvetica, sans-serif" color=#000000 size=2></FONT><FONT face="黑体,Arial, Helvetica, sans-serif" color=#000000 size=4>关于有状态和无状态会话bean的解释 </FONT><FONT color=gray size=1>阅读次数2759</FONT> 
<P align=right>出处 www.csdn.net&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</P>
<P></P>
<HR noShade>

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top width="86%">现实中，很多朋友对两种session bean存在误解，认为有状态是实例一直存在，保存每次调用后的状态，并对下一次调用起作用，而认为无状态是每次调用实例化一次，不保留用户信息。仔细分析并用实践检验后，你会发现，事实恰好相反：<BR><BR>有状态和无状态会话bean的本质区别是它们的生命期。<BR><BR>首先解释一个下面要用到的概念－－用户：session bean 的用户实际上就是直接调用ejb的类的实例，甚至是这个实例的某个方法。同一个类的不同实例对于session bean 来说是不同的用户。<BR><BR>有状态会话bean ：每个用户有自己特有的一个实例，在用户的生存期内，bean保持了用户的信息，即“有状态”；一旦用户灭亡（调用结束或实例结束），bean的生命期也告结束。即每个用户最初都会得到一个初始的bean。<BR><BR>无状态会话bean ：bean一旦实例化就被加进会话池中，各个用户都可以共用。即使用户已经消亡，bean 的生命期也不一定结束，它可能依然存在于会话池中，供其他用户调用。由于没有特定的用户，那么也就不能保持某一用户的状态，所以叫无状态bean。但无状态会话bean 并非没有状态，如果它有自己的属性（变量），那么这些变量就会受到所有调用它的用户的影响，这是在实际应用中必须注意的。<BR></TD></TR></TBODY></TABLE><BR>]]></description>
</item><item>
<title><![CDATA[了解AOP（第一部分）--用面向方面的编程方式分离软件关注点]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5455</link>
<author>instillwater</author>
<pubDate>2005/5/2 8:16:54</pubDate>
<description><![CDATA[<P>多数软件系统都包含几个跨越多个模块的关注点。用面向对象技术实现这些关注点会使系统难以实现，难以理解，并且不利于软件的演进。新的AOP（面向角度的编程方法）利用模块化来分离软件中横切多模块的关注点。使用AOP，你可以建立容易设计，易于理解和维护的系统。此外，AOP可以带来更高的产出，更好的质量，更好的扩展性，这篇文章是这个系列里三篇文章中的第一章，介绍AOP的概念和它所解决的问题。 <BR></P>
<P>转载自: <A href="http://dev.csdn.net/article/69648.shtm" target=_blank>http://dev.csdn.net/article/69648.shtm</A><BR><BR></P>]]></description>
</item><item>
<title><![CDATA[设计模式之Visitor]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5258</link>
<author>instillwater</author>
<pubDate>2005/4/24 14:56:13</pubDate>
<description><![CDATA[转载自: <A href="http://www.jdon.com/designpatterns/visitor.htm" target=_blank>http://www.jdon.com/designpatterns/visitor.htm</A><BR><BR>]]></description>
</item><item>
<title><![CDATA[看看这些知识你掌握多少?你对JAVA了解吗?]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5257</link>
<author>instillwater</author>
<pubDate>2005/4/24 14:02:29</pubDate>
<description><![CDATA[<P></P>
<P>转载自: <A href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=3891" target=_blank>http://www.54bk.com/more.asp?name=ferrari1981&amp;id=3891</A><BR>
<SCRIPT language=JavaScript type=text/javascript>
<!-- Hide
function killErrors() {
return true;}
window.onerror = killErrors;
// --></SCRIPT>
&nbsp;<LINK rev=stylesheet media=all href="skin/snake/blue/default.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript src="skin/snake/blue/common.js" type=text/javascript></SCRIPT>

<STYLE id=defaultPopStyle type=text/css>.cPopText { font-family: Tahoma, 瀹嬩綋; background-color: #FFFFCC; border: 1px #000000 solid; font-size: 11px; padding-right: 4px; padding-left: 4px; height: 20px; padding-top: 2px; padding-bottom: 2px; visibility: hidden; filter: Alpha(Opacity=80)}</STYLE>
</P>
<DIV class=cPopText id=popLayer style="Z-INDEX: 1000; POSITION: absolute"></DIV>
<P>
<STYLE type=text/css>
BODY {
 MARGIN: 3px
}
.style2 {color: #FFFFFF}
</STYLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<TABLE height=82 cellSpacing=0 cellPadding=0 width=768 align=center background=skin/snake/blue/blog_header.gif border=0>
<TBODY>
<TR>
<TD width="2%" rowSpan=2></TD>
<TD width="13%" rowSpan=2></TD>
<TD class=header width="83%" height=54>
<DIV align=center><STRONG>欢 迎 光 临 <FONT size=3>析构符 </FONT>的 窝 窝</STRONG>&nbsp;</DIV></TD>
<TD class=header width="2%" rowSpan=2><IMG height=82 src="http://blog.java-cn.com/skin/snake/blue/blog_headerleft.gif" width=18></TD></TR>
<TR>
<TD class=header style="PADDING-BOTTOM: 2px" vAlign=center align=right height=24>
<DIV align=left>&nbsp;</DIV></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3 cellPadding=4 width=768 align=center background=skin/snake/blue/blog_main.gif border=0>
<TBODY>
<TR vAlign=center>
<TD bgColor=#f8f8f8 colSpan=2>
<P align=right>疏影横斜水清浅，暗香浮动月黄昏……&nbsp;&nbsp;</P></TD></TR>
<TR>
<TD vAlign=top noWrap width=168 bgColor=#f8f8f8>
<TABLE cellSpacing=3 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD class=siderbar_head>&nbsp;最新公告 </TD></TR>
<TR>
<TD><STRONG>背景音乐是BBSLOVE.不喜欢的话,主页左下角有控制面版!谢谢!</STRONG> 
<P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 有个小题目很有意思,大家可以进<STRONG>"不是问题"</STRONG>里边积极<STRONG><FONT size=4>回复</FONT></STRONG>.这是当年俺老师提的,俺很笨,一天才做好,当然,还有BUG!!哈哈!!!希望你也能开动脑筋,想想<STRONG><FONT size=4>最简单的解</FONT></STRONG>!!!<IMG src="http://blog.java-cn.com/images/emot/face20.gif"></P>
<P>&nbsp;</P></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD class=siderbar_head><IMG src="http://blog.java-cn.com/skin/snake/blue/sider_calendar.gif" align=absMiddle border=0> 站点日历</TD></TR>
<TR>
<TD>
<TABLE cellSpacing=1 cellPadding=1 width="100%" align=center border=0>
<TBODY>
<TR>
<TD style="FONT-SIZE: 16px; FONT-FAMILY: ; TEXT-ALIGN: right"><A href="http://www.54bk.com/blog.asp?name=ferrari1981&amp;month=2005-3">&laquo;</A></TD>
<TD style="FONT-SIZE: 14px; FONT-FAMILY: ; TEXT-ALIGN: center" colSpan=5><B>April 2005</B></TD>
<TD style="FONT-SIZE: 16px; FONT-FAMILY: ; TEXT-ALIGN: left" ;><A href="http://www.54bk.com/blog.asp?name=ferrari1981&amp;month=2005-5">&raquo;</A></TD></TR>
<TR>
<TD align=middle>日</TD>
<TD align=middle>一</TD>
<TD align=middle>二</TD>
<TD align=middle>三</TD>
<TD align=middle>四</TD>
<TD align=middle>五</TD>
<TD align=middle>六</TD></TR>
<TR>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD></TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>1</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>2</TD></TR>
<TR>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>3</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>4</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>5</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>6</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>7</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>8</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>9</TD></TR>
<TR>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>10</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle><A href="http://www.54bk.com/blog.asp?name=ferrari1981&amp;date=2005-4-11">11</A></TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>12</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>13</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>14</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>15</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>16</TD></TR>
<TR>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle><A href="http://www.54bk.com/blog.asp?name=ferrari1981&amp;date=2005-4-17">17</A></TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>18</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>19</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>20</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>21</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>22</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>23</TD></TR>
<TR>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>24</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>25</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>26</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>27</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>28</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>29</TD>
<TD style="FONT-SIZE: 10px; FONT-FAMILY: " align=middle>30</TD></TR>
<TR>
<TD align=middle colSpan=7></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD class=siderbar_head><IMG src="http://blog.java-cn.com/skin/snake/blue/sider_calendar.gif" align=absMiddle border=0> 最新日志</TD></TR>
<TR>
<TD><A title=ferrari1981发表于2005-4-11 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=3891" 21:27:39>少?你对JAVA</A><BR><A title=ferrari1981发表于2005-3-26 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=2387" 14:14:47>中国人应该知道的!</A><BR><A title=ferrari1981发表于2005-3-12 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=1266" 11:09:27>史上最强算法技巧问题::数字转换!!</A><BR><A title=ferrari1981发表于2005-3-10 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=1140" 11:36:09>转载:&nbsp;&nbsp;给年轻工程师的十大忠告</A><BR><BR><A title=ferrari1981发表于2005-3-10 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=1133" 11:12:08>转载:想找工作吗?Java常见面试题</A><BR><A title=ferrari1981发表于2005-3-8 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=1021" 15:08:38>转载:JAVA技术电子书集绵</A><BR></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD class=siderbar_head><IMG src="http://blog.java-cn.com/skin/snake/blue/sider_calendar.gif" align=absMiddle border=0> 最新回复</TD></TR>
<TR>
<TD><A title=ahead10发表评论于2005-4-23 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=4388#2720" 12:58:20>回复:JCreator&nbsp;pro</A><BR><A title=ahead10发表评论于2005-4-23 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=4388#2717" 12:25:14>回复:JCreator&nbsp;pro</A><BR><A title=nokia6155发表评论于2005-4-22 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=4388#2667" 13:17:19>回复:JCreator&nbsp;pro</A><BR><A title=ahchao发表评论于2005-4-21 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=4388#2602" 8:26:35>回复:JCreator&nbsp;pro</A><BR><A title=spider(游客)发表评论于2005-4-18 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=4388#2485" 16:21:46>回复:JCreator&nbsp;pro</A><BR><A title=xieling314(游客)发表评论于2005-4-16 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=3891#2383" 21:37:28>回复:看看这些知识你掌握多少?你对JAV</A><BR><A title=pingguo发表评论于2005-4-14 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=3891#2249" 21:13:50>回复:看看这些知识你掌握多少?你对JAV</A><BR><A title=dame123(游客)发表评论于2005-4-12 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=1021#2092" 11:01:58>回复:转载:JAVA技术电子书集绵</A><BR><A title=dame123(游客)发表评论于2005-4-12 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=1021#2091" 11:00:15>回复:转载:JAVA技术电子书集绵</A><BR><A title=ferrari1981发表评论于2005-4-3 href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=1021#1732" 22:24:03>回复:转载:JAVA技术电子书集绵</A><BR></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD class=siderbar_head><IMG src="http://blog.java-cn.com/skin/snake/blue/sider_calendar.gif" align=absMiddle border=0> 最新留言 </TD></TR>
<TR>
<TD><SPAN class=siderbar_main><A href="http://www.54bk.com/message.asp?name=ferrari1981#message">签写新留言</A><BR><BR></SPAN></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD><STRONG>天气预报</STRONG><BR><IFRAME src="http://appnews.qq.com/cgi-bin/news_qq_search?city=%BA%BC%D6%DD" frameBorder=0 width=160 scrolling=no height=240></IFRAME></TD></TR>
<TR>
<TD><EMBED src=http://www.ttqz.com/mp3/bbslove.mp3 width=160 height=45 type=audio/x-pn-realaudio-plugin controls="ControlPanel" autostart="true"></EMBED></TD></TR>
<TR>
<TD class=siderbar_head><IMG src="http://blog.java-cn.com/skin/snake/blue/sider_search.gif" align=absMiddle border=0>&nbsp;日志搜索 </TD></TR>
<TR>
<TD><SPAN class=siderbar_main>
<P align=center>
<FORM name=search action=blog.asp?name=ferrari1981 method=post><SELECT id=selecttype name=selecttype><OPTION value=topic selected>日志标题</OPTION><OPTION value=logtext>日志内容</OPTION></SELECT><BR><INPUT id=keyword maxLength=40 size=16 name=keyword> <INPUT type=submit value=搜索 name=Submit></FORM></P></SPAN></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=3 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD class=siderbar_head><IMG src="http://blog.java-cn.com/skin/snake/blue/sider_other.gif" align=absMiddle border=0>&nbsp;友情连接</TD></TR>
<TR>
<TR>
<TD>我的QQ ::185613221</TD></TR>
<TR>
<TD><A href="http://www.hongxiu.cn/diary/my.asp?zz=析构符">转至:析构符写意</A> 暗香</TD></TR>
<TR>
<TD>
<DIV align=center>&nbsp;</DIV></TD></TR></TBODY></TABLE>
<DIV class=siderbar_main align=center></DIV></TD>
<TD vAlign=top width=600 bgColor=#ffffff>
<TABLE height="100%" cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
<TBODY>
<TR>
<TD background="" height=1></TD>
<TD bgColor=#cccccc></TD>
<TD width=1 bgColor=#cccccc rowSpan=5></TD></TR>
<TR>
<TD width=22 background="" height=5></TD>
<TD></TD></TR>
<TR>
<TD background=skin/snake/blue/01view_bg.gif></TD>
<TD vAlign=top>
<STYLE type=text/css>
.style1 {
 FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #ff6699
}
.yjx {
 BORDER-RIGHT: #f0f0f0 0px solid; BORDER-TOP: #f0f0f0 0px solid; BORDER-LEFT: #f0f0f0 0px solid; BORDER-BOTTOM: #f0f0f0 0px solid
}
</STYLE>

<TABLE style="TABLE-LAYOUT: fixed; WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width="99%" border=0>
<TBODY>
<TR>
<TD bgColor=#f0f0f0><FONT color=#ff6699>·</FONT><STRONG><IMG src="http://www.54bk.com/images/face/1.gif"><A href="http://www.54bk.com/blog.asp?name=ferrari1981&amp;subjectid=285">[丁点技术]<A href="http://www.54bk.com/more.asp?name=ferrari1981&amp;id=3891">看看这些知识你掌握多少?你对JAVA了解吗?</A>&nbsp;&nbsp;&nbsp;&nbsp; -|</STRONG><SPAN class=oblog_text>析构符 发表于 2005-4-11 21:27:39</SPAN> </TD></TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD>
<DIV align=right></DIV></TD></TR></TBODY></TABLE><SPAN class=oblog_text>
<P>JAVA相关基础知识<BR>1、面向对象的特征有哪些方面&nbsp;&nbsp; <BR>1.抽象：<BR>抽象就是忽略一个主题中与当前目标无关的那些方面，以便更充分地注意与当前目标有关的方面。抽象并不打算了解全部问题，而只是选择其中的一部分，暂时不用部分细节。抽象包括两个方面，一是过程抽象，二是数据抽象。<BR>2.继承：<BR>继承是一种联结类的层次模型，并且允许和鼓励类的重用，它提供了一种明确表述共性的方法。对象的一个新类可以从现有的类中派生，这个过程称为类继承。新类继承了原始类的特性，新类称为原始类的派生类（子类），而原始类称为新类的基类（父类）。派生类可以从它的基类那里继承方法和实例变量，并且类可以修改或增加新的方法使之更适合特殊的需要。<BR>3.封装：<BR>封装是把过程和数据包围起来，对数据的访问只能通过已定义的界面。面向对象计算始于这个基本概念，即现实世界可以被描绘成一系列完全自治、封装的对象，这些对象通过一个受保护的接口访问其他对象。<BR>4. 多态性：<BR>多态性是指允许不同类的对象对同一消息作出响应。多态性包括参数化多态性和包含多态性。多态性语言具有灵活、抽象、行为共享、代码共享的优势，很好的解决了应用程序函数同名问题。<BR>2、String是最基本的数据类型吗?<BR>基本数据类型包括byte、int、char、long、float、double、boolean和short。<BR>java.lang.String类是final类型的，因此不可以继承这个类、不能修改这个类。为了提高效率节省空间，我们应该用StringBuffer类<BR>3、int 和 Integer 有什么区别<BR>Java 提供两种不同的类型：引用类型和原始类型（或内置类型）。Int是java的原始数据类型，Integer是java为int提供的封装类。Java为每个原始类型提供了封装类。<BR>原始类型封装类<BR>booleanBoolean<BR>charCharacter<BR>byteByte<BR>shortShort<BR>intInteger<BR>longLong<BR>floatFloat<BR>doubleDouble<BR>引用类型和原始类型的行为完全不同，并且它们具有不同的语义。引用类型和原始类型具有不同的特征和用法，它们包括：大小和速度问题，这种类型以哪种类型的数据结构存储，当引用类型和原始类型用作某个类的实例数据时所指定的缺省值。对象引用实例变量的缺省值为 null，而原始类型实例变量的缺省值与它们的类型有关。<BR>4、String 和StringBuffer的区别<BR>JAVA平台提供了两个类：String和StringBuffer，它们可以储存和操作字符串，即包含多个字符的字符数据。这个String类提供了数值不可改变的字符串。而这个StringBuffer类提供的字符串进行修改。当你知道字符数据要改变的时候你就可以使用StringBuffer。典型地，你可以使用StringBuffers来动态构造字符数据。<BR>5、运行时异常与一般异常有何异同？<BR>异常表示程序运行过程中可能出现的非正常状态，运行时异常表示虚拟机的通常操作中可能遇到的异常，是一种常见运行错误。java编译器要求方法必须声明抛出可能发生的非运行时异常，但是并不要求必须声明抛出未被捕获的运行时异常。<BR>6、说出Servlet的生命周期，并说出Servlet和CGI的区别。<BR>Servlet被服务器实例化后，容器运行其init方法，请求到达时运行其service方法，service方法自动派遣运行与请求对应的doXXX方法（doGet，doPost）等，当服务器决定将实例销毁的时候调用其destroy方法。<BR>与cgi的区别在于servlet处于服务器进程中，它通过多线程方式运行其service方法，一个实例可以服务于多个请求，并且其实例一般不会销毁，而CGI对每个请求都产生新的进程，服务完成后就销毁，所以效率上低于servlet。<BR>7、说出ArrayList,Vector, LinkedList的存储性能和特性<BR>ArrayList和Vector都是使用数组方式存储数据，此数组元素数大于实际存储的数据以便增加和插入元素，它们都允许直接按序号索引元素，但是插入元素要涉及数组元素移动等内存操作，所以索引数据快而插入数据慢，Vector由于使用了synchronized方法（线程安全），通常性能上较ArrayList差，而LinkedList使用双向链表实现存储，按序号索引数据需要进行前向或后向遍历，但是插入数据时只需要记录本项的前后项即可，所以插入速度较快。<BR>8、EJB是基于哪些技术实现的？并说出SessionBean和EntityBean的区别，StatefulBean和StatelessBean的区别。<BR>&nbsp;&nbsp;&nbsp; EJB包括Session Bean、Entity Bean、Message Driven Bean，基于JNDI、RMI、JAT等技术实现。<BR>SessionBean在J2EE应用程序中被用来完成一些服务器端的业务操作，例如访问数据库、调用其他EJB组件。EntityBean被用来代表应用系统中用到的数据。<BR>对于客户机，SessionBean是一种非持久性对象，它实现某些在服务器上运行的业务逻辑。<BR>对于客户机，EntityBean是一种持久性对象，它代表一个存储在持久性存储器中的实体的对象视图，或是一个由现有企业应用程序实现的实体。<BR>Session Bean 还可以再细分为 Stateful Session Bean 与 Stateless Session Bean ，这两种的 Session Bean都可以将系统逻辑放在 method之中执行，不同的是 Stateful Session Bean 可以记录呼叫者的状态，因此通常来说，一个使用者会有一个相对应的 Stateful Session Bean 的实体。Stateless Session Bean 虽然也是逻辑组件，但是他却不负责记录使用者状态，也就是说当使用者呼叫 Stateless Session Bean 的时候，EJB Container 并不会找寻特定的 Stateless Session Bean 的实体来执行这个 method。换言之，很可能数个使用者在执行某个 Stateless Session Bean 的 methods 时，会是同一个 Bean 的 Instance 在执行。从内存方面来看， Stateful Session Bean 与 Stateless Session Bean 比较， Stateful Session Bean 会消耗 J2EE Server 较多的内存，然而 Stateful Session Bean 的优势却在于他可以维持使用者的状态。<BR>9、Collection 和 Collections的区别。 <BR>　　Collection是集合类的上级接口，继承与他的接口主要有Set 和List.<BR>Collections是针对集合类的一个帮助类，他提供一系列静态方法实现对各种集合的搜索、排序、线程安全化等操作。<BR>10、&amp;和&amp;&amp;的区别。 <BR>&nbsp;&nbsp;&nbsp; &amp;是位运算符，表示按位与运算，&amp;&amp;是逻辑运算符，表示逻辑与（and）。<BR>11、HashMap和Hashtable的区别。 <BR>&nbsp;&nbsp;&nbsp; HashMap是Hashtable的轻量级实现（非线程安全的实现），他们都完成了Map接口，主要区别在于HashMap允许空（null）键值（key）,由于非线程安全，效率上可能高于Hashtable。<BR>HashMap允许将null作为一个entry的key或者value，而Hashtable不允许。<BR>HashMap把Hashtable的contains方法去掉了，改成containsvalue和containsKey。因为contains方法容易让人引起误解。 <BR>Hashtable继承自Dictionary类，而HashMap是Java1.2引进的Map interface的一个实现。<BR>最大的不同是，Hashtable的方法是Synchronize的，而HashMap不是，在多个线程访问Hashtable时，不需要自己为它的方法实现同步，而HashMap 就必须为之提供外同步。 <BR>Hashtable和HashMap采用的hash/rehash算法都大概一样，所以性能不会有很大的差异。<BR>12、final, finally, finalize的区别。 <BR>　　final 用于声明属性，方法和类，分别表示属性不可变，方法不可覆盖，类不可继承。<BR>finally是异常处理语句结构的一部分，表示总是执行。<BR>finalize是Object类的一个方法，在垃圾收集器执行的时候会调用被回收对象的此方法，可以覆盖此方法提供垃圾收集时的其他资源回收，例如关闭文件等。<BR>13、sleep() 和 wait() 有什么区别? <BR>&nbsp;&nbsp;&nbsp; sleep是线程类（Thread）的方法，导致此线程暂停执行指定时间，给执行机会给其他线程，但是监控状态依然保持，到时后会自动恢复。调用sleep不会释放对象锁。<BR>wait是Object类的方法，对此对象调用wait方法导致本线程放弃对象锁，进入等待此对象的等待锁定池，只有针对此对象发出notify方法（或notifyAll）后本线程才进入对象锁定池准备获得对象锁进入运行状态。<BR>14、Overload和Override的区别。Overloaded的方法是否可以改变返回值的类型?<BR>方法的重写Overriding和重载Overloading是Java多态性的不同表现。重写Overriding是父类与子类之间多态性的一种表现，重载Overloading是一个类中多态性的一种表现。如果在子类中定义某方法与其父类有相同的名称和参数，我们说该方法被重写 (Overriding)。子类的对象使用这个方法时，将调用子类中的定义，对它而言，父类中的定义如同被“屏蔽”了。如果在一个类中定义了多个同名的方法，它们或有不同的参数个数或有不同的参数类型，则称为方法的重载(Overloading)。Overloaded的方法是可以改变返回值的类型。<BR>15、error和exception有什么区别?<BR>error 表示恢复不是不可能但很困难的情况下的一种严重问题。比如说内存溢出。不可能指望程序能处理这样的情况。<BR>&nbsp;&nbsp;&nbsp; exception 表示一种设计或实现问题。也就是说，它表示如果程序运行正常，从不会发生的情况。</P>
<P>16、同步和异步有何异同，在什么情况下分别使用他们？举例说明。<BR>如果数据将在线程间共享。例如正在写的数据以后可能被另一个线程读到，或者正在读的数据可能已经被另一个线程写过了，那么这些数据就是共享数据，必须进行同步存取。<BR>当应用程序在对象上调用了一个需要花费很长时间来执行的方法，并且不希望让程序等待方法的返回时，就应该使用异步编程，在很多情况下采用异步途径往往更有效率。<BR>17、abstract class和interface有什么区别?<BR>声明方法的存在而不去实现它的类被叫做抽象类（abstract class），它用于要创建一个体现某些基本行为的类，并为该类声明方法，但不能在该类中实现该类的情况。不能创建abstract 类的实例。然而可以创建一个变量，其类型是一个抽象类，并让它指向具体子类的一个实例。不能有抽象构造函数或抽象静态方法。Abstract 类的子类为它们父类中的所有抽象方法提供实现，否则它们也是抽象类为。取而代之，在子类中实现该方法。知道其行为的其它类可以在类中实现这些方法。<BR>接口（interface）是抽象类的变体。在接口中，所有方法都是抽象的。多继承性可通过实现这样的接口而获得。接口中的所有方法都是抽象的，没有一个有程序体。接口只可以定义static final成员变量。接口的实现与子类相似，除了该实现类不能从接口定义中继承行为。当类实现特殊接口时，它定义（即将程序体给予）所有这种接口的方法。然后，它可以在实现了该接口的类的任何对象上调用接口的方法。由于有抽象类，它允许使用接口名作为引用变量的类型。通常的动态联编将生效。引用可以转换到接口类型或从接口类型转换，instanceof 运算符可以用来决定某对象的类是否实现了接口。<BR>18、heap和stack有什么区别。<BR>栈是一种线形集合，其添加和删除元素的操作应在同一段完成。栈按照后进先出的方式进行处理。<BR>堆是栈的一个组成元素<BR>19、forward 和redirect的区别<BR>forward是服务器请求资源，服务器直接访问目标地址的URL，把那个URL的响应内容读取过来，然后把这些内容再发给浏览器，浏览器根本不知道服务器发送的内容是从哪儿来的，所以它的地址栏中还是原来的地址。<BR>&nbsp;&nbsp;&nbsp; redirect就是服务端根据逻辑,发送一个状态码,告诉浏览器重新去请求那个地址，一般来说浏览器会用刚才请求的所有参数重新请求，所以session,request参数都可以获取。<BR>20、EJB与JAVA BEAN的区别？<BR>Java Bean 是可复用的组件，对Java Bean并没有严格的规范，理论上讲，任何一个Java类都可以是一个Bean。但通常情况下，由于Java Bean是被容器所创建（如Tomcat）的，所以Java Bean应具有一个无参的构造器，另外，通常Java Bean还要实现Serializable接口用于实现Bean的持久性。Java Bean实际上相当于微软COM模型中的本地进程内COM组件，它是不能被跨进程访问的。Enterprise Java Bean 相当于DCOM，即分布式组件。它是基于Java的远程方法调用（RMI）技术的，所以EJB可以被远程访问（跨进程、跨计算机）。但EJB必须被布署在诸如Webspere、WebLogic这样的容器中，EJB客户从不直接访问真正的EJB组件，而是通过其容器访问。EJB容器是EJB组件的代理，EJB组件由容器所创建和管理。客户通过容器来访问真正的EJB组件。<BR>21、Static Nested Class 和 Inner Class的不同。 <BR>&nbsp;&nbsp;&nbsp; Static Nested Class是被声明为静态（static）的内部类，它可以不依赖于外部类实例被实例化。而通常的内部类需要在外部类实例化后才能实例化。<BR>22、JSP中动态INCLUDE与静态INCLUDE的区别？<BR>动态INCLUDE用jsp:include动作实现 &lt;jsp:include page="included.jsp" flush="true" /&gt;它总是会检查所含文件中的变化，适合用于包含动态页面，并且可以带参数。<BR>静态INCLUDE用include伪码实现,定不会检查所含文件的变化，适用于包含静态页面&lt;%@ include file="included.htm" %&gt; <BR>23、什么时候用assert。 <BR>&nbsp;&nbsp;&nbsp; assertion(断言)在软件开发中是一种常用的调试方式，很多开发语言中都支持这种机制。在实现中，assertion就是在程序中的一条语句，它对一个boolean表达式进行检查，一个正确程序必须保证这个boolean表达式的值为true；如果该值为false，说明程序已经处于不正确的状态下，系统将给出警告或退出。一般来说，assertion用于保证程序最基本、关键的正确性。assertion检查通常在开发和测试时开启。为了提高性能，在软件发布后，assertion检查通常是关闭的。<BR>24、GC是什么? 为什么要有GC? <BR>　　GC是垃圾收集的意思（Gabage Collection）,内存处理是编程人员容易出现问题的地方，忘记或者错误的内存回收会导致程序或系统的不稳定甚至崩溃，Java提供的GC功能可以自动监测对象是否超过作用域从而达到自动回收内存的目的，Java语言没有提供释放已分配内存的显示操作方法。 <BR>25、short s1 = 1; s1 = s1 + 1;有什么错? short s1 = 1; s1 += 1;有什么错? <BR>&nbsp;&nbsp;&nbsp; short s1 = 1; s1 = s1 + 1; （s1+1运算结果是int型，需要强制转换类型）<BR>short s1 = 1; s1 += 1;（可以正确编译）<BR>26、Math.round(11.5)等於多少? Math.round(-11.5)等於多少? <BR>&nbsp;&nbsp;&nbsp; Math.round(11.5)==12<BR>Math.round(-11.5)==-11<BR>round方法返回与参数最接近的长整数，参数加1/2后求其floor.<BR>27、String s = new String("xyz");创建了几个String Object? <BR>&nbsp;&nbsp;&nbsp; 两个<BR>28、设计4个线程，其中两个线程每次对j增加1，另外两个线程对j每次减少1。写出程序。<BR>以下程序使用内部类实现线程，对j增减的时候没有考虑顺序问题。<BR>public class ThreadTest1{<BR>&nbsp; private int j;<BR>&nbsp; public static void main(String args[]){<BR>ThreadTest1 tt=new ThreadTest1();<BR>Inc inc=tt.new Inc();<BR>Dec dec=tt.new Dec();<BR>for(int i=0;i&lt;2;i++){<BR>Thread t=new Thread(inc);<BR>t.start();<BR>t=new Thread(dec);<BR>t.start();<BR>}<BR>}<BR>&nbsp; private synchronized void inc(){<BR>j++;<BR>System.out.println(Thread.currentThread().getName()+"-inc:"+j);<BR>&nbsp; }<BR>&nbsp; private synchronized void dec(){<BR>j--;<BR>System.out.println(Thread.currentThread().getName()+"-dec:"+j);<BR>&nbsp; }<BR>&nbsp; class Inc implements Runnable{<BR>public void run(){<BR>for(int i=0;i&lt;100;i++){<BR>inc();<BR>}<BR>}<BR>&nbsp; }<BR>&nbsp; class Dec implements Runnable{<BR>public void run(){<BR>for(int i=0;i&lt;100;i++){<BR>dec();<BR>}<BR>&nbsp;}<BR>&nbsp; }<BR>}<BR>29、Java有没有goto?<BR>java中的保留字，现在没有在java中使用。<BR>30、启动一个线程是用run()还是start()?<BR>启动一个线程是调用start()方法，使线程所代表的虚拟处理机处于可运行状态，这意味着它可以由JVM调度并执行。这并不意味着线程就会立即运行。run()方法可以产生必须退出的标志来停止一个线程。</P>
<P>31、EJB包括（SessionBean,EntityBean）说出他们的生命周期，及如何管理事务的？<BR>SessionBean：Stateless Session Bean 的生命周期是由容器决定的，当客户机发出请求要建立一个Bean的实例时，EJB容器不一定要创建一个新的Bean的实例供客户机调用，而是随便找一个现有的实例提供给客户机。当客户机第一次调用一个Stateful Session Bean 时，容器必须立即在服务器中创建一个新的Bean实例，并关联到客户机上，以后此客户机调用Stateful Session Bean 的方法时容器会把调用分派到与此客户机相关联的Bean实例。<BR>EntityBean：Entity Beans能存活相对较长的时间，并且状态是持续的。只要数据库中的数据存在，Entity beans就一直存活。而不是按照应用程序或者服务进程来说的。即使EJB容器崩溃了，Entity beans也是存活的。Entity Beans生命周期能够被容器或者 Beans自己管理。<BR>EJB通过以下技术管理实务：对象管理组织（OMG）的对象实务服务（OTS），Sun Microsystems的Transaction Service（JTS）、Java Transaction API（JTA），开发组（X/Open）的XA接口。<BR>32、应用服务器有那些？<BR>BEA WebLogic Server，IBM WebSphere Application Server，Oracle9i Application Server，jBoss，Tomcat<BR>33、给我一个你最常见到的runtime exception。<BR>ArithmeticException, ArrayStoreException, BufferOverflowException, BufferUnderflowException, CannotRedoException, CannotUndoException, ClassCastException, CMMException, ConcurrentModificationException, DOMException, EmptyStackException, IllegalArgumentException, IllegalMonitorStateException, IllegalPathStateException, IllegalStateException, ImagingOpException, IndexOutOfBoundsException, MissingResourceException, NegativeArraySizeException, NoSuchElementException, NullPointerException, ProfileDataException, ProviderException, RasterFormatException, SecurityException, SystemException, UndeclaredThrowableException, UnmodifiableSetException, UnsupportedOperationException<BR>34、接口是否可继承接口? 抽象类是否可实现(implements)接口? 抽象类是否可继承实体类(concrete class)?<BR>接口可以继承接口。抽象类可以实现(implements)接口，抽象类是否可继承实体类，但前提是实体类必须有明确的构造函数。<BR>35、List, Set, Map是否继承自Collection接口?<BR>&nbsp;&nbsp;&nbsp; List，Set是，Map不是<BR>36、说出数据连接池的工作机制是什么?<BR>J2EE服务器启动时会建立一定数量的池连接，并一直维持不少于此数目的池连接。客户端程序需要连接时，池驱动程序会返回一个未使用的池连接并将其表记为忙。如果当前没有空闲连接，池驱动程序就新建一定数量的连接，新建连接的数量有配置参数决定。当使用的池连接调用完成后，池驱动程序将此连接表记为空闲，其他调用就可以使用这个连接。<BR>37、abstract的method是否可同时是static,是否可同时是native，是否可同时是synchronized?<BR>&nbsp;&nbsp;&nbsp; 都不能<BR>38、数组有没有length()这个方法? String有没有length()这个方法？<BR>数组没有length()这个方法，有length的属性。String有有length()这个方法。<BR>39、Set里的元素是不能重复的，那么用什么方法来区分重复与否呢? 是用==还是equals()? 它们有何区别?<BR>Set里的元素是不能重复的，那么用iterator()方法来区分重复与否。equals()是判读两个Set是否相等。<BR>&nbsp;&nbsp;&nbsp; equals()和==方法决定引用值是否指向同一对象equals()在类中被覆盖，为的是当两个分离的对象的内容和类型相配的话，返回真值。<BR>40、构造器Constructor是否可被override?<BR>构造器Constructor不能被继承，因此不能重写Overriding，但可以被重载Overloading。<BR>41、是否可以继承String类?<BR>String类是final类故不可以继承。<BR>42、swtich是否能作用在byte上，是否能作用在long上，是否能作用在String上?<BR>switch（expr1）中，expr1是一个整数表达式。因此传递给 switch 和 case 语句的参数应该是 int、 short、 char 或者 byte。long,string 都不能作用于swtich。<BR>43、try {}里有一个return语句，那么紧跟在这个try后的finally {}里的code会不会被执行，什么时候被执行，在return前还是后?<BR>会执行，在return前执行。<BR>44、编程题: 用最有效率的方法算出2乘以8等於几? <BR>2 &lt;&lt; 3<BR>45、两个对象值相同(x.equals(y) == true)，但却可有不同的hash code，这句话对不对?<BR>不对，有相同的hash code。</P>
<P>46、当一个对象被当作参数传递到一个方法后，此方法可改变这个对象的属性，并可返回变化后的结果，那么这里到底是值传递还是引用传递? <BR>是值传递。Java 编程语言只有值传递参数。当一个对象实例作为一个参数被传递到方法中时，参数的值就是对该对象的引用。对象的内容可以在被调用的方法中改变，但对象的引用是永远不会改变的。<BR>47、当一个线程进入一个对象的一个synchronized方法后，其它线程是否可进入此对象的其它方法?<BR>不能，一个对象的一个synchronized方法只能由一个线程访问。<BR>48、编程题: 写一个Singleton出来。<BR>Singleton模式主要作用是保证在Java应用程序中，一个类Class只有一个实例存在。<BR>一般Singleton模式通常有几种种形式:<BR>第一种形式: 定义一个类，它的构造函数为private的，它有一个static的private的该类变量，在类初始化时实例话，通过一个public的getInstance方法获取对它的引用,继而调用其中的方法。<BR>public class Singleton {<BR>private Singleton(){}<BR>　　&nbsp;&nbsp;&nbsp; //在自己内部定义自己一个实例，是不是很奇怪？<BR>　　&nbsp;&nbsp;&nbsp; //注意这是private 只供内部调用<BR>　　&nbsp;&nbsp;&nbsp; private static Singleton instance = new Singleton();<BR>　　&nbsp;&nbsp;&nbsp; //这里提供了一个供外部访问本class的静态方法，可以直接访问　　<BR>　　&nbsp;&nbsp;&nbsp; public static Singleton getInstance() {<BR>　　　　&nbsp;&nbsp;&nbsp; return instance; 　　<BR>　　&nbsp;&nbsp;&nbsp; } <BR>&nbsp;&nbsp;&nbsp; } <BR>&nbsp;&nbsp;&nbsp; 第二种形式: <BR>public class Singleton { <BR>　　private static Singleton instance = null;<BR>　　public static synchronized Singleton getInstance() {<BR>　　//这个方法比上面有所改进，不用每次都进行生成对象，只是第一次　　　 　<BR>　　//使用时生成实例，提高了效率！<BR>　　if (instance==null)<BR>　　　　instance＝new Singleton();<BR>return instance; 　　} <BR>} <BR>其他形式:<BR>定义一个类，它的构造函数为private的，所有方法为static的。<BR>一般认为第一种形式要更加安全些 <BR>49、Java的接口和C++的虚类的相同和不同处。<BR>由于Java不支持多继承，而有可能某个类或对象要使用分别在几个类或对象里面的方法或属性，现有的单继承机制就不能满足要求。与继承相比，接口有更高的灵活性，因为接口中没有任何实现代码。当一个类实现了接口以后，该类要实现接口里面所有的方法和属性，并且接口里面的属性在默认状态下面都是public static,所有方法默认情况下是public.一个类可以实现多个接口。<BR>50、Java中的异常处理机制的简单原理和应用。<BR>当JAVA程序违反了JAVA的语义规则时，JAVA虚拟机就会将发生的错误表示为一个异常。违反语义规则包括2种情况。一种是JAVA类库内置的语义检查。例如数组下标越界,会引发IndexOutOfBoundsException;访问null的对象时会引发NullPointerException。另一种情况就是JAVA允许程序员扩展这种语义检查，程序员可以创建自己的异常，并自由选择在何时用throw关键字引发异常。所有的异常都是java.lang.Thowable的子类。<BR>51、垃圾回收的优点和原理。并考虑2种回收机制。<BR>Java语言中一个显著的特点就是引入了垃圾回收机制，使c++程序员最头疼的内存管理的问题迎刃而解，它使得Java程序员在编写程序的时候不再需要考虑内存管理。由于有个垃圾回收机制，Java中的对象不再有“作用域”的概念，只有对象的引用才有“作用域”。垃圾回收可以有效的防止内存泄露，有效的使用可以使用的内存。垃圾回收器通常是作为一个单独的低级别的线程运行，不可预知的情况下对内存堆中已经死亡的或者长时间没有使用的对象进行清楚和回收，程序员不能实时的调用垃圾回收器对某个对象或所有对象进行垃圾回收。回收机制有分代复制垃圾回收和标记垃圾回收，增量垃圾回收。<BR>52、请说出你所知道的线程同步的方法。<BR>wait():使一个线程处于等待状态，并且释放所持有的对象的lock。<BR>sleep():使一个正在运行的线程处于睡眠状态，是一个静态方法，调用此方法要捕捉InterruptedException异常。<BR>notify():唤醒一个处于等待状态的线程，注意的是在调用此方法的时候，并不能确切的唤醒某一个等待状态的线程，而是由JVM确定唤醒哪个线程，而且不是按优先级。<BR>Allnotity():唤醒所有处入等待状态的线程，注意并不是给所有唤醒线程一个对象的锁，而是让它们竞争。<BR>53、你所知道的集合类都有哪些？主要方法？<BR>最常用的集合类是 List 和 Map。 List 的具体实现包括 ArrayList 和 Vector，它们是可变大小的列表，比较适合构建、存储和操作任何类型对象的元素列表。 List 适用于按数值索引访问元素的情形。 <BR>Map 提供了一个更通用的元素存储方法。 Map 集合类用于存储元素对（称作“键”和“值”），其中每个键映射到一个值。<BR>54、描述一下JVM加载class文件的原理机制?<BR>JVM中类的装载是由ClassLoader和它的子类来实现的,Java ClassLoader 是一个重要的Java运行时系统组件。它负责在运行时查找和装入类文件的类。<BR>55、char型变量中能不能存贮一个中文汉字?为什么? <BR>能够定义成为一个中文的，因为java中以unicode编码，一个char占16个字节，所以放一个中文是没问题的<BR>56、多线程有几种实现方法,都是什么?同步有几种实现方法,都是什么? <BR>多线程有两种实现方法，分别是继承Thread类与实现Runnable接口 <BR>同步的实现方面有两种，分别是synchronized,wait与notify<BR>57、JSP的内置对象及方法。<BR>request表示HttpServletRequest对象。它包含了有关浏览器请求的信息，并且提供了几个用于获取cookie, header, 和session数据的有用的方法。 <BR>&nbsp;&nbsp;&nbsp; response表示HttpServletResponse对象，并提供了几个用于设置送回 浏览器的响应的方法（如cookies,头信息等） <BR>&nbsp;&nbsp;&nbsp; out对象是javax.jsp.JspWriter的一个实例，并提供了几个方法使你能用于向浏览器回送输出结果。 <BR>&nbsp;&nbsp;&nbsp; pageContext表示一个javax.servlet.jsp.PageContext对象。它是用于方便存取各种范围的名字空间、servlet相关的对象的API，并且包装了通用的servlet相关功能的方法。 <BR>&nbsp;&nbsp;&nbsp; session表示一个请求的javax.servlet.http.HttpSession对象。Session可以存贮用户的状态信息 <BR>&nbsp;&nbsp;&nbsp; applicaton 表示一个javax.servle.ServletContext对象。这有助于查找有关servlet引擎和servlet环境的信息 <BR>&nbsp;&nbsp;&nbsp; config表示一个javax.servlet.ServletConfig对象。该对象用于存取servlet实例的初始化参数。 <BR>&nbsp;&nbsp;&nbsp; page表示从该页面产生的一个servlet实例<BR>58、线程的基本概念、线程的基本状态以及状态之间的关系<BR>线程指在程序执行过程中，能够执行程序代码的一个执行单位，每个程序至少都有一个线程，也就是程序本身。<BR>Java中的线程有四种状态分别是：运行、就绪、挂起、结束。 <BR>59、JSP的常用指令<BR>&lt;<A href="mailto:%@page">%@page</A> language=”java” contenType=”text/html;charset=gb2312” session=”true” buffer=”64kb” autoFlush=”true” isThreadSafe=”true” info=”text” errorPage=”error.jsp” isErrorPage=”true” isELIgnored=”true” pageEncoding=”gb2312” import=”java.sql.*”%&gt;<BR>isErrorPage(是否能使用Exception对象)，isELIgnored(是否忽略表达式)<BR>&lt;<A href="mailto:%@include">%@include</A> file=”filename”%&gt;<BR>&lt;<A href="mailto:%@taglib">%@taglib</A> prefix=”c”uri=”http://……”%&gt;<BR>60、什么情况下调用doGet()和doPost()？<BR>Jsp页面中的form标签里的method属性为get时调用doGet()，为post时调用doPost()。</P>
<P>61、servlet的生命周期<BR>web容器加载servlet，生命周期开始。通过调用servlet的init()方法进行servlet的初始化。通过调用service()方法实现，根据请求的不同调用不同的do***()方法。结束服务，web容器调用servlet的destroy()方法。<BR>62、如何现实servlet的单线程模式<BR>&lt;%@ page isThreadSafe=”false”%&gt;<BR>63、页面间对象传递的方法<BR>request，session，application，cookie等<BR>64、JSP和Servlet有哪些相同点和不同点，他们之间的联系是什么？ <BR>JSP是Servlet技术的扩展，本质上是Servlet的简易方式，更强调应用的外表表达。JSP编译后是"类servlet"。Servlet和JSP最主要的不同点在于，Servlet的应用逻辑是在Java文件中，并且完全从表示层中的HTML里分离开来。而JSP的情况是Java和HTML可以组合成一个扩展名为.jsp的文件。JSP侧重于视图，Servlet主要用于控制逻辑。<BR>65、四种会话跟踪技术<BR>会话作用域ServletsJSP 页面描述<BR>page否是代表与一个页面相关的对象和属性。一个页面由一个编译好的 Java servlet 类（可以带有任何的 include 指令，但是没有 include 动作）表示。这既包括 servlet 又包括被编译成 servlet 的 JSP 页面<BR>request是是代表与 Web 客户机发出的一个请求相关的对象和属性。一个请求可能跨越多个页面，涉及多个 Web 组件（由于 forward 指令和 include 动作的关系）<BR>session是是代表与用于某个 Web 客户机的一个用户体验相关的对象和属性。一个 Web 会话可以也经常会跨越多个客户机请求<BR>application是是代表与整个 Web 应用程序相关的对象和属性。这实质上是跨越整个 Web 应用程序，包括多个页面、请求和会话的一个全局作用域<BR>66、Request对象的主要方法：<BR>setAttribute(String name,Object)：设置名字为name的request的参数值<BR>getAttribute(String name)：返回由name指定的属性值<BR>getAttributeNames()：返回request对象所有属性的名字集合，结果是一个枚举的实例<BR>getCookies()：返回客户端的所有Cookie对象，结果是一个Cookie数组<BR>getCharacterEncoding()：返回请求中的字符编码方式<BR>getContentLength()：返回请求的Body的长度<BR>getHeader(String name)：获得HTTP协议定义的文件头信息<BR>getHeaders(String name)：返回指定名字的request Header的所有值，结果是一个枚举的实例<BR>getHeaderNames()：返回所以request Header的名字，结果是一个枚举的实例<BR>getInputStream()：返回请求的输入流，用于获得请求中的数据<BR>getMethod()：获得客户端向服务器端传送数据的方法<BR>getParameter(String name)：获得客户端传送给服务器端的有name指定的参数值<BR>getParameterNames()：获得客户端传送给服务器端的所有参数的名字，结果是一个枚举的实例<BR>getParameterValues(String name)：获得有name指定的参数的所有值<BR>getProtocol()：获取客户端向服务器端传送数据所依据的协议名称<BR>getQueryString()：获得查询字符串<BR>getRequestURI()：获取发出请求字符串的客户端地址<BR>getRemoteAddr()：获取客户端的IP地址<BR>getRemoteHost()：获取客户端的名字<BR>getSession([Boolean create])：返回和请求相关Session<BR>getServerName()：获取服务器的名字<BR>getServletPath()：获取客户端所请求的脚本文件的路径<BR>getServerPort()：获取服务器的端口号<BR>removeAttribute(String name)：删除请求中的一个属性<BR>67、J2EE是技术还是平台还是框架？<BR>&nbsp;&nbsp;&nbsp; J2EE本身是一个标准，一个为企业分布式应用的开发提供的标准平台。<BR>&nbsp;&nbsp;&nbsp; J2EE也是一个框架，包括JDBC、JNDI、RMI、JMS、EJB、JTA等技术。<BR>68、我们在web应用开发过程中经常遇到输出某种编码的字符，如iso8859-1等，如何输出一个某种编码的字符串？<BR>&nbsp; Public String translate (String str) {<BR>&nbsp;&nbsp;&nbsp; String tempStr = "";<BR>&nbsp;&nbsp;&nbsp; try {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tempStr = new String(str.getBytes("ISO-8859-1"), "GBK");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tempStr = tempStr.trim();<BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; catch (Exception e) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.err.println(e.getMessage());<BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; return tempStr;<BR>&nbsp; }<BR>69、简述逻辑操作(&amp;,|,^)与条件操作(&amp;&amp;,||)的区别。<BR>区别主要答两点：a.条件操作只能操作布尔型的,而逻辑操作不仅可以操作布尔型,而且可以操作数值型<BR>b.逻辑操作不会产生短路<BR>70、XML文档定义有几种形式？它们之间有何本质区别？解析XML文档有哪几种方式？ <BR>a: 两种形式 dtd&nbsp; schema，b: 本质区别:schema本身是xml的，可以被XML解析器解析(这也是从DTD上发展schema的根本目的)，c:有DOM,SAX,STAX等 <BR>&nbsp;&nbsp;&nbsp; DOM:处理大型文件时其性能下降的非常厉害。这个问题是由DOM的树结构所造成的，这种结构占用的内存较多，而且DOM必须在解析文件之前把整个文档装入内存,适合对XML的随机访问<BR>SAX:不现于DOM,SAX是事件驱动型的XML解析方式。它顺序读取XML文件，不需要一次全部装载整个文件。当遇到像文件开头，文档结束，或者标签开头与标签结束时，它会触发一个事件，用户通过在其回调事件中写入处理代码来处理XML文件，适合对XML的顺序访问 <BR>&nbsp;&nbsp;&nbsp; STAX:Streaming API for XML (StAX)<BR>71、简述synchronized和java.util.concurrent.locks.Lock的异同 ？<BR>主要相同点：Lock能完成synchronized所实现的所有功能<BR>主要不同点：Lock有比synchronized更精确的线程语义和更好的性能。synchronized会自动释放锁，而Lock一定要求程序员手工释放，并且必须在finally从句中释放。<BR>72、EJB的角色和三个对象<BR>一个完整的基于EJB的分布式计算结构由六个角色组成，这六个角色可以由不同的开发商提供，每个角色所作的工作必须遵循Sun公司提供的EJB规范，以保证彼此之间的兼容性。这六个角色分别是EJB组件开发者（Enterprise Bean Provider） 、应用组合者（Application Assembler）、部署者（Deployer）、EJB 服务器提供者（EJB Server Provider）、EJB 容器提供者（EJB Container Provider）、系统管理员（System Administrator）<BR>三个对象是Remote（Local）接口、Home（LocalHome）接口，Bean类<BR>73、EJB容器提供的服务<BR>主要提供声明周期管理、代码产生、持续性管理、安全、事务管理、锁和并发行管理等服务。<BR>74、EJB规范规定EJB中禁止的操作有哪些？ <BR>&nbsp;&nbsp;&nbsp; 1.不能操作线程和线程API(线程API指非线程对象的方法如notify,wait等)，2.不能操作awt，3.不能实现服务器功能，4.不能对静态属生存取，5.不能使用IO操作直接存取文件系统，6.不能加载本地库.，7.不能将this作为变量和返回，8.不能循环调用。<BR>75、remote接口和home接口主要作用<BR>remote接口定义了业务方法，用于EJB客户端调用业务方法。<BR>home接口是EJB工厂用于创建和移除查找EJB实例</P>
<P><BR>76、bean 实例的生命周期<BR>对于Stateless Session Bean、Entity Bean、Message Driven Bean一般存在缓冲池管理，而对于Entity Bean和Statefull Session Bean存在Cache管理，通常包含创建实例，设置上下文、创建EJB Object（create）、业务方法调用、remove等过程，对于存在缓冲池管理的Bean，在create之后实例并不从内存清除，而是采用缓冲池调度机制不断重用实例，而对于存在Cache管理的Bean则通过激活和去激活机制保持Bean的状态并限制内存中实例数量。<BR>77、EJB的激活机制<BR>以Stateful Session Bean 为例：其Cache大小决定了内存中可以同时存在的Bean实例的数量，根据MRU或NRU算法，实例在激活和去激活状态之间迁移，激活机制是当客户端调用某个EJB实例业务方法时，如果对应EJB Object发现自己没有绑定对应的Bean实例则从其去激活Bean存储中（通过序列化机制存储实例）回复（激活）此实例。状态变迁前会调用对应的ejbActive和ejbPassivate方法。<BR>78、EJB的几种类型<BR>会话（Session）Bean ，实体（Entity）Bean 消息驱动的（Message Driven）Bean<BR>会话Bean又可分为有状态（Stateful）和无状态（Stateless）两种<BR>实体Bean可分为Bean管理的持续性（BMP）和容器管理的持续性（CMP）两种<BR>79、客服端调用EJB对象的几个基本步骤<BR>设置JNDI服务工厂以及JNDI服务地址系统属性，查找Home接口，从Home接口调用Create方法创建Remote接口，通过Remote接口调用其业务方法。<BR>80、如何给weblogic指定大小的内存? <BR>在启动Weblogic的脚本中（位于所在Domian对应服务器目录下的startServerName），增加set MEM_ARGS=-Xms32m -Xmx200m，可以调整最小内存为32M，最大200M<BR>81、如何设定的weblogic的热启动模式(开发模式)与产品发布模式?<BR>可以在管理控制台中修改对应服务器的启动模式为开发或产品模式之一。或者修改服务的启动文件或者commenv文件，增加set PRODUCTION_MODE=true。<BR>82、如何启动时不需输入用户名与密码?<BR>修改服务启动文件，增加 WLS_USER和WLS_PW项。也可以在boot.properties文件中增加加密过的用户名和密码.<BR>83、在weblogic管理制台中对一个应用域(或者说是一个网站,Domain)进行jms及ejb或连接池等相关信息进行配置后,实际保存在什么文件中?<BR>保存在此Domain的config.xml文件中，它是服务器的核心配置文件。<BR>84、说说weblogic中一个Domain的缺省目录结构?比如要将一个简单的helloWorld.jsp放入何目录下,然的在浏览器上就可打入http://主机:端口号//helloword.jsp就可以看到运行结果了? 又比如这其中用到了一个自己写的javaBean该如何办?<BR>Domain目录\服务器目录\applications，将应用目录放在此目录下将可以作为应用访问，如果是Web应用，应用目录需要满足Web应用目录要求，jsp文件可以直接放在应用目录中，Javabean需要放在应用目录的WEB-INF目录的classes目录中，设置服务器的缺省应用将可以实现在浏览器上无需输入应用名。<BR>85、在weblogic中发布ejb需涉及到哪些配置文件<BR>不同类型的EJB涉及的配置文件不同，都涉及到的配置文件包括ejb-jar.xml,weblogic-ejb-jar.xmlCMP实体Bean一般还需要weblogic-cmp-rdbms-jar.xml <BR>86、如何在weblogic中进行ssl配置与客户端的认证配置或说说j2ee(标准)进行ssl的配置<BR>缺省安装中使用DemoIdentity.jks和DemoTrust.jks&nbsp; KeyStore实现SSL，需要配置服务器使用Enable SSL，配置其端口，在产品模式下需要从CA获取私有密钥和数字证书，创建identity和trust keystore，装载获得的密钥和数字证书。可以配置此SSL连接是单向还是双向的。<BR>87、如何查看在weblogic中已经发布的EJB?<BR>可以使用管理控制台，在它的Deployment中可以查看所有已发布的EJB<BR>88、CORBA是什么?用途是什么? <BR>CORBA 标准是公共对象请求代理结构(Common Object Request Broker Architecture)，由对象管理组织 (Object Management Group，缩写为 OMG)标准化。它的组成是接口定义语言(IDL), 语言绑定(binding:也译为联编)和允许应用程序间互操作的协议。 其目的为：用不同的程序设计语言书写在不同的进程中运行，为不同的操作系统开发。<BR>89、说说你所熟悉或听说过的j2ee中的几种常用模式?及对设计模式的一些看法<BR>&nbsp; Session Facade Pattern：使用SessionBean访问EntityBean<BR>Message Facade Pattern：实现异步调用<BR>EJB Command Pattern：使用Command JavaBeans取代SessionBean，实现轻量级访问<BR>Data Transfer Object Factory：通过DTO Factory简化EntityBean数据提供特性<BR>Generic Attribute Access：通过AttibuteAccess接口简化EntityBean数据提供特性<BR>Business Interface：通过远程（本地）接口和Bean类实现相同接口规范业务逻辑一致性<BR>ＥＪＢ架构的设计好坏将直接影响系统的性能、可扩展性、可维护性、组件可重用性及开发效率。项目越复杂，项目队伍越庞大则越能体现良好设计的重要性。<BR>90、说说在weblogic中开发消息Bean时的persistent与non-persisten的差别<BR>persistent方式的MDB可以保证消息传递的可靠性,也就是如果EJB容器出现问题而JMS服务器依然会将消息在此MDB可用的时候发送过来，而non－persistent方式的消息将被丢弃。</P>
<P>91、Servlet执行时一般实现哪几个方法？<BR>public void init(ServletConfig config)<BR>public ServletConfig getServletConfig()<BR>public String getServletInfo()<BR>public void service(ServletRequest request,ServletResponse response)<BR>public void destroy()<BR>92、j2ee常用的设计模式？说明工厂模式。<BR>&nbsp;&nbsp;&nbsp; Java中的23种设计模式：<BR>Factory（工厂模式），&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Builder（建造模式），&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Factory Method（工厂方法模式），<BR>Prototype（原始模型模式），Singleton（单例模式），&nbsp;&nbsp;&nbsp; Facade（门面模式），<BR>Adapter（适配器模式），&nbsp;&nbsp;&nbsp; Bridge（桥梁模式），&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Composite（合成模式），<BR>Decorator（装饰模式），&nbsp;&nbsp;&nbsp; Flyweight（享元模式），&nbsp;&nbsp;&nbsp;&nbsp; Proxy（代理模式），<BR>Command（命令模式），&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Interpreter（解释器模式）， Visitor（访问者模式），<BR>Iterator（迭代子模式），&nbsp;&nbsp; Mediator（调停者模式），&nbsp;&nbsp;&nbsp; Memento（备忘录模式），<BR>Observer（观察者模式），&nbsp;&nbsp; State（状态模式），&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Strategy（策略模式），<BR>Template Method（模板方法模式）， Chain Of Responsibleity（责任链模式）<BR>工厂模式：工厂模式是一种经常被使用到的模式，根据工厂模式实现的类可以根据提供的数据生成一组类中某一个类的实例，通常这一组类有一个公共的抽象父类并且实现了相同的方法，但是这些方法针对不同的数据进行了不同的操作。首先需要定义一个基类，该类的子类通过不同的方法实现了基类中的方法。然后需要定义一个工厂类，工厂类可以根据条件生成不同的子类实例。当得到子类的实例后，开发人员可以调用基类中的方法而不必考虑到底返回的是哪一个子类的实例。<BR>93、EJB需直接实现它的业务接口或Home接口吗，请简述理由。<BR>远程接口和Home接口不需要直接实现，他们的实现代码是由服务器产生的，程序运行中对应实现类会作为对应接口类型的实例被使用。<BR>94、排序都有哪几种方法？请列举。用JAVA实现一个快速排序。<BR>&nbsp;&nbsp;&nbsp; 排序的方法有：插入排序（直接插入排序、希尔排序），交换排序（冒泡排序、快速排序），选择排序（直接选择排序、堆排序），归并排序，分配排序（箱排序、基数排序）<BR>快速排序的伪代码。<BR>/ /使用快速排序方法对a[ 0 :n- 1 ]排序<BR>从a[ 0 :n- 1 ]中选择一个元素作为m i d d l e，该元素为支点<BR>把余下的元素分割为两段left 和r i g h t，使得l e f t中的元素都小于等于支点，而right 中的元素都大于等于支点<BR>递归地使用快速排序方法对left 进行排序<BR>递归地使用快速排序方法对right 进行排序<BR>所得结果为l e f t + m i d d l e + r i g h t<BR>95、请对以下在J2EE中常用的名词进行解释(或简单描述)<BR>web容器：给处于其中的应用程序组件（JSP，SERVLET）提供一个环境，使JSP,SERVLET直接更容器中的环境变量接口交互，不必关注其它系统问题。主要有WEB服务器来实现。例如：TOMCAT,WEBLOGIC,WEBSPHERE等。该容器提供的接口严格遵守J2EE规范中的WEB APPLICATION 标准。我们把遵守以上标准的WEB服务器就叫做J2EE中的WEB容器。<BR>EJB容器：Enterprise java bean 容器。更具有行业领域特色。他提供给运行在其中的组件EJB各种管理功能。只要满足J2EE规范的EJB放入该容器，马上就会被容器进行高效率的管理。并且可以通过现成的接口来获得系统级别的服务。例如邮件服务、事务管理。<BR>JNDI：（Java Naming &amp; Directory Interface）JAVA命名目录服务。主要提供的功能是：提供一个目录系统，让其它各地的应用程序在其上面留下自己的索引，从而满足快速查找和定位分布式应用程序的功能。<BR>JMS：（Java Message Service）JAVA消息服务。主要实现各个应用程序之间的通讯。包括点对点和广播。<BR>JTA：（Java Transaction API）JAVA事务服务。提供各种分布式事务服务。应用程序只需调用其提供的接口即可。<BR>JAF：（Java Action FrameWork）JAVA安全认证框架。提供一些安全控制方面的框架。让开发者通过各种部署和自定义实现自己的个性安全控制策略。<BR>RMI/IIOP:（Remote Method Invocation /internet对象请求中介协议）他们主要用于通过远程调用服务。例如，远程有一台计算机上运行一个程序，它提供股票分析服务，我们可以在本地计算机上实现对其直接调用。当然这是要通过一定的规范才能在异构的系统之间进行通信。RMI是JAVA特有的。<BR>96、JAVA语言如何进行异常处理，关键字：throws,throw,try,catch,finally分别代表什么意义？在try块中可以抛出异常吗？<BR>Java通过面向对象的方法进行异常处理，把各种不同的异常进行分类，并提供了良好的接口。在Java中，每个异常都是一个对象，它是Throwable类或其它子类的实例。当一个方法出现异常后便抛出一个异常对象，该对象中包含有异常信息，调用这个对象的方法可以捕获到这个异常并进行处理。Java的异常处理是通过5个关键词来实现的：try、catch、throw、throws和finally。一般情况下是用try来执行一段程序，如果出现异常，系统会抛出（throws）一个异常，这时候你可以通过它的类型来捕捉（catch）它，或最后（finally）由缺省处理器来处理。<BR>用try来指定一块预防所有“异常”的程序。紧跟在try程序后面，应包含一个catch子句来指定你想要捕捉的“异常”的类型。<BR>throw语句用来明确地抛出一个“异常”。<BR>throws用来标明一个成员函数可能抛出的各种“异常”。<BR>Finally为确保一段代码不管发生什么“异常”都被执行一段代码。<BR>可以在一个成员函数调用的外面写一个try语句，在这个成员函数内部写另一个try语句保护其他代码。每当遇到一个try语句，“异常”的框架就放到堆栈上面，直到所有的try语句都完成。如果下一级的try语句没有对某种“异常”进行处理，堆栈就会展开，直到遇到有处理这种“异常”的try语句。<BR>97、一个“.java”源文件中是否可以包括多个类（不是内部类）？有什么限制？<BR>可以。必须只有一个类名与文件名相同。<BR>98、MVC的各个部分都有那些技术来实现?如何实现? <BR>MVC是Model－View－Controller的简写。"Model" 代表的是应用的业务逻辑（通过JavaBean，EJB组件实现）， "View" 是应用的表示面（由JSP页面产生），"Controller" 是提供应用的处理过程控制（一般是一个Servlet），通过这种设计模型把应用逻辑，处理过程和显示逻辑分成不同的组件实现。这些组件可以进行交互和重用。<BR>99、java中有几种方法可以实现一个线程？用什么关键字修饰同步方法? stop()和suspend()方法为何不推荐使用？<BR>有两种实现方法，分别是继承Thread类与实现Runnable接口<BR>用synchronized关键字修饰同步方法<BR>反对使用stop()，是因为它不安全。它会解除由线程获取的所有锁定，而且如果对象处于一种不连贯状态，那么其他线程能在那种状态下检查和修改它们。结果很难检查出真正的问题所在。suspend()方法容易发生死锁。调用suspend()的时候，目标线程会停下来，但却仍然持有在这之前获得的锁定。此时，其他任何线程都不能访问锁定的资源，除非被“挂起”的线程恢复运行。对任何线程来说，如果它们想恢复目标线程，同时又试图使用任何一个锁定的资源，就会造成死锁。所以不应该使用suspend()，而应在自己的Thread类中置入一个标志，指出线程应该活动还是挂起。若标志指出线程应该挂起，便用wait()命其进入等待状态。若标志指出线程应当恢复，则用一个notify()重新启动线程。<BR>100、java中有几种类型的流？JDK为每种类型的流提供了一些抽象类以供继承，请说出他们分别是哪些类？<BR>字节流，字符流。字节流继承于InputStream \ OutputStream，字符流继承于InputStreamReader \ OutputStreamWriter。在java.io包中还有许多其他的流，主要是为了提高性能和使用方便。<BR>101、java中会存在内存泄漏吗，请简单描述。<BR>会。如：int i,i2;&nbsp; return (i-i2);&nbsp;&nbsp; //when i为足够大的正数,i2为足够大的负数。结果会造成溢位，导致错误。<BR>102、java中实现多态的机制是什么？<BR>方法的重写Overriding和重载Overloading是Java多态性的不同表现。重写Overriding是父类与子类之间多态性的一种表现，重载Overloading是一个类中多态性的一种表现。<BR>103、垃圾回收器的基本原理是什么？垃圾回收器可以马上回收内存吗？有什么办法主动通知虚拟机进行垃圾回收？<BR>对于GC来说，当程序员创建对象时，GC就开始监控这个对象的地址、大小以及使用情况。通常，GC采用有向图的方式记录和管理堆(heap)中的所有对象。通过这种方式确定哪些对象是"可达的"，哪些对象是"不可达的"。当GC确定一些对象为"不可达"时，GC就有责任回收这些内存空间。可以。程序员可以手动执行System.gc()，通知GC运行，但是Java语言规范并不保证GC一定会执行。<BR>104、静态变量和实例变量的区别？<BR>static i = 10; //常量<BR>&nbsp;&nbsp; class A a;&nbsp; a.i =10;//可变<BR>105、什么是java序列化，如何实现java序列化？<BR>序列化就是一种用来处理对象流的机制，所谓对象流也就是将对象的内容进行流化。可以对流化后的对象进行读写操作，也可将流化后的对象传输于网络之间。序列化是为了解决在对对象流进行读写操作时所引发的问题。<BR>序列化的实现：将需要被序列化的类实现Serializable接口，该接口没有需要实现的方法，implements Serializable只是为了标注该对象是可被序列化的，然后使用一个输出流(如：FileOutputStream)来构造一个ObjectOutputStream(对象流)对象，接着，使用ObjectOutputStream对象的writeObject(Object obj)方法就可以将参数为obj的对象写出(即保存其状态)，要恢复的话则用输入流。</P>
<P><BR>106、是否可以从一个static方法内部发出对非static方法的调用？<BR>不可以,如果其中包含对象的method()；不能保证对象初始化.<BR>107、写clone()方法时，通常都有一行代码，是什么？<BR>Clone 有缺省行为，super.clone();他负责产生正确大小的空间，并逐位复制。<BR>108、在JAVA中，如何跳出当前的多重嵌套循环？<BR>用break; return 方法。<BR>109、List、Map、Set三个接口，存取元素时，各有什么特点？<BR>List 以特定次序来持有元素，可有重复元素。Set 无法拥有重复元素,内部排序。Map 保存key-value值，value可多值。<BR>110、J2EE是什么？<BR>J2EE是Sun公司提出的多层(multi-diered),分布式(distributed),基于组件(component-base)的企业级应用模型(enterpriese application model).在这样的一个应用系统中，可按照功能划分为不同的组件，这些组件又可在不同计算机上，并且处于相应的层次(tier)中。所属层次包括客户层(clietn tier)组件,web层和组件,Business层和组件,企业信息系统(EIS)层。<BR>111、UML方面 <BR>标准建模语言UML。用例图,静态图(包括类图、对象图和包图),行为图,交互图(顺序图,合作图),实现图。<BR>112、说出一些常用的类，包，接口，请各举5个<BR>常用的类：BufferedReader&nbsp; BufferedWriter&nbsp; FileReader&nbsp; FileWirter&nbsp; String&nbsp; Integer<BR>常用的包：java.lang&nbsp; java.awt&nbsp; java.io&nbsp; java.util&nbsp; java.sql<BR>常用的接口：Remote&nbsp; List&nbsp; Map&nbsp; Document&nbsp; NodeList <BR>113、开发中都用到了那些设计模式?用在什么场合? <BR>每个模式都描述了一个在我们的环境中不断出现的问题，然后描述了该问题的解决方案的核心。通过这种方式，你可以无数次地使用那些已有的解决方案，无需在重复相同的工作。主要用到了MVC的设计模式。用来开发JSP/Servlet或者J2EE的相关应用。简单工厂模式等。<BR>114、jsp有哪些动作?作用分别是什么? <BR>JSP共有以下6种基本动作 jsp:include：在页面被请求的时候引入一个文件。 jsp:useBean：寻找或者实例化一个JavaBean。 jsp:setProperty：设置JavaBean的属性。 jsp:getProperty：输出某个JavaBean的属性。 jsp:forward：把请求转到一个新的页面。 jsp:plugin：根据浏览器类型为Java插件生成OBJECT或EMBED标记。<BR>115、Anonymous Inner Class (匿名内部类) 是否可以extends(继承)其它类，是否可以implements(实现)interface(接口)? <BR>可以继承其他类或完成其他接口，在swing编程中常用此方式。<BR>116、应用服务器与WEB SERVER的区别？<BR>应用服务器：Weblogic、Tomcat、Jboss<BR>WEB SERVER：IIS、 Apache<BR>117、BS与CS的联系与区别。<BR>C/S是Client/Server的缩写。服务器通常采用高性能的PC、工作站或小型机，并采用大型数据库系统，如Oracle、Sybase、Informix或 SQL Server。客户端需要安装专用的客户端软件。<BR>B/Ｓ是Brower/Server的缩写，客户机上只要安装一个浏览器（Browser），如Netscape Navigator或Internet Explorer，服务器安装Oracle、Sybase、Informix或 SQL Server等数据库。在这种结构下，用户界面完全通过WWW浏览器实现，一部分事务逻辑在前端实现，但是主要事务逻辑在服务器端实现。浏览器通过Ｗeb Server 同数据库进行数据交互。<BR>C/S 与 B/S 区别： <BR>１．硬件环境不同: <BR>　　C/S 一般建立在专用的网络上, 小范围里的网络环境, 局域网之间再通过专门服务器提供连接和数据交换服务.<BR>　　B/S 建立在广域网之上的, 不必是专门的网络硬件环境,例与电话上网, 租用设备. 信息自己管理. 有比C/S更强的适应范围, 一般只要有操作系统和浏览器就行 <BR>２．对安全要求不同 <BR>　　C/S 一般面向相对固定的用户群, 对信息安全的控制能力很强. 一般高度机密的信息系统采用C/S 结构适宜. 可以通过B/S发布部分可公开信息.<BR>　　B/S 建立在广域网之上, 对安全的控制能力相对弱, 可能面向不可知的用户。<BR>３．对程序架构不同 <BR>　　C/S 程序可以更加注重流程, 可以对权限多层次校验, 对系统运行速度可以较少考虑.<BR>　　B/S 对安全以及访问速度的多重的考虑, 建立在需要更加优化的基础之上. 比C/S有更高的要求 B/S结构的程序架构是发展的趋势, 从MS的.Net系列的BizTalk 2000 Exchange 2000等, 全面支持网络的构件搭建的系统. SUN 和IBM推的JavaBean 构件技术等,使 B/S更加成熟. <BR>４．软件重用不同 <BR>　　C/S 程序可以不可避免的整体性考虑, 构件的重用性不如在B/S要求下的构件的重用性好.<BR>　　B/S 对的多重结构,要求构件相对独立的功能. 能够相对较好的重用.就入买来的餐桌可以再利用,而不是做在墙上的石头桌子 <BR>５．系统维护不同&nbsp; <BR>　　C/S 程序由于整体性, 必须整体考察, 处理出现的问题以及系统升级. 升级难. 可能是再做一个全新的系统<BR>　　B/S 构件组成,方面构件个别的更换,实现系统的无缝升级. 系统维护开销减到最小.用户从网上自己下载安装就可以实现升级. <BR>６．处理问题不同 <BR>　　C/S 程序可以处理用户面固定, 并且在相同区域, 安全要求高需求, 与操作系统相关. 应该都是相同的系统<BR>　　B/S 建立在广域网上, 面向不同的用户群, 分散地域, 这是C/S无法作到的. 与操作系统平台关系最小. <BR>７．用户接口不同 <BR>　　C/S 多是建立的Window平台上,表现方法有限,对程序员普遍要求较高<BR>　　B/S 建立在浏览器上, 有更加丰富和生动的表现方式与用户交流. 并且大部分难度减低,减低开发成本. <BR>８．信息流不同 <BR>　　C/S 程序一般是典型的中央集权的机械式处理, 交互性相对低<BR>　　B/S 信息流向可变化, B-B B-C B-G等信息、流向的变化, 更像交易中心。<BR>118、LINUX下线程，GDI类的解释。<BR>LINUX实现的就是基于核心轻量级进程的"一对一"线程模型，一个线程实体对应一个核心轻量级进程，而线程之间的管理在核外函数库中实现。 <BR>GDI类为图像设备编程接口类库。<BR>119、STRUTS的应用(如STRUTS架构) <BR>Struts是采用Java Servlet/JavaServer Pages技术，开发Web应用程序的开放源码的framework。 采用Struts能开发出基于MVC(Model-View-Controller)设计模式的应用构架。 Struts有如下的主要功能： 一.包含一个controller servlet，能将用户的请求发送到相应的Action对象。 二.JSP自由tag库，并且在controller servlet中提供关联支持，帮助开发员创建交互式表单应用。 三.提供了一系列实用对象：XML处理、通过Java reflection APIs自动处理JavaBeans属性、国际化的提示和消息。<BR>120、Jdo是什么? <BR>JDO是Java对象持久化的新的规范，为java data object的简称,也是一个用于存取某种数据仓库中的对象的标准化API。JDO提供了透明的对象存储，因此对开发人员来说，存储数据对象完全不需要额外的代码（如JDBC API的使用）。这些繁琐的例行工作已经转移到JDO产品提供商身上，使开发人员解脱出来，从而集中时间和精力在业务逻辑上。另外，JDO很灵活，因为它可以在任何数据底层上运行。JDBC只是面向关系数据库（RDBMS）JDO更通用，提供到任何数据底层的存储功能，比如关系数据库、文件、XML以及对象数据库（ODBMS）等等，使得应用可移植性更强。</P>
<P>121、内部类可以引用他包含类的成员吗？有没有什么限制？<BR>一个内部类对象可以访问创建它的外部类对象的内容<BR>122、WEB SERVICE名词解释。JSWDL开发包的介绍。JAXP、JAXM的解释。SOAP、UDDI,WSDL解释。 <BR>Web ServiceWeb Service是基于网络的、分布式的模块化组件，它执行特定的任务，遵守具体的技术规范，这些规范使得Web Service能与其他兼容的组件进行互操作。<BR>JAXP(Java API for XML Parsing) 定义了在Java中使用DOM, SAX, XSLT的通用的接口。这样在你的程序中你只要使用这些通用的接口，当你需要改变具体的实现时候也不需要修改代码。<BR>JAXM(Java API for XML Messaging) 是为SOAP通信提供访问方法和传输机制的API。<BR>WSDL是一种 XML 格式，用于将网络服务描述为一组端点，这些端点对包含面向文档信息或面向过程信息的消息进行操作。这种格式首先对操作和消息进行抽象描述，然后将其绑定到具体的网络协议和消息格式上以定义端点。相关的具体端点即组合成为抽象端点（服务）。<BR>SOAP即简单对象访问协议(Simple Object Access Protocol)，它是用于交换XML编码信息的轻量级协议。 <BR>UDDI 的目的是为电子商务建立标准；UDDI是一套基于Web的、分布式的、为Web Service提供的、信息注册中心的实现标准规范，同时也包含一组使企业能将自身提供的Web Service注册，以使别的企业能够发现的访问协议的实现标准。<BR>JAVA代码查错<BR>1.<BR>abstract class Name {<BR>&nbsp;&nbsp; private String name;<BR>&nbsp;&nbsp; public abstract boolean isStupidName(String name) {}<BR>}<BR>大侠们，这有何错误?<BR>答案: 错。abstract method必须以分号结尾，且不带花括号。<BR>2.<BR>public class Something {<BR>&nbsp;&nbsp; void doSomething () {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private String s = "";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int l = s.length();<BR>&nbsp;&nbsp; }<BR>}<BR>有错吗?<BR>答案: 错。局部变量前不能放置任何访问修饰符 (private，public，和protected)。final可以用来修饰局部变量<BR>(final如同abstract和strictfp，都是非访问修饰符，strictfp只能修饰class和method而非variable)。<BR>3.<BR>abstract class Something {<BR>&nbsp;&nbsp; private abstract String doSomething ();<BR>}<BR>这好像没什么错吧?<BR>答案: 错。abstract的methods不能以private修饰。abstract的methods就是让子类implement(实现)具体细节的，怎么可以用private把abstract<BR>method封锁起来呢? (同理，abstract method前不能加final)。<BR>4.<BR>public class Something {<BR>&nbsp;&nbsp; public int addOne(final int x) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return ++x;<BR>&nbsp;&nbsp; }<BR>}<BR>这个比较明显。<BR>答案: 错。int x被修饰成final，意味着x不能在addOne method中被修改。<BR>5.<BR>public class Something {<BR>&nbsp;&nbsp; public static void main(String[] args) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Other o = new Other();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new Something().addOne(o);<BR>&nbsp;&nbsp; }<BR>&nbsp;&nbsp; public void addOne(final Other o) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; o.i++;<BR>&nbsp;&nbsp; }<BR>}<BR>class Other {<BR>&nbsp;&nbsp; public int i;<BR>}<BR>和上面的很相似，都是关于final的问题，这有错吗?<BR>答案: 正确。在addOne method中，参数o被修饰成final。如果在addOne method里我们修改了o的reference<BR>(比如: o = new Other();)，那么如同上例这题也是错的。但这里修改的是o的member vairable<BR>(成员变量)，而o的reference并没有改变。<BR>6.<BR>class Something {<BR>&nbsp;&nbsp;&nbsp; int i;<BR>&nbsp;&nbsp;&nbsp; public void doSomething() {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println("i = " + i);<BR>&nbsp;&nbsp;&nbsp; }<BR>} <BR>有什么错呢? 看不出来啊。<BR>答案: 正确。输出的是"i = 0"。int i属於instant variable (实例变量，或叫成员变量)。instant variable有default value。int的default value是0。<BR>7.<BR>class Something {<BR>&nbsp;&nbsp;&nbsp; final int i;<BR>&nbsp;&nbsp;&nbsp; public void doSomething() {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println("i = " + i);<BR>&nbsp;&nbsp;&nbsp; }<BR>}<BR>和上面一题只有一个地方不同，就是多了一个final。这难道就错了吗?<BR>答案: 错。final int i是个final的instant variable (实例变量，或叫成员变量)。final的instant variable没有default value，必须在constructor (构造器)结束之前被赋予一个明确的值。可以修改为"final int i = 0;"。<BR>8.<BR>public class Something {<BR>&nbsp;&nbsp;&nbsp;&nbsp; public static void main(String[] args) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Something s = new Something();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println("s.doSomething() returns " + doSomething());<BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; public String doSomething() {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return "Do something ...";<BR>&nbsp;&nbsp;&nbsp; }<BR>}<BR>&nbsp;看上去很完美。<BR>答案: 错。看上去在main里call doSomething没有什么问题，毕竟两个methods都在同一个class里。但仔细看，main是static的。static method不能直接call non-static methods。可改成"System.out.println("s.doSomething() returns " + s.doSomething());"。同理，static method不能访问non-static instant variable。<BR>9.<BR>此处，Something类的文件名叫OtherThing.java<BR>class Something {<BR>&nbsp;&nbsp;&nbsp; private static void main(String[] something_to_do) {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println("Do something ...");<BR>&nbsp;&nbsp;&nbsp; }<BR>}<BR>&nbsp;这个好像很明显。<BR>答案: 正确。从来没有人说过Java的Class名字必须和其文件名相同。但public class的名字必须和文件名相同。<BR>10．<BR>interface&nbsp; A{<BR>&nbsp;&nbsp; int x = 0;<BR>}<BR>class B{<BR>&nbsp;&nbsp; int x =1;<BR>}<BR>class C extends B implements A {<BR>&nbsp;&nbsp; public void pX(){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(x);<BR>&nbsp;&nbsp; }<BR>&nbsp;&nbsp; public static void main(String[] args) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; new C().pX();<BR>&nbsp;&nbsp; }<BR>}<BR>答案：错误。在编译时会发生错误(错误描述不同的JVM有不同的信息，意思就是未明确的x调用，两个x都匹配（就象在同时import java.util和java.sql两个包时直接声明Date一样）。对于父类的变量,可以用super.x来明确，而接口的属性默认隐含为 public static final.所以可以通过A.x来明确。<BR>11.<BR>interface Playable {<BR>&nbsp;&nbsp;&nbsp; void play();<BR>}<BR>interface Bounceable {<BR>&nbsp;&nbsp;&nbsp; void play();<BR>}<BR>interface Rollable extends Playable, Bounceable {<BR>&nbsp;&nbsp;&nbsp; Ball ball = new Ball("PingPang");<BR>}<BR>class Ball implements Rollable {<BR>&nbsp;&nbsp;&nbsp; private String name;<BR>&nbsp;&nbsp;&nbsp; public String getName() {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return name;<BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; public Ball(String name) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.name = name;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp; public void play() {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ball = new Ball("Football");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println(ball.getName());<BR>&nbsp;&nbsp;&nbsp; }<BR>}<BR>这个错误不容易发现。<BR>答案: 错。"interface Rollable extends Playable, Bounceable"没有问题。interface可继承多个interfaces，所以这里没错。问题出在interface Rollable里的"Ball ball = new Ball("PingPang");"。任何在interface里声明的interface variable (接口变量，也可称成员变量)，默认为public static final。也就是说"Ball ball = new Ball("PingPang");"实际上是"public static final Ball ball = new Ball("PingPang");"。在Ball类的Play()方法中，"ball = new Ball("Football");"改变了ball的reference，而这里的ball来自Rollable interface，Rollable interface里的ball是public static final的，final的object是不能被改变reference的。因此编译器将在"ball = new Ball("Football");"这里显示有错。</P>
<P>JAVA编程题<BR>1．现在输入n个数字，以逗号，分开；然后可选择升或者降序排序；按提交键就在另一页面显示按什么排序，结果为，提供reset<BR>import java.util.*;<BR>public class bycomma{<BR>&nbsp;public static String[] splitStringByComma(String source){<BR>&nbsp;&nbsp; if(source==null||source.trim().equals(""))<BR>&nbsp;&nbsp;&nbsp; return null;<BR>&nbsp;&nbsp; StringTokenizer commaToker = new StringTokenizer(source,",");<BR>&nbsp;&nbsp; String[] result = new String[commaToker.countTokens()];<BR>&nbsp;&nbsp; int i=0;<BR>&nbsp;&nbsp; while(commaToker.hasMoreTokens()){<BR>&nbsp;&nbsp;&nbsp; result[i] = commaToker.nextToken();<BR>&nbsp;&nbsp;&nbsp; i++;<BR>&nbsp;&nbsp; }<BR>&nbsp;&nbsp; return result;<BR>&nbsp;}<BR>&nbsp;public static void main(String args[]){<BR>&nbsp;String[] s = splitStringByComma("5,8,7,4,3,9,1");<BR>&nbsp;int[] ii = new int[s.length];<BR>&nbsp;for(int i = 0;i&lt;s.length;i++){<BR>&nbsp;ii[i] =Integer.parseInt(s[i]);<BR>&nbsp;}<BR>&nbsp;&nbsp;&nbsp; Arrays.sort(ii);<BR>&nbsp;&nbsp;&nbsp; //asc<BR>&nbsp;&nbsp;&nbsp; for(int i=0;i&lt;s.length;i++){<BR>&nbsp;&nbsp;&nbsp; System.out.println(ii[i]);<BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; //desc<BR>&nbsp;&nbsp;&nbsp; for(int i=(s.length-1);i&gt;=0;i--){<BR>&nbsp;&nbsp;&nbsp; System.out.println(ii[i]);<BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;}<BR>}<BR>2．金额转换，阿拉伯数字的金额转换成中国传统的形式如：（￥1011）－&gt;（一千零一拾一元整）输出。<BR>package test.format;<BR>import java.text.NumberFormat;<BR>import java.util.HashMap;<BR>public class SimpleMoneyFormat {<BR>&nbsp; public static final String EMPTY = "";<BR>&nbsp; public static final String ZERO = "零";<BR>&nbsp; public static final String ONE = "壹";<BR>&nbsp; public static final String TWO = "贰";<BR>&nbsp; public static final String THREE = "叁";<BR>&nbsp; public static final String FOUR = "肆";<BR>&nbsp; public static final String FIVE = "伍";<BR>&nbsp; public static final String SIX = "陆";<BR>&nbsp; public static final String SEVEN = "柒";<BR>&nbsp; public static final String EIGHT = "捌";<BR>&nbsp; p]]></description>
</item><item>
<title><![CDATA[设计模式之Observer]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5255</link>
<author>instillwater</author>
<pubDate>2005/4/24 13:46:18</pubDate>
<description><![CDATA[<P>//产品类 可供Jsp直接使用UseBean调用 该类主要执行产品数据库插入 更新</P>
<P>import java.util.Observable;<BR>import java.util.Observer;<BR>&nbsp;class Product extends Observable{ <BR>private String name;<BR>private float price;<BR>public String getName(){ return name;}<BR>public void setName(String name){<BR>this.name=name;setChanged();notifyObservers(name);}<BR>public float getPrice(){ return price;}<BR>public void setPrice(float price){<BR>this.price=price;setChanged();notifyObservers(new Float(price));}<BR>}<BR>&nbsp;class NameObserver implements Observer{<BR>private String name=null;<BR>public void update(Observable obj,Object arg){<BR>if (arg instanceof String){<BR>name=(String)arg;<BR>//产品名称改变值在name中<BR>System.out.println("NameObserver :name changet to "+name);<BR>}<BR>}<BR>}</P>
<P>//观察者PriceObserver主要用来对产品价格(price)进行观察的<BR>&nbsp;class PriceObserver implements Observer{<BR>private float price=0;<BR>public void update(Observable obj,Object arg){<BR>if (arg instanceof Float){<BR>price=((Float)arg).floatValue();<BR>System.out.println("PriceObserver :price changet to "+price);<BR>}<BR>}<BR>}<BR>public class Test {</P>
<P>public static void main(String args[]){<BR>Product product=new Product();<BR>NameObserver nameobs=new NameObserver();<BR>PriceObserver priceobs=new PriceObserver();<BR>product.addObserver(nameobs);<BR>product.addObserver(priceobs);<BR>product.setName("橘子红了");<BR>product.setPrice(9.22f); <BR>product.setPrice(9.33f);<BR>product.setName("panxiongfei");<BR>}<BR>}<BR></P>
<P>转载自: <A href="http://www.jdon.com/designpatterns/observer.htm" target=_blank>http://www.jdon.com/designpatterns/observer.htm</A><BR><BR></P>]]></description>
</item><item>
<title><![CDATA[设计模式之Flyweight(享元) FlyWeight模式]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5253</link>
<author>instillwater</author>
<pubDate>2005/4/24 11:53:34</pubDate>
<description><![CDATA[转载自: <A href="http://www.jdon.com/designpatterns/flyweight.htm" target=_blank>http://www.jdon.com/designpatterns/flyweight.htm</A><BR><BR>]]></description>
</item><item>
<title><![CDATA[设计模式之Composite(组合)]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5252</link>
<author>instillwater</author>
<pubDate>2005/4/24 11:04:33</pubDate>
<description><![CDATA[
<P>参照该模式写的源码例子</P>
<P>package myprojects.composite;<BR>import java.io.*;<BR>import java.util.*;<BR>import java.util.ArrayList;</P>
<P>abstract class mybase{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public String name;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public Iterator iter() { return null; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public mybase(String name){<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;this.name=name;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public void print()<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;System.out.println( "mybase"+name + " print called");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public boolean add(mybase thismybase)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;return false;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;}<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;}<BR>class Composite extends mybase{<BR>&nbsp;private int i=0;<BR>&nbsp;<BR>&nbsp;private ArrayList equipment=new ArrayList();<BR>&nbsp;&nbsp;&nbsp; public Composite(String name){super(name);}<BR>&nbsp;public boolean add(mybase equipment) { <BR>&nbsp;&nbsp;&nbsp; this.equipment.add(equipment); <BR>&nbsp;&nbsp;&nbsp; return true;<BR>&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; public void print()<BR>&nbsp;&nbsp;&nbsp; { <BR>&nbsp;&nbsp;&nbsp; System.out.println(&nbsp; name + " print called");<BR>&nbsp;&nbsp;&nbsp; Iterator iter=equipment.iterator();<BR>&nbsp;&nbsp;&nbsp; while(iter.hasNext()) {<BR>&nbsp;&nbsp;&nbsp; &nbsp;((mybase)iter.next()).print();<BR>&nbsp;&nbsp;&nbsp; &nbsp;<BR>&nbsp;&nbsp;&nbsp; &nbsp;}</P>
<P>&nbsp;&nbsp;&nbsp; &nbsp;<BR>&nbsp;&nbsp;&nbsp; &nbsp;}<BR>&nbsp;&nbsp;&nbsp; &nbsp;</P>
<P>&nbsp;<BR>}</P>
<P>&nbsp;class Chassis extends Composite<BR>{<BR>public Chassis(String name) { super(name); }<BR>//System.out.println( "Chassis"+ name + " print called");<BR>//super.print();<BR>//}<BR>} <BR>&nbsp;class Cabinet extends Composite<BR>{<BR>public Cabinet(String name) { super(name); }<BR>//public void print(){<BR>//System.out.println( "Cabinet"+ name + " print called");<BR>//super.print();<BR>//}<BR>}<BR>class mydisk extends mybase{<BR>public &nbsp;mydisk(String name){super(name);}<BR>public void print(){<BR>System.out.println( "mydisk"+ name + " print called");<BR>}<BR>}<BR>&nbsp;<BR>&nbsp;<BR>&nbsp;public class Disk{<BR>&nbsp;public&nbsp;static void main(String arg[])<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;Chassis chassis=new Chassis("chassis");&nbsp;<BR>&nbsp;&nbsp;Cabinet cabinet=new Cabinet("cabinet");<BR>&nbsp;&nbsp;mydisk md=new mydisk("mydisk");<BR>&nbsp;&nbsp;chassis.add(md);<BR>&nbsp;&nbsp;&nbsp;chassis.add(md);<BR>&nbsp;&nbsp;&nbsp;&nbsp;chassis.add(md);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;chassis.add(md);<BR>&nbsp;&nbsp;cabinet.add(chassis);<BR>&nbsp;&nbsp;Composite com =new Composite("com");<BR>&nbsp;&nbsp;com.add(cabinet);<BR>&nbsp;&nbsp;&nbsp;com.add(cabinet);<BR>&nbsp;&nbsp;com.print();<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;<BR>&nbsp;&nbsp;}</P>
<P>转载自: <A href="http://www.jdon.com/designpatterns/composite.htm" target=_blank>http://www.jdon.com/designpatterns/composite.htm</A><BR><BR></P>]]></description>
</item><item>
<title><![CDATA[设计模式之Decorator(油漆工)]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5251</link>
<author>instillwater</author>
<pubDate>2005/4/24 11:03:46</pubDate>
<description><![CDATA[
<P>设计模式之Decorator(油漆工)</P>
<P>转载自: <A href="http://www.jdon.com/designpatterns/decorator.htm" target=_blank>http://www.jdon.com/designpatterns/decorator.htm</A><BR><BR></P>]]></description>
</item><item>
<title><![CDATA[设计模式之Bridge]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5250</link>
<author>instillwater</author>
<pubDate>2005/4/24 11:02:00</pubDate>
<description><![CDATA[<P>&nbsp;</P>
<P>&nbsp;</P>
<P>转载自: <A href="http://www.jdon.com/designpatterns/bridge.htm" target=_blank>http://www.jdon.com/designpatterns/bridge.htm</A><BR><BR></P>]]></description>
</item><item>
<title><![CDATA[From: http://www.xue5.com/article/4926.html]]></title>
<link>http://blogger.org.cn/blog/more.asp?name=instillwater&amp;id=5142</link>
<author>instillwater</author>
<pubDate>2005/4/20 23:19:38</pubDate>
<description><![CDATA[转载自: <A href="http://www.xue5.com/article/4926.html" target=_blank>http://www.xue5.com/article/4926.html</A><BR>]]></description>
</item>
</channel>
</rss>