Quantcast
Channel: BlogJava-cuiyi's blog(崔毅 crazycy)-随笔分类-JavaEE技术
Browsing latest articles
Browse All 30 View Live

Image may be NSFW.
Clik here to view.

eclipse高亮选中的变量失效的方法 eclipse highlight occurrences not working

1. 要显示哪些类型windows->preferences->java->Editor-> Mark Occurrences2. 高亮显示的颜色Window->Preferences->General->Editors->Text Editors->Annotations->Occurrences3. 或者使用快捷键 Alt +...

View Article



Image may be NSFW.
Clik here to view.

Spring-系统启动时初始化数据库的数据/系统启动时操作数据库

需求:在系统启动的时候把数据库的数据进行重置(或者插入数据,或者取出一系列的数据缓存起来)摸索:SBean可以IoC注入需要的资源比如DataSource;Spring Bean Config<bean id="idPoolsInitilizedProcessor" class="utils.IDPoolsInitilizedListener" scope="singleton" >...

View Article

Image may be NSFW.
Clik here to view.

ant脚本的javac怎么检测源码文件夹是否存在 ant javac check folder exists or not

遇到了问题,编译的时候,有一些目录,比如tr\srctr\src_x1 for prj X1tr\src_x2 for prj X2_______  for prj X3, X3中没有,怎么设置ant脚本呢?<target name="compile-tr">        <mkdir dir="${tr.classes.dir}" />        <javac...

View Article

Image may be NSFW.
Clik here to view.

Quartz Cron表达式

