首页 > 编程语言
Spring 、 CXF 整合 swagger 【试炼】
官网:http://swagger.io/ http://swagger.io/specification/ 上面就是描述了什么是 SWAGGER OBJECT 2. 如何用jax-rs 注解方式产生 SWAGGER CORE 3.如何更好的展现 SWAGGER UI 4.如何开始 找找demo 按 ...
分类:编程语言   时间:2016-08-06 09:46:57    收藏:0  评论:0  赞:0  阅读:908
spring mvc 文档哪里有
官方: http://docs.spring.io/spring/docs/4.2.0.RC1/spring-framework-reference/htmlsingle/#spring-web The Web - Web MVC framework - Introduction to Spring ...
分类:编程语言   时间:2016-08-06 09:44:37    收藏:0  评论:0  赞:0  阅读:258
(二)swagger-springmvc
如何入门 1. 我在 http://mvnrepository.com/ 上搜索 swagger-springmvc 2. 我找到一个具体版本 http://mvnrepository.com/artifact/com.mangofactory/swagger-springmvc/1.0.2 3. ...
分类:编程语言   时间:2016-08-06 09:44:18    收藏:0  评论:0  赞:0  阅读:260
(二)spring-mvc-showcase 和 swagger-springmvc 的恩恩怨怨
1. 搜索 spring showcase 就可以找到这篇 http://spring.io/blog/2010/07/22/spring-mvc-3-showcase 就是教你如何使用spring mvc 2. 去github 下载源码 3. 接下来的任务就是将swagger 整合进去 1. 进入 ...
分类:编程语言   时间:2016-08-06 09:43:09    收藏:0  评论:0  赞:0  阅读:245
JAVA 面试题及思考
学而时习之 1. 关键词:java内存分配 2. 关键词:c for 3. 关键词:override , overload The public type A must be defined in its own file Cannot reduce the visibility of the in ...
分类:编程语言   时间:2016-08-06 09:41:57    收藏:0  评论:0  赞:0  阅读:278
Java 理论与实践: 正确使用 Volatile 变量
volatile 变量使用指南 volatile 变量使用指南 Java? 语言包含两种内在的同步机制:同步块(或方法)和 volatile 变量。这两种机制的提出都是为了实现代码线程的安全性。其中 Volatile 变量的同步性较差(但有时它更简单并且开销更低),而且其使用也更容易出错。在这期的  ...
分类:编程语言   时间:2016-08-06 09:41:35    收藏:0  评论:0  赞:0  阅读:231
spring mvc 静态资源版本控制
spring bean 文件中增加 类文件 页面中: ...
分类:编程语言   时间:2016-08-06 09:41:06    收藏:0  评论:0  赞:0  阅读:449
Spring MVC controller 被执行两次
interceptor 被执行两次 后来发现 时controller被执行两次 后来发现是jsp页面有个: 导致被执行两次。 解决方案:去掉 ...
分类:编程语言   时间:2016-08-06 09:40:05    收藏:0  评论:0  赞:0  阅读:334
spring @Transactional 声明式事务
项目地址:git@github.com:witaste/transaction-annotation.git 情景一: A external method calls a method of the target object 外部方法调用目标对象的事务方法,异常逐层抛出,最终由a() 抛出,可以回 ...
分类:编程语言   时间:2016-08-06 09:39:58    收藏:0  评论:0  赞:0  阅读:311
四)Spring + Quartz
使用Quartz默认配置 /* * Copyright 2002-2014 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may no ...
分类:编程语言   时间:2016-08-06 08:29:17    收藏:0  评论:0  赞:0  阅读:433
8) Struts2 2 SpringMVC
git@github.com:witaste/smse.git 数据库脚本: ps:目前是角色-菜单(受保护urls) 左 ...
分类:编程语言   时间:2016-08-06 08:27:56    收藏:0  评论:0  赞:0  阅读:249
五)Spring + Quartz 复杂业务的两个问题:获取Spring上下文 和 自动注入服务类
配置如下: 为什么要配置这个 因为可以通过这个key取到Spring上下文。 配置1存在的问题:不能自动注入。 配置一改:解决自动注入问题 change to cn.zno.common.SpringBeanJobFactory 另一种实现方式为: ...
分类:编程语言   时间:2016-08-06 08:26:55    收藏:0  评论:0  赞:0  阅读:336
RabbitMQ client ( java )
Maven 依赖 GitHub https://github.com/rabbitmq/rabbitmq-java-client/archives/master 文档 http://www.rabbitmq.com/getstarted.html 基本概念理解 A producer a progra ...
分类:编程语言   时间:2016-08-06 08:25:26    收藏:0  评论:0  赞:0  阅读:153
加载 bean.xml 的几种方式 (java or web project)
1. java project 2. web project 3. Test org.springframework spring-test ...
分类:编程语言   时间:2016-08-06 08:25:15    收藏:0  评论:0  赞:0  阅读:251
spring 整合 mybatis (不含物理分页)
...
分类:编程语言   时间:2016-08-06 08:16:47    收藏:0  评论:0  赞:0  阅读:212
javax.servlet.jsp.PageContext cannot be resolved to a type
提供jsp-api的支持即可解决该问题。 注:provided 因为tomcat等容器中有该jar包,compile 级别会导致冲突报错。 ...
分类:编程语言   时间:2016-08-06 08:12:36    收藏:0  评论:0  赞:0  阅读:336
Detected both log4j-over-slf4j.jar AND slf4j-log4j12.jar on the class path, preempting StackOverflowError.
查看日志 查看Java Build Path - Maven Dependencies C:\Documents and Settings\Administrator\.m2\repository\org\slf4j\slf4j-log4j12\1.7.2\slf4j-log4j12-1.7.2.j ...
分类:编程语言   时间:2016-08-06 08:12:07    收藏:0  评论:0  赞:0  阅读:275
SpringMVC个人总结
SpringMVC是基于MVC模式的web框架,采用前端控制器设计模式,属于SpringFrameWork的后续产品。现在以一个基本HelloWorld入门程序为例,通过XML配置形式介绍springMVC基本开发流程:1.加入所需要的jar包,springMVC是建立在SpringIoC为容器,因此需要加入IoC相关的jar包(采用sp..
分类:编程语言   时间:2016-08-06 07:04:57    收藏:0  评论:0  赞:0  阅读:312
SpringMVC个人总结
SpringMVC是基于MVC模式的web框架,采用前端控制器设计模式,属于SpringFrameWork的后续产品。现在以一个基本HelloWorld入门程序为例,通过XML配置形式介绍springMVC基本开发流程:1.加入所需要的jar包,springMVC是建立在SpringIoC为容器,因此需要加入IoC相关的jar包(采用sp..
分类:编程语言   时间:2016-08-06 07:04:48    收藏:0  评论:0  赞:0  阅读:364
leetCode 88. Merge Sorted Array 有序数组
88.MergeSortedArrayGiventwosortedintegerarraysnums1andnums2,mergenums2intonums1asonesortedarray.Note:Youmayassumethatnums1hasenoughspace(sizethatisgreaterorequaltom+n)toholdadditionalelementsfromnums2.Thenumberofelementsinitializedinnums1andnums2aremandnres..
分类:编程语言   时间:2016-08-06 07:04:26    收藏:0  评论:0  赞:0  阅读:316
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!