上一页 1 ··· 158 159 160 161 162 163 164 165 166 ··· 230 下一页
摘要: DELIMITER//drop PROCEDURE if EXISTS test.express;create PROCEDURE test.express()BEGIN select count(1) into @a from test.test_user where userid='user'... 阅读全文
posted @ 2014-11-18 16:07 一天不进步,就是退步 阅读(21247) 评论(0) 推荐(0)
摘要: 原文:https://docs.jboss.org/author/display/AS7/Java+API+for+RESTful+Web+Services+(JAX-RS)ContentTutorial OverviewWhat are RESTful Web Services?Creating ... 阅读全文
posted @ 2014-11-18 09:47 一天不进步,就是退步 阅读(1769) 评论(0) 推荐(0)
摘要: RESTEasyis JBOSS provided implementation of JAX-RS specification for buildingRESTful Web Servicesand RESTful Java applications. Though this is not lim... 阅读全文
posted @ 2014-11-18 09:27 一天不进步,就是退步 阅读(914) 评论(0) 推荐(0)
摘要: 使用步骤注意:1. 从http://logging.apache.org/log4j/1.2/ 下载文件2. 在src目录下加入log4j.properties,将jar包放入build -path,log4j.properties 编译后位于/classes目录下。3. 配置文件读取解析: Pro... 阅读全文
posted @ 2014-11-18 09:13 一天不进步,就是退步 阅读(11057) 评论(0) 推荐(0)
摘要: 最近独自一个人写项目,孤军奋战的程序猿可真伤不起!Java 调用MYSQL带输入输出参数存储过程时如题错误:java.sql.SQLException: Parameter number X is not an OUT parameter(X 表示某个数字)按照惯例,立刻在谷歌搜以上错误,得到的答案... 阅读全文
posted @ 2014-11-17 18:59 一天不进步,就是退步 阅读(5563) 评论(0) 推荐(2)
摘要: REST has made a lot of conveniences when it comes to implementing web services with the already available HTTP protocol at its disposal. By just firin... 阅读全文
posted @ 2014-11-17 18:33 一天不进步,就是退步 阅读(2796) 评论(0) 推荐(0)
摘要: 简介JAX-RS (JSR-311) 是为 Java EE 环境下的 RESTful 服务能力提供的一种规范。它能提供对传统的基于 SOAP 的 Web 服务的一种可行替代。在本文中,了解 JAX-RS 的主要组件。本文用一个例子展示了一个企业如何使用 JAX-RS 内的功能以一种 Restful ... 阅读全文
posted @ 2014-11-16 19:29 一天不进步,就是退步 阅读(449) 评论(0) 推荐(0)
摘要: 1.No suitable driver found for http://127.0.0.1:3306/test jdbc_url错误,jdbc走自己的协议。 正确的路径应该是:jdbc:mysql://127.0.0.1:3306/test。2. mysql中database、instance、... 阅读全文
posted @ 2014-11-14 17:27 一天不进步,就是退步 阅读(6326) 评论(1) 推荐(1)
摘要: 要深入理解spring mvc的工作流程,就需要先了解spring mvc的架构: 从上图可以看到 前端控制器DispatcherServlet在其中起着主导作用,理解了DispatcherServlet 就完全可以说弄清楚了spring mvc。 为了加深对spring mvc的整个工作流程的理解 阅读全文
posted @ 2014-11-14 10:39 一天不进步,就是退步 阅读(18024) 评论(0) 推荐(2)
摘要: 一、Java如何实现对存储过程的调用:A:不带输出参数的create procedure getsum @n int =0 as declare @sum int declare @i int set @sum=0 set @i=0 while @i<=@n begin set @sum=... 阅读全文
posted @ 2014-11-13 14:26 一天不进步,就是退步 阅读(473) 评论(0) 推荐(0)
上一页 1 ··· 158 159 160 161 162 163 164 165 166 ··· 230 下一页