每次使用Quartz Cron的时候都要去查manual document;(URI:http://quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger)对于第四个day of month 和 第六个 day of week常常需要花时间,这里做个简单总结*    *   *     *    *    *...

View Article

Image may be NSFW.
Clik here to view.

JBoss5 for Java5 vs JBoss for Java6

最近在客户服务器上遇到了不少麻烦事,环境是JBoss5 + Java6;第一个事情是,2个数据库的写操作在同一个事务(Transaction)中,本地开发环境和公司的集成测试环境运转都很好;但是在客户机器上:2013-05-06 19:10:49,957 WARN  [org.jboss.tm.usertx.UserTransactionRegistry] (http-0.0.0.0-8380-1)...

View Article


Image may be NSFW.
Clik here to view.

Download of Spring Framework

Spring has upgrade their website as spring.ioAnd the download of zip files has become a bit confusion.Base on You now have to download the zip files form their repository, as stated here:...

View Article

Image may be NSFW.
Clik here to view.

NoSQL非关系型数据库学习(一)

     摘要: 在2008年的时候,我还是只知道DB2, Oracle, MS SQLServer, Sybase, MySQL, PostgreSQL,  Firebird等主流商业或者开源数据库。当汲取知识于网络之际,突然发现很多新的名词鱼跃而出,什么 SQLite, Memcached,  FastDB, MongoDB, Solr, Redis, HBase,  Cass......

View Article

Image may be NSFW.
Clik here to view.

NoSQL非关系型数据库学习(二)

Gartner分析师Merv Adrian在Twitter上RT了一条关于NoSQL数据库评选的消息,他认为这就像是在对比你更喜欢苹果、鸡尾酒还是西兰花,它们都有不同的应用场景,对比NoSQL产品是没有意义的。比如MongoDB和Cassandra就没有什么可比性,它们的共同点只是都叫做NoSQL数据库而已,它们的应用场景非常不同。...

View Article


Image may be NSFW.
Clik here to view.

NoSQL非关系型数据库学习(三)NoSQL与RDBMS:何时使用,何时不使用

     摘要: NoSQL数据库面临的挑战NoSQL vs RDBMS: Why and why not to use NoSQL over RDBMS?  Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Naresh Kumar3 J......

View Article


Image may be NSFW.
Clik here to view.

Failed to load the JNI shared library "C:/JDK/bin/client/jvm.dll"

Encounter this error during using a new SOAP mock client tool: C:/JDK/bin/client/jvm.dllThe solution to resolve it is to make sure the version are all 64 bits64-bit Java64-bit {tool}crazycy 2014-01-13...

View Article

Image may be NSFW.
Clik here to view.

NoSQL非关系型数据库学习(四)这样对比下HBase, Memcached, MongoDB, Redis和Solr

     摘要: Sourcehttp://db-engines.com/en/system/HBase%3BMemcached%3BRedis%3BSolr Name HBase   Memcached  MongoDB   Redis &n...  阅读全文crazycy 2014-01-14 00:27 发表评论

View Article

Image may be NSFW.
Clik here to view.

NoSQL学习(五)Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase vs...

     摘要: Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vsHBase vs Couchbase vs Neo4j vs Hypertable vsElasticSearch vs&nbs...  阅读全文crazycy 2014-01-14 01:34 发表评论

View Article

Image may be NSFW.
Clik here to view.

NoSQL学习(六) 2014年大数据分析趋势展望(转)

2014年大数据分析趋势展望Posted on 2014年01月8日 by DinK in 行业资讯...

View Article


Image may be NSFW.
Clik here to view.

NoSQL学习(七)Hadoop是数据仓库的终结者吗?

Hadoop是数据仓库的终结者吗?2014年01月13日 | 作者:邹铮编译 |...

View Article

Image may be NSFW.
Clik here to view.

NoSQL学习(八) 大数据要“落地”,还缺些什么?

大数据要“落地”,还缺些什么http://www.pingwest.com/bigdata2/“大数据”是在2013年被用滥了的词汇,但实际上,由于数据量缺失、大数据清洗和分析能力不足,以及数据可视化瓶颈等问题,“大数据”一直未能迟迟落地。伴随着基础设施的发展,意味着大数据的发展又走到新的一个新的临界点。系统软件供应商Software AG的Gagan...

View Article


Image may be NSFW.
Clik here to view.

NoSQL学习(九) 2014年八大最热门的大数据工作

2014年八大最热门的大数据工作作者:张霖 1月 16, 2014http://www.ctocio.com/ccnews/14565.html原文链接:...

View Article

Image may be NSFW.
Clik here to view.

ant: failed to create task or type if

 <target name="compile-cxcdata-dao">    <if>      <equals arg1="${dummyDAO}" arg2="true" />      <then>        <ant antfile="${data.dir}/data_build.xml" target="compile-data"...

View Article


Image may be NSFW.
Clik here to view.

JBoss AS突然发现不熟悉了

The EAP binaries have their own release cycle. The EAP 6.1 release cycle had a Alpha, a Beta which ultimately led to the 6.1 GA. The 6.1 Alpha binary is made available for free (both for development...

View Article

Image may be NSFW.
Clik here to view.

UI Experience - 01 JQuery cannot get actual window Size

alert("window height: " + $(window).height());每次获得的尺寸都不一样;高度怀疑是JQuery的bug当我在jsp/html开头增加了这么一句<!DOCTYPE html>事情搞定分析下来原因是这样的:If document is running in Quirks Mode and jQuery can't calculate correct...

View Article

Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 1 mybatisGenerator 代码自动生成报错 Result Maps collection...

java -jar mybatis-generator-core-1.3.2.jar -configfile  {path}\generator\mybatis\generatorConfig.xml -overwrite 第一次运行后,程序运行良好再次执行此命令后,程序出现异常:Error parsing Mapper XML. Cause:...

View Article

Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 4 Spring请求参数

<form>   username:<input type="text" name="userNAME">   password:<input type="text" name="pasWD">                <input type="button" value="submit">...

View Article


Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 5 Security-Shiro-01

     摘要: 文章摘录处安全认证框架-APACHE SHIRO研究心得最近因为项目需要,研究了一下Apache Shiro安全认证框架,把心得记录下来。(原创by:西风吹雨) Apache Shrio是一个安全认证框架,和Spring...

View Article


Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 6 SpringMVC Restful风格下的静态资源

      优雅REST风格的资源URL不希望带 .html 或 .do 等后缀.由于早期的Spring MVC不能很好地处理静态资源,所以在web.xml中配置DispatcherServlet的请求映射,往往使用 *.do 、 *.xhtml等方式。这就决定了请求URL必须是一个带后缀的URL,而无法采用真正的REST风格的URL。...

View Article

Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 8 Shiro异常:EhCache initialization exception: Another...

异常1: EhCache initialization exception: Another unnamed CacheManager already exists in the same VM具体错误如下:Another CacheManager with same name 'cacheManager' already exists in the same VM. Please >...

View Article

Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 9 Spring的EnCache(Shiro Cache的解决方案是基于这个文章的)

If you look around the web for examples of using Spring 3.1’s built in caching then you’ll usually bump into Spring’sSimpleCacheManager, which the Guys at Spring say is “Useful for testing or simple...

View Article


Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 10 I18N标签的使用

SpringMVC可以使用如下两个标签Spring TLD: <spring:message code="{message.key}"/>JSTL TLD:   <fmt:message key="{message.key"}/>但是我们会遇到以后的问题: JSTL的标签没有解析成功解决办法有二:其一: <fmt:setBundle...

View Article

Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 11 SiteMash的一个小陷阱

页面什么都不显示,但是查看页面代码却发现什么信息都有。调试到凌晨4点多,今天恍然发现<script type="text/javascript" src="${ctx}/javascript/jquery.min.js"/>的最后“/"是红色的。然后用能通过的页面比较,唯一的差异是:能显示的页面<script type="text/javascript"...

View Article

Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 12 spring mvc4返回的json日期为Long的解决方案

     摘要: Spring MVC 4.X ResponseBody 日期类型Json 处理摘自http://tramp-zzy.iteye.com/blog/2090330  2014-07-10方法一:全局处理Code highlighting produced by Actipro CodeHighlighter...

View Article

Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 13 回头看spring mvc:annotation-driven对应的消息转换(包含日期处理)-系列12的强化

     摘要: 当初配置springmvc的时候,因为是第一次使用springmvc,为图快捷,因而大量从网上查找入门信息。遗憾的是,网上的配置真是五花八门,让我彻底凌乱。至今阅读文章不少于300余篇,回头适当整理下这个。spring...

View Article



Image may be NSFW.
Clik here to view.

SpringMVC+MyBatis - 16 Maven部署Web项目报错webxml attribute is required

Error:[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.4:war (default-war) on project TradingLink: Error assembling WAR: webxml attribute is required (or pre-existing...

View Article
Browsing latest articles
Browse All 30 View Live




Latest Images