java restful 風格的Webservice
摘要: 這里面用的是jersey
1. 創建一個project
2. 建立返回的model
這里面的model例子
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.test.webservice.model;
/**
*
* @author ann
*/
import com.fg114.model.People;
import java.util.Date;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax
閱讀全文
posted @
2009-09-27 15:19 冰是沒有未來的,因為它的永恒|
編輯
java.lang.LinkageError: loader constraint violation: when resolving overridden method "com.sun.xml.ws.message.jaxb.AttachmentMarshallerImpl.addMtomAttachment(Ljavax/activation/DataHandler;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;" the c
摘要: java.lang.LinkageError: loader constraint violation: when resolving overridden method "com.sun.xml.ws.message.jaxb.AttachmentMarshallerImpl.addMtomAttachment(Ljavax/activation/DataHandler;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;" the class loader (instance of org/mortbay/jetty/webapp/WebAppClassLoader) of the current class, com/sun/xml/ws/message/jaxb/AttachmentMarshallerImpl, and its superclass loader (instance of
), have different Class objects for the type javax/act 閱讀全文
posted @
2009-09-18 16:13 冰是沒有未來的,因為它的永恒|
編輯
linux 上imq上配置群集時候出 network loopback address
摘要: 在 Linux 系統中,
要將代理連接為群集,有一個特殊的前提條件。某些 Linux 安裝程序自動將 localhost 條目設置為網絡回送 IP 地址 (127.0.0.1)。您必須設置系統的 IP 地址,以便為群集中的所有代理設置正確的地址。
也即修改/etc/hosts
把hostname的配置文件為你的靜態ip(linux 查看hostname命令: hostname)
例如: hostname == etch1
修改/etc/hosts中
etch1 192.168.1.18
閱讀全文
posted @
2009-09-17 11:32 冰是沒有未來的,因為它的永恒|
編輯
Using Grails Object Relational Mapping
摘要: url :http://efforts.embedded.ufcg.edu.br/web/?p=7
閱讀全文
posted @
2009-09-01 09:28 冰是沒有未來的,因為它的永恒|
編輯