`
leonzhx
  • 浏览: 767901 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
DBMS_LOB包使用和维护   1、引言     随着社会的发展,在现代信息系统的开发中,需要存储的已不仅仅是简单的文字信息,同时还包括一些图片和音像资料或者是超长的文本。比如开发一套旅游信息系统,每一个景点都有丰富的图片、音像资料和大量的文字介绍。这就要求后台数据库要有存储这些数据的能力。ORACLE公司在其Oracle8i中通过提供LOB字段实现了该功能。       为了便于读者的理解,我们先介绍一些基本的概念:    在ORACLE数据库中,LOB(Large Objects —— 大 对象)是用来存储大量的二进制和文本数据的一种数据类型(一个LOB字段可存储可多达4GB的数据)。 ...
1.  Java’s basic output (abstract) class is java.io.OutputStream. This class provides the fundamental methods needed to write data:   public abstract void write(int b) throws IOException public void write(byte[] data) throws IOException public void write(byte[] data, int offset, int length) thro ...
1.  In Spring, objects aren’t responsible for finding or creating the other objects that they need to do their jobs. Instead, they’re given references to the objects that they collaborate with by the container. The act of creating these associations between application objects is the essence of dep ...
1.  Each machine on a network is called a node. Nodes that are fully functional computers are also called hosts.   2.  Addresses are assigned differently on different kinds of networks. Manufacturers of Ethernet hardware use preassigned manufacturer codes to make sure there are no conflicts betwe ...
1.  Spring was created as an alternative to heavier enterprise Java technologies, especially EJB. Spring offered a lighter and leaner programming model as compared to EJB. It empowered plain old Java objects (POJOs) with powers previously only available using EJB and other enterprise Java specifica ...
http://frankkieviet.blogspot.com/2009/03/javalanglinkageerror-loader-constraint.html   The java.lang.LinkageError: loader constraint violation" demystified   My colleague Murali Pottlapelli ran into an interesting problem the other day. He added Rhino to his BPEL Service Engine, and saw thi ...
http://www.oschina.net/translate/everything-about-java-8 这篇文章是对Java 8中即将到来的改进做一个面向开发者的综合性的总结,JDK的这一特性将会在2013年9月份发布。 在写这篇文章的时候,Java 8的开发工作仍然在紧张有序的进行中,语言特新和API仍然有可能改变,我会尽我最大的努力保持这份文档跟得到Java 8的改动。 Java 8的预览版,也就是 “Project Lambda”,现在可以从java.net下载到。 我使用了IntelliJ的预览版做我的IDE,在我看来他是目前支持java 8特性最好的一 ...
http://www.iteye.com/magazines/132-Java-NIO Java NIO(New IO)是从Java 1.4版本开始引入的一个新的IO API,可以替代标准的Java IO API。本系列教程将有助于你学习和理解Java NIO。感谢并发编程网的翻译和投递。 (关注ITeye官微,随时随地查看最新开发资讯、技术文章。) Java NIO提供了与标准IO不同的IO工作方式:  Channels and Buffers(通道和缓冲区):标准的IO基于字节流和字符流进行操作的,而NIO是基于通道(Channel)和缓冲区(Buffer)进行操作,数据总是从通道读 ...
http://tutorials.jenkov.com/java-nio/index.html   Java NIO (New IO) is an alternative IO API for Java (from Java 1.4), meaning alternative to the standard Java IO API's. Java NIO offers a different way of working with IO than the standard IO API's.   Java NIO: Channels and Buffers In the standa ...
http://www.techempower.com/blog/2013/03/26/everything-about-java-8/     You are viewing a single entry. Please also check out the most recent entries. March 26, 2013 Everything about Java 8 This post was last updated on March 27, 2014. The following post is a comprehensive summary ...
1.  The serialization proxy pattern is reasonably straightforward. First, design a private static nested class of the serializable class that concisely represents the logical state of an instance of the enclosing class. This nested class, known as the serialization proxy, should have a single const ...
1.  The readResolve feature allows you to substitute another instance for the one created by readObject. If the class of an object being deserialized defines a readResolve method with the proper declaration, this method is invoked on the newly created object after it is deserialized. The object refe ...
1.  The readObject method is effectively another public constructor, and it demands all of the same care as any other constructor. Just as a constructor must check its arguments for validity and make defensive copies of parameters where appropriate so must a readObject method.   2.  The problem ar ...
1.  Do not accept the default serialized form without first considering whether it is appropriate. Accepting the default serialized form should be a conscious decision that this encoding is reasonable from the standpoint of flexibility, performance, and correctness.   2.  The default serialized fo ...
1.  A major cost of implementing Serializable is that it decreases the flexibility to change a class’s implementation once it has been released. When a class implements Serializable, its byte-stream encoding (or serialized form) becomes part of its exported API. Once you distribute a class widely, y ...
Global site tag (gtag.js) - Google Analytics