自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

进步在于积累

Job Security = Keeping knowledge and skills sharp and up to date!

  • 博客(16)
  • 收藏
  • 关注

原创 Static Import 用法之 Constant Utility Class

// Constant utility class package com.effectivejava.science; public class PhysicalConstants { private PhysicalConstants() { } // Prevents instantiation public static final double AVOGADR

2012-02-19 21:03:49 477

原创 Java Servlet - Listener, Filter and Servlet 初始化顺序

整体初始化顺序为:context-param -> Listener -> Filter -> load-on-startup Servlet 初始化每个Listener时是按照Listener配置节出现的顺序来初始化的 初始化每个Filter时是按照Filter配置节出现的顺序来初始化的 - 在Tomcat6.0.33中的测试结果并不是这样,感觉是随机的。

2012-02-05 19:18:26 415

原创 Learning Schedule

1. JAX-WS 2. Gof 3. Java J2EE Job Interview Companion 4. Collecting template

2012-01-28 23:01:55 790

原创 Wrapper vs Bare (Non-wrapper)

Wrapper和Bare不是WSDL定义的某种标准,而是JAX-WS和JAX-RPC定义的两种代码组织方式。只有document/literal才有Wrapper和Bare的形式,RPC不存在这种分别。 document/literal/wrapper document/literal/bare RPC/literal - 这种方式是WS-I BP支持的,但是在实际使用中已经不推荐了。

2012-01-27 22:57:46 441

原创 Standard Timeline

1997-01 HTTP 1.1 1999-06 HTTP 1.1 final 2000-05 SOAP 1.1 2001-03 WSDL 1.1 2001-05 XML Schema 2003-10 JAX-RPC 1.1 2004-04 WS-I BP 1.0 2004-08 WS-I BP 1.1 2006-04 JAX-WS 2.0 2007-06 WSDL 2.0

2012-01-25 14:09:09 213

原创 WS-I BP Restrictions

1. Encoded (SOAP encoded) is not allowed 2. Only allow document/literal and rpc/literal 3. Only allow one sub element under soap body for document style 4. Require that operations within a wsdl:por

2012-01-25 13:52:24 291

转载 Literal vs Encoded

"Literal" means "what you see is what you get"- this is just plain XML data. However that does not stop tools like java2wsdl and wsdl2java from doing any Java-to-XML or XML-to-Java conversion as speci

2012-01-25 13:50:29 344

原创 SOAP 1.1

SOAP1.1 - http://www.w3.org/TR/2000/NOTE-SOAP-20000508/ 概述 SOAP是基于XML的协议。 SOAP协议由三部分内容组成: 1. SOAP envelope - 定义SOAP的消息格式 2. SOAP encoding rule - 定义SOAP消息的数据类型,以及如何交换类型化的数据内容 3. SOAP RPC rep

2012-01-24 20:32:14 810

原创 WSDL, SOAP and WS-I BP

WSDL - web service description language - 用XML语言描述一个服务的 Types, Message, Operation, Port Type, Binding, Port, Service - 其中Binding部分可以使用SOAP/HTTP SOAP - simple object access protocol - 用XML定义的消息

2012-01-24 20:03:24 921

原创 JAX-RPC & JAX-WS

JAX-RPC (Java API for XML based RPC) 1.1 Supports - SOAP 1.1 - HTTP 1.1 - WSDL 1.1 - SOAP binding only - SOAP binding - WS-I Basic Profile 1.0 Depends on  - Java 1.4 - SAAL 1.2

2012-01-24 19:36:51 311

原创 Digital Signature

2012-01-23 20:01:02 327

原创 Base64 Encoding

Definition and History:  Base64 encoding are commonly used when there is a need to encode binary data that needs be stored and transferred over media that are designed to deal with textual data lik

2012-01-23 20:00:02 404

原创 Progressive Game

Progressive machines are a group of many slot machines linked together by a network. The big progressive jackpot is made by taking a percentage of all the money played into the machine. This means tha

2011-12-11 20:00:33 328

原创 URI vs URL vs URN

URI - a string of characters for identifying a resource. A URI can be further classified as a locator (URL), a name (URN), or both. : (this syntax apply to any URI) ://? (this syntax apply to some o

2011-12-11 19:59:44 251

原创 J2SE - Enumeration vs Iterator

Both are used to traverse a sequence of elements. >> Iterator is new while Enumeration is old. >> Iterator take the place of Enumeration in Java collections framework. >> Iterator iterates over a c

2011-12-11 19:58:27 221

原创 How to import a certificate file into a Java key store file?

keytool -import -alias new_alias -file your_cert_file -keystore your_keystore_file -storepass changeit

2011-12-11 19:52:35 358

空空如也

空空如也

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

TA关注的人

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