Spring 中JCA CCI分析--转载
摘要:转载地址:http://blog.csdn.net/a154832918/article/details/6790612J2EE提供JCA(Java Connector Architecture)规范来标准化对EIS(Enterprise Information System)的访问。这个规范被分为...
阅读全文
posted @
2015-05-06 19:19
一天不进步,就是退步
阅读(1957)
推荐(0) 编辑
HttpServer的使用
摘要:http://docs.oracle.com/javase/8/docs/jre/api/net/httpserver/spec/overview-summary.html1.Package com.sun.net.httpserver DescriptionProvides a simple hi...
阅读全文
posted @
2015-04-20 08:48
一天不进步,就是退步
阅读(9353)
推荐(0) 编辑
可视化swing界面编辑--转载
摘要:原文地址:http://279234058.iteye.com/blog/2200122今天发现了一个WindowBuilder插件,功能好强大,啊哈哈,从此告别手动编辑swing界面代码,直接像VB那样编辑界面,代码会自动生成。 首先在Eclipse中点击help,选择Install New So...
阅读全文
posted @
2015-04-10 17:44
一天不进步,就是退步
阅读(814)
推荐(0) 编辑
Basic Example of JMX Technology--转载
摘要:原文地址:http://nick-lab.gs.washington.edu/java/jdk1.5b/guide/jmx/tutorial/connectors.htmlBasic Example of JMX TechnologyThis chapter introduces the conce...
阅读全文
posted @
2015-04-10 17:06
一天不进步,就是退步
阅读(262)
推荐(0) 编辑
Java Annotations: Explored & Explained--转载
摘要:原文地址:http://www.javacodegeeks.com/2012/08/java-annotations-explored-explained.htmlOne of the many wonderful features of Java 5 SE is the introduction ...
阅读全文
posted @
2015-04-10 16:59
一天不进步,就是退步
阅读(376)
推荐(0) 编辑
How to Map Distinct Value Types Using Java Generics--reference
摘要:原文:http://www.codeaffine.com/2015/03/04/map-distinct-value-types-using-java-generics/Occasionally the average developer runs into a situation where he...
阅读全文
posted @
2015-03-11 14:41
一天不进步,就是退步
阅读(380)
推荐(0) 编辑
How to Analyze Java Thread Dumps--reference
摘要:原文地址:http://architects.dzone.com/articles/how-analyze-java-thread-dumpsThePerformance Zoneis presented byAppDynamics. AppDynamics is a leaders in the ...
阅读全文
posted @
2015-03-03 11:52
一天不进步,就是退步
阅读(711)
推荐(0) 编辑
What Influences Method Call Performance in Java?--reference
摘要:reference from:https://www.voxxed.com/blog/2015/02/too-fast-too-megamorphic-what-influences-method-call-performance-in-java/Whats this all about then?...
阅读全文
posted @
2015-02-28 08:41
一天不进步,就是退步
阅读(270)
推荐(0) 编辑
keyStore vs trustStore--转载
摘要:原文:http://lukejin.iteye.com/blog/605634今天有同事向我问起这两个概念,所以我就记录下。首先我们得澄清一些概念。一个web应用如果需要提供以https的方式访问的服务的话,我们需要一个数字证书,这个证书的配置是在apache的配置文件或者其他web容器的配置文件中...
阅读全文
posted @
2015-02-15 17:23
一天不进步,就是退步
阅读(799)
推荐(0) 编辑
schedule() 和 scheduleAtFixedRate() 的区别--转载
摘要:1. schedule() ,2个参数方法:在执行任务时,如果指定的计划执行时间scheduledExecutionTime <= systemCurrentTime,则task会被立即执行。2. schedule() ,3个参数方法:在执行任务时,如果指定的计划执行时间scheduledExecu...
阅读全文
posted @
2015-02-13 17:44
一天不进步,就是退步
阅读(6411)
推荐(0) 编辑
当前工程读取配置文件示例
摘要:当前工程目录读取配置示例: public static void main(String[] args) { // TODO Auto-generated method stub System.out.println(getConfigPath()); } ...
阅读全文
posted @
2015-02-06 19:33
一天不进步,就是退步
阅读(264)
推荐(0) 编辑
使用split进行分割时遇到特殊字符的问题
摘要:使用split分割时:String[] a="aa|bb|cc".split("|");output:[a, a, |, b, b, |, c, c]先看一下split的用法: String[] java.lang.String.split(String regex)Splits this stri...
阅读全文
posted @
2015-01-31 18:52
一天不进步,就是退步
阅读(7419)
推荐(0) 编辑
非spring环境中配置文件工具
摘要:http://commons.apache.org/proper/commons-configuration/注意:属性的值使用","分割,会造成读取属性值不正确的问题。建议使用":"代替。原因:暂时没有时间读源码,等稍微闲一些的时候会研究。用户手册:https://commons.apache.o...
阅读全文
posted @
2015-01-26 20:47
一天不进步,就是退步
阅读(361)
推荐(0) 编辑
Improving Lock Performance in Java--reference
摘要:After we introducedlocked thread detectiontoPlumbrcouple of months ago, we have started to receive queries similar to “hey, great, now I understand wh...
阅读全文
posted @
2015-01-23 09:51
一天不进步,就是退步
阅读(268)
推荐(0) 编辑
The 10 Most Important Security Controls Missing in JavaEE--reference
摘要:JavaEE has some excellent built-in security mechanisms, but they don’t come close to covering all the threats that your applications will face. Many c...
阅读全文
posted @
2015-01-23 09:44
一天不进步,就是退步
阅读(253)
推荐(0) 编辑
Java出现No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing--转
摘要:原文:http://blog.csdn.net/sunny2038/article/details/6926079最近在看Java,在编译写书上一个例子时,由于书上的代码只有一部分,于是就自己补了一个内部类。结果编译时出现:No enclosing instance of type E is acc...
阅读全文
posted @
2015-01-20 14:08
一天不进步,就是退步
阅读(273)
推荐(0) 编辑
Glossary of Terms in the JavaTM platform --reference
摘要:http://docs.oracle.com/javase/tutorial/information/glossary.htmlfield:A data member of a class. Unless specified otherwise, a field is not static.memb...
阅读全文
posted @
2015-01-19 21:20
一天不进步,就是退步
阅读(212)
推荐(0) 编辑
JDBC Transaction Management Example---reference
摘要:In this post, we want to talk about JDBC Transactions and how we can manage the operations in a database.The most popular DBMS like MySQL and Oracle h...
阅读全文
posted @
2015-01-10 22:55
一天不进步,就是退步
阅读(413)
推荐(0) 编辑
The Class Loader Hierarchy--转载
摘要:Class loaders in the Application Server runtime follow a delegation hierarchy that is illustrated in the following figure and fully described inTable ...
阅读全文
posted @
2014-12-25 17:16
一天不进步,就是退步
阅读(511)
推荐(0) 编辑
How and Why Unsafe is Used in Java---reference
摘要:ByPeter Lawreyhttps://www.voxxed.com/blog/2014/12/how-and-why-unsafe-is-used-in-java/Overviewsun.misc.Unsafe has been in Java from at least as far bac...
阅读全文
posted @
2014-12-23 18:37
一天不进步,就是退步
阅读(286)
推荐(0) 编辑