- 浏览: 13623 次
最近访客 更多访客>>
文章列表
A part of English Study
Object-Oriented Design
IS-A and HAS-A relationships and encapsulation are just the tip of the iceberg when it comes to object-oriented design. Many books and graduate theses have been dedicated to this topic. The reason for the emphasis on proper design is simple: mone ...
- 2007-11-12 22:22
- 浏览 1158
- 评论(0)
看一个简单的Web Service
java 代码
package org.jivaro.sq;
import java.util.HashMap;
public class StockQuoteService {
private HashMap map = new HashMap();
public double getPrice(String symbol) {
System.out.println(" ...
- 2007-11-12 16:52
- 浏览 3831
- 评论(0)
http://ws.apache.org/axis2/1_3/quickstartguide.html可以找到原文,这里并没有彻底按照原文进行翻译。
准备工作
1、下载并安装JDK,Axis2要求JDK至少为1.4。设置JAVA_HOME环境变量;
2、下载Axis2;
3、解压Axis2后你会找到一个名为axis2.war的文件,把它拷贝到servlet引擎的发布目录;
4、设置AXIS2_HOME环境变量,或许你应该把%AXIS2_HOME%\bin变量加入到PATH中去。
在很多情况下,我们需要一个Service的WSDL文件,%AXIS2_HOME%\bin目录中的Java2WSDL可以 ...
- 2007-11-12 16:11
- 浏览 5246
- 评论(0)
《Java与模式》之工厂模式学习
Facotry Pattern包括了三种形态
Simple Factory
Factory Method
Abstract Factory
下面分别进行学习
Simple Factory
简单工厂模式往往是普通工厂模式的一个特例。简单工厂模式基本是用一个类来模拟工厂 ...
Declare Classes & Interfaces
Develop Interfaces & Abstract Classes
Use Primitives, Arrays, Enums, & Legal Identifiers
Use Static Methods, JavaBeans Naming, & Var-Args
The objective says you have to know legal identifiers only for variable names, but the rules are ...
- 2007-11-10 00:59
- 浏览 914
- 评论(0)
大部分能看明白,表达不够明确或者相当错误,还请各位达人帮忙纠错
Chapter 1. 介绍
The trouble with doing something right the first time is that nobody appreciates how difficult it was.
--Fortune
第一次做事情遇到麻烦是因为没有人理解这事儿有多困难 ...
- 2007-11-09 21:18
- 浏览 1099
- 评论(0)