`
DavyJones2010
  • 浏览: 154227 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论
文章列表
1. Introduction     1) Take a movie for example. We have different format of it including mp4, avi, rmvb, flv. And different format occupy different space in hard disk, and resolution differs.     2) The data in a table is also stored in hard disk. But they also have different method of storing. ...
1. Introduction     1) As we can see, the hierarchy of dirs is pre-defined in maven. And we have to follow such principle to organize our project.     2) So maven has provided a plugin named archetype to help us generate required folder/directories.     3) The machenism of archetype plugin   2 ...
1. Target     1) Get familiar with baisc maven config.     2) Integrate maven into eclipse.   2. Basic maven config     1) Download maven from  http://maven.apache.org/download.cgi and choose Maven 3.0.5 (Binary zip)     2) Unzip maven.     3) Set environment variables in windows         1) ...
1. A glimpse of Dir Hierarchy  2. pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0. ...
1. Difference between Before and After in Trigger     1) After we perform one action, the trigger is invoked. But there is no machanism to check if the action we perform is reasonable. # Bootstrap data select * from goods; +----------+------------+--------------+ | goods_id | goods_name | goods ...
1. Precondition     1) Import mail-1.4.1.jar for basic javax.mail api which can be found here         http://www.oracle.com/technetwork/java/javamail/index-138643.html     2) Import greenmail-1.3.1.jar for easy mail test which can be found here         http://www.icegreen.com/greenmail/     3) ...
1. Requirements:     1) A safer way to handle file upload by using commons-fileupload-1.3.jar provided by Apache Foundation.     2) Using simple JSP/Servlet for a simple mock up.   2. Preconditions:     1) Import related jars.             1) Import JRE-System-Library         2) Import J2EE 5 ...
Target:     1) Definition of Trigger     2) Circumstances of Using Trigger     3) Syntax for Creating Trigger   1. Definition of Trigger     1) Function: Observe one specific state change and then trigger a specific operation.     Comments:         1) We want  this to be a t ...
1. In this part, we focus on server side programming:     1) At what format did the data sent from Flex?     2) How did Servlet get data sent from Flex?     3) How did Servlet send response to Flex to notify upload finished?     4) How to make it easier for common file upload?   2. Use common ...
1. Flex <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="in ...
1. Introduction     1) Usually we use MyEclipse wizard to build a web project         1) All the dependencies has been included automatically         2) All the directories and files has been created automatically     2) But how do we use Eclipse to build such a similar web project?   2. Buil ...
1. Introduction     1) create table table_name (column_declaration) charset utf8;     2) set names gbk;     Comments:     1) What's the meaning?     2) What's the difference?   2. Charset     1) Charset hierarchy: (Server>Database>Table>Column)         1) Server default charset   ...
1. Good Practice:          1>Build Connection as late as possible.         2>Close Connection as earyl as possible.         3>Connection Pool can be used to enhance performance.   2. Good Example:           1> JdbcUtil.java package utils; import java.sql.Connection; import j ...
1. JDBC(Java Data Base Connectivity)         1) Composed with interfaces and classes. Mostly with interfaces as core function and minorly with classes.         2) It is a part of JavaSE and are basically defined in java.sql and javax.sql package   2. Relationships of Application and JDBC API an ...
Why use View:     1) Sometimes the result set of a query is frequently used. That is this result set is usually used as a sub-query for another query. So why don't we transform this result set into a table that can be directly stored and  used?   #pseudo-sql #create table g2 like goods; #inser ...
Global site tag (gtag.js) - Google Analytics