自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 收藏
  • 关注

原创 The Decorator Pattern

[u][i][b]Decorator Pattern[/b][/i][/u] The Decorator Pattern is a pattern which allows us to attach additional responsibilities to an object dynamically. Decorators provide a flexibility alternati...

2011-10-02 10:29:28 124

原创 Google Search API & JSON

Google Search API================= Google Search API give us an occasion to access to google search results. These results will be given in the JSON (JavaScript Object Notation) format.JSON (J...

2011-09-12 13:14:02 184

原创 The observer Pattern

The observer Pattern================= Most of time we will be in need of making some systems which work like the news paper which means that we will have one object which will need to give pe...

2011-08-29 23:19:56 101

原创 Web.xml file

Web.xml file---------------- While doing a web application and after creating a Servlet we will need to create a deployment descriptor (DD) named web.xml. We will find in that file XML’s code t...

2011-08-19 14:41:57 93

原创 Web Application Architecture: Container

Web Application Architecture: Container------------------------------------------------- A Servlet doesn’t have a main method, but it still can be used, we run it, and use the Request and Respon...

2011-08-19 14:21:45 99

原创 Introduction to Servlet & JSP

Introduction to Servlet & JSP------------------------------------As we did in our previous summary, we will begin by learning some new vocabulary about Servlet and JSP: -Servlet: Java pro...

2011-08-18 19:19:26 128

原创 Design Patterns: Strategy Pattern

Before all, we have to understand first what a Design Pattern is. A Design pattern is a form to deal with object in the OOP so that it will be easy to change or to upgrade our information system an...

2011-08-16 17:59:03 116

原创 Database Design

Database design---------------Before we talk about database design let’s understand first what a database is.A database is a collection of data for one or multiple usage in a digital for...

2011-08-12 22:25:40 247

原创 我的TCP/IP知识(ENG)

TCP/IP is the protocol set in our world’s communication network. TCP (Transmission Control Protocol) and IP(Internet Protocol) forms the Internet Protocol Suite. They are used in data transmissi...

2011-07-29 12:01:16 158

原创 通信知识-1ENG(XMPP)

XMPP(Extensible Messaging and Presence Protocol) is an open Standard Protocol developped by Jabber using XML(Extensible Markup Language). The XMPP protocol is more used in IM Development(Inst...

2011-07-22 22:53:42 146

原创 通信知识-1

[size=small] 在我们的生活中, 我们都用通信来打电话, 发信息,在QQ 或者其他软件聊天,传送文件等等。我们经常只用,但是不去考录是怎么回事。我最近获得一些理解关于通信,想跟大家交流,聊一聊,分享一下。对我来说,最关键是那些信息是怎么传送,IP地址是什么,为什么做通信程序会出比较多异常?我在这一片文档说一下我理解。 传送信息是怎么回事?我们经常听别人说或者自己遇到一些问...

2011-07-19 02:04:40 94

原创 关于异常

异常总结========1.异常是什么? 当一个程序员写程序的时候会遇到一些不正常的情况。 异常(Exception)是一个java中的类来处理这些不规则情况2.异常关键字 异常的主要关键字是: -try -catch -finally -throw -throws -throwable3.异常类型 异常类型有...

2011-03-19 19:05:17 71

原创 ==和.equals() 的区别

== 和 .equals() 的区别经常混淆不少的程序员。查资料以后才发现了== 是比较两个对象的参考值但是e.equals() 是比较连个对象的意义或者内容。简单的说 == 是一种表面比较,.equals()深得比较。[code="java"][/code]public class TestEquals { public static void main(Str...

2011-03-10 17:53:43 117

原创 Java的集合框架

Java中有三种集合框架:- List: List 是一个有序的集合,能够包含同样的元素(e1.equals(e2)),加上或者去掉元素。 List 集合也接受空的元素但是不能。 有两种List: 一个是ArrayList让我们得到元素比较快但是算慢当我们要加上或者去掉元素 另外一个 是LinkedList是比较快加上或者去掉元素但是比较慢得到元素。 List...

2011-03-10 09:10:26 94

原创 Java 关键字

JAVA 关键字===========Java 中有48标准关键字排列在不同的分类:1. 访问修饰符: - public: 表示公有的, 所有类在同一个包能用. - private: 表示私有的, 只能在同一个类使用 - protected: 表示受保护的, 有跟private同一个使用除了能被继承了类使用 2. 基本数据类型: byte : 字...

2011-03-08 11:14:23 101

原创 数组与数组排序

数组====JAVA中数组可以理解为容器, 使用存储数据。定义数组有三个方式:第一种:直接创建一个指定大小的数组 数据类型 [] 数组名 = new 数据类型[数组长度];第二种:直接创建一个指定值的数组 数据类型 [] 数组名 = {值1,值2,值3,...};第三种:通过new来创建数组,并且指定值。 数据类型 [] 数组名 = ne...

2011-01-28 02:04:54 85

原创 Java Keywords

JAVA Keywords============= Keywords in Java are words or expressions used to declare an expression, method or return value.About the number of those keywords some say that there are 48, some ...

2011-01-22 17:56:01 140

原创 swing和事件

swing组成做编程让我们看, 感觉,可进入,拖放 我们的对象用的比较简单的代码。 swing分为:-容器类:这个类可以调用别的组件 * JFrame * JPanel * JMenuBar -元素类: 像名字一样说,是最小, 不能调用别的组件 *JLabel *JButton *JComboBox *JTree...

2011-01-22 09:33:30 97

原创 类和对象

对象是什么?类是什么? 类:世界上 所有是类, 类是类型,个集合包含元素有同样属性比如人类,车类, 电脑类,等等。JAVA 中, 类是一个集合包含对象 或者对象的对象。类是修饰符,构造函数,普通函数或者方法构成。定义类的格式:public class 类名(){ private 数据类型 属性名; public 类名([参数]){//构造函数代码}...

2011-01-22 09:16:52 96

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除