随笔分类 -  java开发基础

上一页 1 ··· 11 12 13 14 15 16 17 18 下一页
JAAS authentication in Tomcat example--reference
摘要:In this tutorial you will learn how to configure JAAS authentication in Tomcat using the HTTP Basic authentication scheme.IntroductionTomcat provides ... 阅读全文
posted @ 2014-07-02 09:23 一天不进步,就是退步 阅读(375) 评论(0) 推荐(0) 编辑
j2ee安全介绍--转
摘要:一.简介现在越来越多的企业应用构建在j2ee平台上,这得益于j2ee为企业应用的开发提供了良好的框架和服务的支持.j2ee为企业应用提供了多方面的服务(Security、Transaction、Naming等).本文将介绍j2ee提供的安全服务.作者首先介绍j2ee中的安全概念和j2ee的安全体系架... 阅读全文
posted @ 2014-07-01 17:31 一天不进步,就是退步 阅读(1405) 评论(0) 推荐(0) 编辑
Java 理论与实践: JDK 5.0 中更灵活、更具可伸缩性的锁定机制--转载
摘要:多线程和并发性并不是什么新内容,但是 Java 语言设计中的创新之一就是,它是第一个直接把跨平台线程模型和正规的内存模型集成到语言中的主流语言。核心类库包含一个Thread类,可以用它来构建、启动和操纵线程,Java 语言包括了跨线程传达并发性约束的构造 ——synchronized和volatil... 阅读全文
posted @ 2014-06-30 08:54 一天不进步,就是退步 阅读(216) 评论(0) 推荐(0) 编辑
Java 理论与实践: 非阻塞算法简介--转载
摘要:在不只一个线程访问一个互斥的变量时,所有线程都必须使用同步,否则就可能会发生一些非常糟糕的事情。Java 语言中主要的同步手段就是synchronized关键字(也称为内在锁),它强制实行互斥,确保执行synchronized块的线程的动作,能够被后来执行受相同锁保护的synchronized块的其... 阅读全文
posted @ 2014-06-29 09:12 一天不进步,就是退步 阅读(208) 评论(0) 推荐(0) 编辑
并发编程 — 并发数据结构--转载
摘要:并发编程系列文章: 初解线程池:http://ray-yui.iteye.com/blog/2072463 详解线程池:http://ray-yui.iteye.com/blog/2075311 并发数据类型:http://ray-yui.iteye.com/blog/2080454 并发数据结构:... 阅读全文
posted @ 2014-06-27 16:28 一天不进步,就是退步 阅读(335) 评论(0) 推荐(0) 编辑
基于事件的 NIO 多线程服务器--转载
摘要:JDK1.4 的 NIO 有效解决了原有流式 IO 存在的线程开销的问题,在 NIO 中使用多线程,主要目的已不是为了应对每个客户端请求而分配独立的服务线程,而是通过多线程充分使用用多个 CPU 的处理能力和处理中的等待时间,达到提高服务能力的目的。多线程的引入,容易为本来就略显复杂的 NIO 代码... 阅读全文
posted @ 2014-06-19 20:50 一天不进步,就是退步 阅读(508) 评论(0) 推荐(0) 编辑
使用 JSSE 定制 SSL 连接的属性--转载
摘要:当数据在网络上传播的时候,通过使用 SSL 对其进行加密和保护,JSSE 为 Java 应用程序提供了安全的通信。在本篇有关该技术的高级研究中,Java 中间件开发人员 Ian Parkinson 深入研究了 JSSE API 较不为人知的方面,为您演示了如何围绕 SSL 的一些限制进行编程。您将学... 阅读全文
posted @ 2014-06-19 18:38 一天不进步,就是退步 阅读(5299) 评论(0) 推荐(0) 编辑
如何使用JCA (J2EE 连接器架构)实现企业应用--转载
摘要:JCA (J2EE 连接器架构,Java Connector Architecture)是对J2EE标准集的重要补充。因为它注重的是将Java程序连接到非Java程序和软件包中间件的开发。连接器特指基于Java连接器架构的源适配器,其在J2EE1.3规范中被定义。JCA连接器同时提供了一个重要的能力... 阅读全文
posted @ 2014-06-19 17:47 一天不进步,就是退步 阅读(2137) 评论(0) 推荐(0) 编辑
JAAS LOGIN IN WEBLOGIC SERVER--reference
摘要:The Java Authentication and Authorization Service (JAAS) is a standard extension to the security in the J2SE Development Kit 5.0. JAAS provides the ab... 阅读全文
posted @ 2014-06-18 15:21 一天不进步,就是退步 阅读(349) 评论(0) 推荐(0) 编辑
An NIO.2 primer--reference
摘要:Part 1: The asynchronous channel APIsThe More New I/O APIs for the Java™ Platform (NIO.2) is one of the major new functional areas in Java 7, adding a... 阅读全文
posted @ 2014-06-17 22:20 一天不进步,就是退步 阅读(647) 评论(0) 推荐(0) 编辑
Getting started with new I/O (NIO)--reference
摘要:The new input/output (NIO) library, introduced with JDK 1.4, provides high-speed, block-oriented I/O in standard Java code. This hands-on tutorial cov... 阅读全文
posted @ 2014-06-17 22:15 一天不进步,就是退步 阅读(443) 评论(0) 推荐(0) 编辑
JDK源码重新编译——支持eclipse调试JDK源码--转载
摘要:最近在研究jdk源码,发现debug时无法查看源码里的变量值。因为sun提供的jdk并不能查看运行中的局部变量,需要重新编译一下rt.jar。下面这六步是编译jdk的具体步骤:Step1:LocatetheJDKsourceFirstnavigatetotheJDKinstalldirectory,... 阅读全文
posted @ 2014-06-16 11:03 一天不进步,就是退步 阅读(3981) 评论(3) 推荐(1) 编辑
深入分析 iBATIS 框架之系统架构与映射原理--转载
摘要:http://www.ibm.com/developerworks/cn/java/j-lo-ibatis-principle/iBATIS 通过 SQL Map 将 Java 对象映射成 SQL 语句和将结果集再转化成 Java 对象,与其他 ORM 框架相比,既解决了 Java 对象与输入参数和... 阅读全文
posted @ 2014-06-15 23:03 一天不进步,就是退步 阅读(244) 评论(0) 推荐(0) 编辑
Servlet 工作原理解析--转载
摘要:原文:http://www.ibm.com/developerworks/cn/java/j-lo-servlet/index.html?ca=drs-Web 技术成为当今主流的互联网 Web 应用技术之一,而 Servlet 是 Java Web 技术的核心基础。因而掌握 Servlet 的工作原... 阅读全文
posted @ 2014-06-15 22:50 一天不进步,就是退步 阅读(526) 评论(0) 推荐(0) 编辑
Regular Expressions in Grep Command with 10 Examples --reference
摘要:Regular expressions are used to search and manipulate the text, based on the patterns. Most of the Linux commands and programming languages use regula... 阅读全文
posted @ 2014-06-14 16:26 一天不进步,就是退步 阅读(476) 评论(0) 推荐(0) 编辑
用java读取properties文件--转
摘要:今天为了通过java读取properties文件,google了很长时间,终于找到了。现在特记录之和大家一起分享。 下面直接贴出代码:java类public class Mytest public static void readFile(String fileName) {//传入参数file... 阅读全文
posted @ 2014-06-11 15:21 一天不进步,就是退步 阅读(5612) 评论(0) 推荐(0) 编辑
5 Ways to Use Log Data to Analyze System Performance--reference
摘要:Recently we looked across some of the most common behaviors that our community of 25,000 users looked for in their logs with a particular focus on web... 阅读全文
posted @ 2014-06-07 23:42 一天不进步,就是退步 阅读(220) 评论(0) 推荐(0) 编辑
Load resources from classpath in Java--reference
摘要:In general classpath is the path where JVM can find .class files and resources of your application and in this tutorial we will see how to load resour... 阅读全文
posted @ 2014-06-07 23:34 一天不进步,就是退步 阅读(1047) 评论(0) 推荐(0) 编辑
Eclipse Key Shortcuts for Greater Developers Productivity--reference
摘要:Posted byAjitesh Kumar /InJava /June 6, 2014http://vitalflux.com/eclipse-key-shortcuts-greater-developers-productivity/The article presents Eclipse Ke... 阅读全文
posted @ 2014-06-07 23:30 一天不进步,就是退步 阅读(321) 评论(0) 推荐(0) 编辑
Java Interview Reference Guide--reference
摘要:Part1http://techmytalk.com/2014/01/24/java-interview-reference-guide-part-1/Posted onJanuary 24, 2014byNitin KumarJAVA Object Oriented ConceptsJava in... 阅读全文
posted @ 2014-06-03 09:53 一天不进步,就是退步 阅读(554) 评论(0) 推荐(0) 编辑

上一页 1 ··· 11 12 13 14 15 16 17 18 下一页