java webservice 数据库,java WebService

java WebService

In recent years, web services have emerged as a popular technology for remote method calls. Technically, a web service has two components:

A service that can be accessed with the SOAP transport protocol

A description of the service in the WSDL format

SOAP is an XML protocol for invoking remote methods, similar to the protocol that RMI uses for the communication between clients and servers. Just as you can program RMI applications without knowing anything about the details of the RMI protocol, you don't really need to know any details about SOAP to call a web service.

WSDL is an interface description language. It too is based on XML. A WSDL document describes the interface of a web service: the methods that can be called, and their parameter and return types. In this section, we generate a WSDL document from a service implemented in Java. This document contains all the information that a client program needs to invoke the service, whether it is written in Java or another programming language.

相关文档:

PO(persistant object) 持久对象

在 o/r映射的时候出现的概念,如果没有o/r映射,没有这个概念存在了。通常对应数据模型(数据库),本身还有部分业务逻辑的处理。可以看成是与数据库中的表相映射的java对象。最简单的PO就是对应数据库中某个表中的一条记录,多个记录可以用PO的集合。PO中应该不包含任何对数据库的操作。

......

源代码:

public class Parent

{

protected  void test() {}

public Parent()

{

this.test();

}

public static void main(String[] args)

&nb ......

原贴内容请见: http://topic.csdn.net/u/20100116/17/6a204504-9e70-435f-be55-f0630ed12fdf.html?seed=942806558&r=62778073#r_62778073

请大牛指正.

产品类:

package selfimpr.producerCustomer;

/**

* 产品

* @author selfimpr

* @blog http://blog.csdn.net/lgg201

* @email lgg860911@yahoo.com.cn

......

public class SHA1 {

private final int[] abcde = {

0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0

};

// 摘要数据存储数组

&nb ......

package com.tiantian;

import java.util.*;

public class JAVAContainer {

public static void main(String[] args) throws Exception {

// ArrayList

{

ArrayList arraylist = new ArrayList();

arraylist.add(0, "end");//指定索引加入值

// 需注意的是,如果现有2个值,我尤胨饕?的那么就会出现异常

f ......

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值