微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

笔记

QA tomcat 建立server失败

1.退出eclipse   

2.[工程目录下]/.Metadata/.plugins/org.eclipse.core.runtime     

3. org.eclipse.wst.server.core.prefs org.eclipse.jst.server.tomcat.core.prefs这两个文件去掉     

4.重启eclipse  

WebService CXF学习(高级篇2):CXF+Spring+Hibernate

 

用户访问

http://fangang.iteye.com/blog/72486

http://www.360doc.com/content/11/0324/21/1265417_104330612.shtml

http://www.rsky.com.cn/Article/java/201006/11896.html

http://bbs.gimoo.net/thread/70553-1.html

http://blog.eyougo.com/blog/view/19

http://blog.csdn.net/onegeng/article/details/5981220

http://prettyboy434.iteye.com/blog/718787

http://hi.baidu.com/eastchen/blog/item/de5dbe8f3bf04ee3513d92f0.htmlhttp://my.oschina.net/u/104203/blog/41196

http://hi.baidu.com/eastchen/blog/item/20a9bf52325034170cf3e38e.html

http://www.voidcn.com/article/p-soewzljw-bqq.html

http

http://book.51cto.com/art/200906/129767.htm

http://book.51cto.com/art/200906/129767.htm

Apache CXF + Spring整合配置WebService

http://hi.baidu.com/ljlovermb/blog/item/bceb98cfaaf6610d92457e56.html

http://aijuans8.iteye.com/blog/1511492

 

cxf最新下载

http://www.apache.org/dyn/closer.cgi?path=/cxf/2.6.1/apache-cxf-2.6.1-src.zip

        

http://127.0.0.1:8080/cxfs/Address?wsdl

http://127.0.0.1:8080/demoWeb/video?wsdl

 

Exception

java.security.PrivilegedActionException:

         com.sun.xml.bind.v2.runtime.IllegalAnnotationsException:

2 counts of IllegalAnnotationExceptions

         com.mkyong.user.bo.UserBo is an interface,and JAXB can't handle interfaces.

 

解决方法

http://www.mkyong.com/webservices/jax-ws/spring-jax-ws-xxx-is-an-interface-and-jaxb-cant-handle-interfaces/

 

Exception

webservicejavax.xml.ws.soap.SOAPFaultException:Fault occurred while processing

解决方法

如果用cxfwebservice的时候报如上的异常,原因就两个。


1、有个值为null
2cxf的版本有问题。

REST API

http://www.infoq.com/cn/articles/rest-introduction

http://zhangtisu.iteye.com/blog/1063493

http://www.cnblogs.com/springyangwc/archive/2012/01/18/2325784.html

http://space.itpub.net/14780873/viewspace-671757

http://www.ibm.com/developerworks/cn/xml/x-twitterREST/?S_TACT=105AGX52&S_CMP=tec-csdn

http://ronghao.iteye.com/blog/1100373

http://blog.nosqlfan.com/html/2391.html

http://www.ibm.com/developerworks/cn/web/1103_chenyan_restapi/index.html?ca=drs

 

rest api demo

http://www.peej.co.uk/articles/restfully-delicious.html

 

spring +servlet

http://hi.baidu.com/jiabaozhen/blog/item/a003b711e72f09caf6039e70.html

 

hibernate 批处理

http://bbs.51js.com/thread-76933-1-1.html

http://www.voidcn.com/article/p-yhwakacv-bdy.html

http://topic.csdn.net/u/20071217/09/a1234a66-048e-4467-aa7b-b10d82ef6bf5.html

http://blog.csdn.net/lenhan12345/article/details/1563226

http://wsqwsq000.iteye.com/blog/1120648

http://wlzjdm.iteye.com/category/222864

http://javamzc.iteye.com/blog/739429

http://yoloo.iteye.com/blog/101863

 

 

60秒创建RESTful Web Services,这可能吗?我给你展示一下如何快速创建RESTful Web Services

首先准备好开发环境:

1. NetBeans IDE 6.x,I had the latest 6.5 M1 version downloaded.
2. JDK version 5 or 6
3. GlassFish V2 Application Server

如果不了解REST的话,查看下面链接学习一下先:

    *
RESTful Web Services
    *
Implementing RESTful Web Services in Java
    *
JSR 311: JAX-RS: The JavaTM API for RESTful Web Services

 

http://netbeans.org/kb/docs/websvc/rest_zh_CN.html

http://blog.csdn.net/exsuns/article/details/4830939

http://www.iteye.com/topic/568239

http://topmanopensource.iteye.com/blog/1279320

http://jackyrong.iteye.com/blog/1022586

http://8366.iteye.com/blog/952887

 

 

rest

http://www.ibm.com/developerworks/cn/java/j-lo-sqlrest/

http://www.blogjava.net/Jack2007/archive/2009/11/17/233075.html

http://www.iteye.com/topic/858160?page=3#2234752

http://wenku.baidu.com/view/09cc1aebf8c75fbfc77db2d0.html

http://netskys.iteye.com/blog/812735

http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/

http://www.searchdatabase.com.cn/showcontent_50400.htm

http://www.ibm.com/developerworks/cn/web/lp/restandweb/

http://www.iteye.com/topic/85928

http://www.redsaga.com/opendoc/REST_cn.pdf

http://sqlrest.sourceforge.net/

http://sqlrest.sourceforge.net/5-minutes-guide.htm

api文档可以参照

http://www.peej.co.uk/articles/restfully-delicious.html

 

post xml to rest api

http://stackoverflow.com/questions/10267471/posting-xml-to-a-rest-api-with-php

http://stackoverflow.com/questions/10280326/c-sharp-rest-api-xml-as-post-data

 

client post xml

http://q.cnblogs.com/q/21144/

http://stackoverflow.com/questions/911859/wcf-rest-post-xml-the-remote-server-returned-an-error-400-bad-request

 

 

rest api 处理xml

http://www.coderanch.com/t/551977/Web-Services/java/Jersey-RESTful-web-service-post

 

 

java.lang.NoClassDefFoundError: org/apache/commons/codec/DecoderException异常解决方

2009-11-26 16:38

缺少了要一个包commons-codec-1.x.jar

可以从这个地址http://commons.apache.org/downloads/download_codec.cgi下载到最新的 common codec
从下载后的压缩包中取出 commons-codec-1.x.jar 加到 CLAsspATH 中

mongodb java api

http://wenku.baidu.com/view/31f21bc68bd63186bcebbc3f.html

 

java发送xml post请求(2)

http://www.voidcn.com/article/p-ggrlttbk-de.html

http://zydky.iteye.com/blog/553854

http://yuelong.iteye.com/blog/1178090

http://blog.csdn.net/e_wsq/article/details/7482156#

http://blog.zol.com.cn/2919/article_2918660.html

HTTP状态码->HTTP Status Codes

http://www.cnblogs.com/DeasonGuan/articles/Hanami.html

 

http://www.voidcn.com/article/p-kgpawqto-xw.html

http://www.blogjava.net/amigoxie/archive/2010/06/12/323428.html

 

XML,JSON-P Web Service Endpoints Using Jersey

http://www.iceycake.com/2012/06/xml-json-json-p-web-service-endpoints-using-jersey/

mongo db

http://www.voidcn.com/article/p-hsxwrtii-yu.html

http://tech.it168.com/a2011/0603/1200/000001200064.shtml

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