IT技术及科技前沿

中文IT博客,为IT专业技术人员提供最全面的信息传播和服务

首页 新随笔 订阅 管理

2010年12月28日 #

摘要: SHANGHAI — Wal-Mart and five other companies have agreed to invest $500 million in 360buy.com, one of China’s fastest-growing online retailers, according to the Internet company. Liu Qiangdong, th... 阅读全文
posted @ 2010-12-28 00:55 孟和2012 阅读(215) 评论(0) 推荐(0) 编辑

2010年12月27日 #

摘要: 爽一把的醉翁之意 淘宝商城双11活动:日销售额9.36亿元,每秒超过2万元交易;2家店铺超2千万元;11家店铺超千万元;20家店铺过500万元;总共181家店铺过百万,淘宝上成长起来的“淘品牌”们总成交过亿元,其中28家过百万元。9.36亿元是中国百货店单店日最高销量的7.8倍。 根据淘宝商城的扣点,取个5%的平均值,那么9.36亿元销售分成的收入为4680万元,从投入1个亿的宣... 阅读全文
posted @ 2010-12-27 18:21 孟和2012 阅读(169) 评论(0) 推荐(0) 编辑

摘要: import jxl.*;import jxl.write.*; import jxl.format.*;import java.io.*;import java.io.File.*;import java.util.*; public class excel { publicstatic void main(String[] args) { String tar... 阅读全文
posted @ 2010-12-27 17:07 孟和2012 阅读(681) 评论(0) 推荐(0) 编辑

摘要: MyEclipseJAVA反编译插件Jadclipse的在WINODWS安装网上有很多这样的教程,安装起来还是很简单,不过郁闷的是JAD反编译工具在官方下载不了,连网站起打不开,网上很多下载都是jad 1.57版本的,JAVA 1.6用不了,只有jad 158才可以用. 准备 jadclips插件官方网站:http://jadclipse.sourceforge.net 下载好net... 阅读全文
posted @ 2010-12-27 17:07 孟和2012 阅读(201) 评论(0) 推荐(0) 编辑

摘要: 窃贼偷走了黑客Zoz的苹果电脑,但忘记了格式化硬盘,结果被黑客利用电脑原先配置的动态DNS系统,找会了丢失两年的电脑,逮住了名叫Melvin Guzman的电脑持有者。 Zoz的苹果电脑在波士顿被人偷走,2年后在拉斯维加斯现身。罪犯没有清空硬盘,因此他可以在线发现电脑的位置。他随后利用SSH进入电脑,监视新用户的一举一动。他还安装了一个键盘记录程序,获得了新用户足够多的信息:他的名字,出生... 阅读全文
posted @ 2010-12-27 15:21 孟和2012 阅读(213) 评论(0) 推荐(0) 编辑

摘要: Ruby VMs are improving steadily and the last few weeks have seen a bunch of new releases. Rubinius 1.2 has been released, bringing improvements in memory efficiency and debugging. Evan Phoenix exp... 阅读全文
posted @ 2010-12-27 15:18 孟和2012 阅读(121) 评论(0) 推荐(0) 编辑

摘要: Javascript VMs are now ubiquitous and increasingly fast - two attributes language designers and implementers like. Languages that target the JVM or.NET have seen a lot of interest, but recently a lot ... 阅读全文
posted @ 2010-12-27 15:17 孟和2012 阅读(227) 评论(0) 推荐(0) 编辑

摘要: Overview Serialization is the process of encoding an object into a binary format. It is a critical component to working with Coherence as data needs to be moved around the network. The Portable Obje... 阅读全文
posted @ 2010-12-27 11:14 孟和2012 阅读(286) 评论(0) 推荐(0) 编辑

摘要: by Todd Greanier; Reprinted from JavaWorldJuly 2000 We all know the Java platform allows us to create reusable objects in memory. However, all of those objects exist only as long as the Java virtua... 阅读全文
posted @ 2010-12-27 11:01 孟和2012 阅读(172) 评论(0) 推荐(0) 编辑

摘要: Illustrates how to use a deployment plan to change the value of a deployment descriptor that is embedded in an EAR file at deploy / runtime with WebLogic Server 9.x and above. This does not modify the... 阅读全文
posted @ 2010-12-27 10:55 孟和2012 阅读(460) 评论(0) 推荐(0) 编辑

摘要: ZIP模式是指把U盘模拟成ZIP驱动器模式,启动后U盘的盘符大多是A: ,HDD模式是指把U盘模拟成硬盘模式;特别注意:如果选择了HDD模式,那么这个启动U盘启动后的盘符是C:,在对启动分区进行操作时就容易产生很多问题,比如:装系统时安装程序会把启动文件写到U盘而不是你硬盘的启动分区!导致系统安装失败。所以请尽量先选择ZIP模式。 FDD模式是指把U盘模拟成软驱模式,启动后U盘的盘符是A... 阅读全文
posted @ 2010-12-27 10:47 孟和2012 阅读(1134) 评论(0) 推荐(0) 编辑

摘要: This WLST script "VASDomainTemplateFinalV1.py" reads domain information from "VASDomainInfoV1.txt" and creates weblogic server domain template in the directory as mentioned in "VASDomainInfoV1.txt". 配... 阅读全文
posted @ 2010-12-27 10:28 孟和2012 阅读(555) 评论(0) 推荐(0) 编辑

摘要: PL/ SQL is often used as a thin wrapper for executing SQL statements, setting bind variables and handling result sets. See code sample-1 In such cases the execution speed of the PL/ SQL code is ra... 阅读全文
posted @ 2010-12-27 10:18 孟和2012 阅读(186) 评论(0) 推荐(0) 编辑

2010年12月26日 #

摘要: 代码如下: Servlet中的代码段:request.setAttribute("users",list); 页面的代码段: ${user.username} java.lang.NumberFormatException:For input string: "username" at java.lang.NumberFormatException.forInpu... 阅读全文
posted @ 2010-12-26 19:46 孟和2012 阅读(1710) 评论(0) 推荐(0) 编辑

摘要: MyEclipse开发SSH整合时遇到了java.lang.NoSuchMethodError:org.objectweb.asm.ClassVisitor.visit 这个异常。解决办法如下: 用 MyEclipse 6.5 做 Struts 1.2 + Spring 2.5 + Hibernate 3.2整合时启动过程中报如下的错误: java.lang.NoSuchMethod... 阅读全文
posted @ 2010-12-26 19:44 孟和2012 阅读(335) 评论(0) 推荐(0) 编辑

摘要: ORA-01008: not all variablesbound 这个异常是SQL语句中的 ? 没有被传参数导致的。 例如: SELECTESI.ITEM_CATEGORY2,ESI.ITEM_CODE,ESI.ITEM_NAMEFROMETS_SYSTEM_ITEM ESIWHEREESI.ITEM_CATEGORY2 LIKE NVL(?,ESI.ITEM_CATEGO... 阅读全文
posted @ 2010-12-26 19:43 孟和2012 阅读(4661) 评论(0) 推荐(0) 编辑

摘要: IF (V_COUNT > 0) THEN --更新ets_item_info UPDATE ETS_ITEM_INFO SET FINANCE_PROP = 'CTZC', LAST_UPDATE_DATE = SYSDATE, LAST_UPDATE_BY =P_USER_ID ... 阅读全文
posted @ 2010-12-26 19:39 孟和2012 阅读(743) 评论(0) 推荐(0) 编辑

摘要: context.xml文件内容如下: 把context.xml放到D:\Tomcat6.0\webapps\ROOT\WEB-INF下面,即可完成数据源的配置。 其中name="jdbc/connectDB"是资源名称,这个可以随便写成name="jdbc/***" 阅读全文
posted @ 2010-12-26 12:11 孟和2012 阅读(194) 评论(0) 推荐(0) 编辑

摘要: 如果数据表中已经存在一部分数据,那么需要执行如下的SQL语句,才能执行上传BLOB字段的操作,其中ATTACHMENT_FILE字段是BLOB类型的。 下面的UPDATE需要事先在数据库中执行一次后才能运行Java程序。 UPDATE XF_ATTACHMENT XA SETXA.ATTACHMENT_FILE = empty_blob() 如果先在数据表中insert一... 阅读全文
posted @ 2010-12-26 12:11 孟和2012 阅读(629) 评论(0) 推荐(0) 编辑

摘要: 【Csdn.net】日前,百度正式宣布内部开发的名为Tangram的JavaScript框架正式开源,并同步推出网站tangram.baidu.com,这是百度前端第一次对外开放源代码。 早在一周前,CSDN就从百度技术人员处获悉了百度内部的JavaScript框架Tangram相关开源策略,并做出了相关报道。 而百度Web研发部的雷志兴也在12月16日于微博中透露到: 百... 阅读全文
posted @ 2010-12-26 01:18 孟和2012 阅读(251) 评论(0) 推荐(0) 编辑

摘要: West African leaders are threatening to use force against incumbent Ivorian Coast President Laurent Gbagbo unless he accepts election results and gives up power.Heads of state said after meeting in Ni... 阅读全文
posted @ 2010-12-26 01:14 孟和2012 阅读(136) 评论(0) 推荐(0) 编辑

摘要: Authorities in northwestern Pakistan say a suspected suicide blast has killed at least 43 people and wounded scores. The attack comes a day after Taliban insurgents launched coordinated assaults on... 阅读全文
posted @ 2010-12-26 01:13 孟和2012 阅读(152) 评论(0) 推荐(0) 编辑

2010年12月25日 #

摘要: 代码如下: Servlet中的代码段:request.setAttribute("users",list); 页面的代码段: ${user.username} java.lang.NumberFormatException:For input string: "username" at java.lang.NumberFormatException.forInpu... 阅读全文
posted @ 2010-12-25 23:15 孟和2012 阅读(2726) 评论(0) 推荐(0) 编辑

摘要: 它是用Javascript写好的一些API,包括对Javascript中的类如String,Array等进行的扩充。 把prototype当函数用就行了。写js一般是写函数, 但某些功能直接写prototype复用性高。 prototype是用于对原型对象的继承,主要是为了节省内存空间。 所有对象都有prototype,prototype自身也是对象,它有prototype,这样就形... 阅读全文
posted @ 2010-12-25 23:06 孟和2012 阅读(199) 评论(0) 推荐(0) 编辑

摘要: 菜单栏 --> Tools--> Export Tables... -->Oracle Export Export Executable : D:\oracleclient\bin\EXP.EXE Output File : C:\Documents andSettings\Administrator\桌面\eam.dmp 参照上面的截图设置正确后单击右下角的 Export按钮... 阅读全文
posted @ 2010-12-25 23:02 孟和2012 阅读(1622) 评论(0) 推荐(0) 编辑

摘要: event.srcElement从字面上可以看出来有以下关键字:事件、源 他的意思就是:当前事件的源。 我们可以调用他的各种属性 就像:document.getElementById("")这样的功能。 经常有人问 firefox 下的 event.srcElement 怎么用,在此详细说明: IE下,event对象有srcElement属性,但是没有target属性;Firefox下,ev... 阅读全文
posted @ 2010-12-25 22:36 孟和2012 阅读(216) 评论(0) 推荐(0) 编辑

摘要: 统计某个班男女生人数_sql练习题: 1 有如下表格和数据: 2 ID Name Class Sex 3 ----------- ---------- ---------- ---- 4 1 张1 一班 男 5 2 张2 一班 ... 阅读全文
posted @ 2010-12-25 22:35 孟和2012 阅读(421) 评论(0) 推荐(0) 编辑

摘要: Part III was intended to be the final blog entry in this serie of blogs, that demonstrate how to add management capability to our own application using JMX MBeans. However I received several requ... 阅读全文
posted @ 2010-12-25 13:31 孟和2012 阅读(151) 评论(0) 推荐(0) 编辑

摘要: This is the third and final part in a series of blogs, that demonstrate how to add management capability to your own application using JMX MBeans. In Part I we saw: How to implement a custom MB... 阅读全文
posted @ 2010-12-25 13:30 孟和2012 阅读(196) 评论(0) 推荐(0) 编辑

摘要: This is the second part in a series of blogs, that demonstrate how to add management capability to your own application using JMX MBeans. In Part I we did the bulk of the work. We saw: How to i... 阅读全文
posted @ 2010-12-25 13:29 孟和2012 阅读(191) 评论(0) 推荐(0) 编辑

摘要: This is the first part in a series of blogs, that demonstrate how to add management capability to your own application using JMX MBeans. In this first blog entry, we will learn: How to implemen... 阅读全文
posted @ 2010-12-25 13:28 孟和2012 阅读(272) 评论(0) 推荐(0) 编辑

摘要: This blog entry will explain how to define the EJB3 object relational mappings for entities that have a 1-1 association when the primary key of the relationship's owner side is also the foreign key for the owned entity.Consider the following diagram.The Supplier entity has a 1-1 relationship with th 阅读全文
posted @ 2010-12-25 13:25 孟和2012 阅读(221) 评论(0) 推荐(0) 编辑

摘要: Resource adapters can be classified into three categories: outbound, inbound and bi-directional. Previous article has shown you how to deal with outbound case. In this article, we will teach you ... 阅读全文
posted @ 2010-12-25 13:23 孟和2012 阅读(245) 评论(0) 推荐(0) 编辑

摘要: Both OC4J and WebLogic server support Connector 1.5 specification. If customer's resource adapters were developed based on SPEC and don't depend on OC4J proprietary extensions or features, it wo... 阅读全文
posted @ 2010-12-25 13:21 孟和2012 阅读(352) 评论(0) 推荐(0) 编辑

摘要: Recently, the WebLogic Server development and support organizations have worked with a number of customers to quantify and improve the performance of the Administration Console in large, distri... 阅读全文
posted @ 2010-12-25 13:20 孟和2012 阅读(183) 评论(0) 推荐(0) 编辑

摘要: WLS work manager configuration supports three different types of constraints - minimum threads, maximum threads, and capacity constraints. Here we are going to focus on some issues related to u... 阅读全文
posted @ 2010-12-25 13:18 孟和2012 阅读(187) 评论(0) 推荐(0) 编辑

摘要: We have a new additional distribution format for WLS in the form of a zip as of 10.3.3. This distribution is significantly smaller and is intended for development use only. It is supported on Win... 阅读全文
posted @ 2010-12-25 13:17 孟和2012 阅读(169) 评论(0) 推荐(0) 编辑

摘要: Weblogic SCA provides the ability to take an existing Java class that you have, and expose its interface as a web service. This allows you to take POJOs from an existing library or application a... 阅读全文
posted @ 2010-12-25 13:15 孟和2012 阅读(243) 评论(0) 推荐(0) 编辑

摘要: This blog is a primer on the new Weblogic SCA container introduced as a tech preview in Weblogic.Like POJOs way too much and don't like the heavy weight JEE for application assembly? Good news is... 阅读全文
posted @ 2010-12-25 13:10 孟和2012 阅读(271) 评论(0) 推荐(0) 编辑

摘要: BEA发布了在WebLogic 10.3中支持的SCA技术预览版,它是以开源的Fabric3 运行时为基础构建的。InfoQ采访了BEA Systems的技术主管Jim Marino,以及VocaLink的首席技术人员Meeraj Kunnumpurath,后者是SCA最早的参与者和Fabric3贡献者之一,并参与了SCA规范制定和Fabric3实现。 InfoQ:过去10年SOA有... 阅读全文
posted @ 2010-12-25 13:08 孟和2012 阅读(243) 评论(0) 推荐(0) 编辑