`
sasipa90
  • 浏览: 14576 次
  • 性别: Icon_minigender_1
  • 来自: 长沙
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
Decorator Pattern The Decorator Pattern is a pattern which allows us to attach additional responsibilities to an object dynamically. Decorators provide a flexibility alternative to subclassing for extending functionality. The Decorator Pattern adds a new Object Oriented Principle to old ones whi ...
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 (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and w ...
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 periodically information to the client. So, the Observer Pattern = Publishers (Subject) + Subscribers (Obs ...
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 that we don’t understand the meaning. It is called Servlet Mapping. Those codes will look like: <?xm ...
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 Response objects. Who will create the Servlet methods and who will create the Request and Response objects? Th ...
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 programming language class used to extend the capabilities of servers that host applications accessed via ...
   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 and provide a way to let some part of system vary independently of all another part.     In the 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 form. Here we can take as example in a company, the way they collect all the workers information, name, address, ...
    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 transmission via Internet or other networks. The TCP provides reliability by:        - TCP will consider the bes ...
       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(Instance Messaging) to encrypte the information sends by the server or the client. This can explain the re ...

通信知识-1

  在我们的生活中, 我们都用通信来打电话, 发信息,在QQ 或者其他软件聊天,传送文件等等。我们经常只用,但是不去考录是怎么回事。我最近获得一些理解关于通信,想跟大家交流,聊一聊,分享一下。对我来说,最关键是那些信息是怎么传送,IP地址是什么,为什么做通信程序会出比较多异常?我在这一片文档说一下我理解。    传送信息是怎么回事?我们经常听别人说或者自己遇到一些问题用IP地址(比如说创建一个联网的时候)。IP地址(Internet Protocol Adress)是一个电脑在网络上的地址。这个地址表示是比如:  218.196.99.104。已经知道电脑的地址,信息是可以被转送用TCP-I ...
异常总结 ======== 1.异常是什么? 当一个程序员写程序的时候会遇到一些不正常的情况。 异常(Exception)是一个java中的类来处理这些不规则情况 2.异常关键字 异常的主要关键字是: -try -catch -finally -throw -throws -throwable 3.异常类型 异常类型有很多, 自己也会创造一些。 最常遇见是:  -IOException     -IndexOutOfBoundsException     -NotBoundException     -NumberFormatExcep ...
== 和 .equals() 的区别经常混淆不少的程序员。 查资料以后才发现了== 是比较两个对象的参考值但是e.equals() 是比较连个对象的意义或者内容。 简单的说 == 是一种表面比较,.equals()深得比较。 public class TestEquals { public static void main(String[]args){ TestEquals test = new TestEquals(); test.f(); } public void f(){ String str1 = "abcd"; String s ...
Java中有三种集合框架: - List: List 是一个有序的集合,能够包含同样的元素(e1.equals(e2)),加上或者去掉元素。 List 集合也接受空的元素但是不能。 有两种List: 一个是ArrayList让我们得到元素比较快但是算慢当我们要加上或者 ...
JAVA 关键字 =========== Java 中有48标准关键字排列在不同的分类: 1. 访问修饰符: - public: 表示公有的, 所有类在同一个包能用. - private: 表示私有的, 只能在同一个类使用 - protected: 表示受保护的, 有跟private同一个使用除了能 ...
Global site tag (gtag.js) - Google Analytics