自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (19)
  • 收藏
  • 关注

转载 GoF

 GoF:(Gang of Four,GOF设计模式)---四人组       Design Patterns: Elements of Reusable Object-Oriented Software(即后述《设计模式》一书),由 Erich Gamma、Richard Helm、Ralph Johnson 和 John Vlissides 合著(Addison-Wesley,1995)。这几

2007-05-30 23:18:00 1071

原创 关于BeanFactory

BeanFactory 提供了配置框架的基本的功能,而ApplicationContext为它增加了更强大的功能,这些功能中的一些或许更加接近J2EE并且围绕企业级应用。一般来说,ApplicationContext是BeanFactory的完全超集,任何BeanFactory功能和行为的描述也同样被认为适用于ApplicationContext.用户有时不能确定BeanFactory和Appli

2007-05-30 17:12:00 2140

转载 Eclipse快捷键大全

Ctrl+1 快速修复(最经典的快捷键,就不用多说了)Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加)Ctrl+Alt+↑ 复制当前行到上一行(复制增加)Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)Alt+↑ 当前行和上面一行交互位置(同上)Alt+← 前一个编辑的页面Alt+→ 下一个编辑的页面(当然是针对上面那条来说了)Alt+En

2007-05-29 13:29:00 491

转载 Tomcat中文乱码问题的原理和解决方法

自从接触Java和JSP以来,就不断与Java的中文乱码问题打交道,现在终于得到了彻底的解决,现将我们的解决心得与大家共享。 一、Java中文问题的由来 Java的内核和class文件是基于unicode的,这使Java程序具有良好的跨平台性,但也带来了一些中文乱码问题的麻烦。原因主要有两方面,Java和JSP文件本身编译时产生的乱码问题和Java程序于其他媒介交互产生的乱码问题。 首先Java(

2007-05-28 16:09:00 689

原创 native2ascii的使用方法

native2ascii的使用方法如下:native2ascii  源文件名  目标文件名。如native2ascii   test.txt      test.xml可以使用该命令的“-encoding” 参数,将文档转换为编码格式。如native2ascii  -encoding  GB2312   test.xml   还可以使用native2ascii的“-reverse”参数

2007-05-22 17:51:00 1500

转载 XML的四种解析器(dom,sax,jdom,dom4j)原理及性能比较

四种操作xml的方式: SAX,   DOM,   JDOM ,  DOM4J1. 介绍1)DOM(JAXP Crimson解析器)         DOM是用与平台和语言无关的方式表示XML文档的官方W3C标准。DOM是以层次结构组织的节点或信息片断的集合。这个层次结构允许开发人员在树中寻找特定信息。分析该结构通常需要加载整个文档和构造层次结构,然后才能做任何工作。由于它是基于信息层次的

2007-05-21 13:38:00 920

Inside Java Virtual Machine English version

Inside Java Virtual Machine, for English Version

2010-09-19

深入JAVA虚拟机 中文版

学习JAVA,能不了解JAVA虚拟机吗?中文版

2010-09-19

Java_-_Expert_One-on-One_J2EE_Development_without_EJB_-_2004_-_Wrox

This is a fairly short book, given its scope, because its subject is less complex than you’ve been led to believe. J2EE orthodoxy makes heavy work of many simple problems. Indeed it sometimes seems that the J2EE industry is committed to the belief that there are no simple problems. Many—probably most—J2EE applications are over-engineered, with unnecessarily complex architectures. Over-engineering can be very costly. J2EE developers tend to assume that increased cost up front will be more than balanced by reductions in future costs. Unfortunately, karma doesn’t apply to software engineering, and this is often a fallacy. Greater complexity up front means more code to write and maintain, more potential for bugs, more delay in demonstrating functionality to users: ultimately, greater chance of failure, and at greater cost. J2EE over-engineering usually involves EJB. As I pointed out in Expert One-on-One J2EE Design and Development, EJB is often used inappropriately. This is a real problem, because EJB can introduce more complexity than it conceals. Some services provided by EJB are also overrated. For example, few experienced developers or architects who have worked with entity EJBs to access relational data want to repeat the experience—at least, given the alternatives of JDO, Hibernate, and other transparent persistence technologies. Critiques of EJB have become commonplace since late 2002. It’s easy enough to pick the flaws in an imperfect existing technology, without suggesting alternatives. This book breaks new ground in describing and illustrating better approaches for the majority of J2EE applications that derive no benefit from EJB. This book is no mere theoretical discussion, but a practical guide to designing and implementing high-performance J2EE applications on time and budget. Our suggested architectures are backed up by extensive experience, a realistic sample application, and comprehensive open source solutions that meet typical infrastructure needs. Despite the significant problems that have emerged with EJB, it continues to be adopted too often largely because of fashion and fear. Fashion because even nontechnical managers have heard of EJB and because many books on J2EE architecture barely mention alternatives to EJB for delivering enterprise services, even where excellent alternatives exist. Fear that the alternatives are worse: for example, that without EJB developers will be left to handle complex issues such as transaction management without the training wheels of the EJB container. This book aims to show that these fears are largely unfounded. Where the potential complexity is real, it shows that there are alternatives that do a better job than EJB at addressing the problems concerned.

2010-08-28

Grady_Booch_-_Object-Oriented_Analysis_and_Design_With_Applications,_2nd_ED

Object-oriented technology is built upon a sound engineering foundation, whose elements we collectively call the object model. The object model encompasses the principles of abstraction, encapsulation, modularity, hierarchy, typing, concurrency, and persistence. By themselves, none of these principles are new. What is important about the object model is that these elements are brought together in a synergistic way. Let there be no doubt that object-oriented analysis and design is fundamentally different than traditional structured design approaches: it requires a different way of thinking about decomposition, and it produces software architectures that are largely outside the realm of the structured design culture. These differences arise from the fact that structured design methods build upon structured programming, whereas object-oriented design builds upon object-oriented programming. Unfortunately, object-oriented programming means different things to different people. As Rentsch correctly predicted, "My guess is that object-oriented programming will be in the 1980s what structured programming was in the 1970s. Everyone will be in favor of it. Every manufacturer will promote his products as supporting it. Every manager will pay lip service to it. Every programmer will practice it (differently). And no one will know just what it is" [1]. Rentsch's predictions still apply to the 1990s. In this chapter, we will show clearly what object-oriented development is and what it is not, and hew it differs from other methods through its use of the seven elements of the object model.

2010-08-28

为什么要J2EE Without EJB

传统的J2EE架构方案得到的结果常常无法让人满意:过于复杂的应用程序、令人失望的性能、难以测试、开发和维护成本高昂。 事情原本不必这样的。对于绝大多数应用程序,原本应该有更好的选择。在本书中,我们将向读者介绍一种更加简单、而又不失强大的架构方案。这种方案有作者多年的J2EE经验作为支撑,并且使用了诸如控制反转(Inversion of Control,IoC)和AOP等较新的技术。它用更加轻量级、更加灵活的基础设施取代了EJB,并因此受益良多。本书作者和其他很多人已经在很多真实应用中使用了这种架构方案,并且得到了比传统架构更理想的结果

2010-08-28

Effective JAVA Second Edition

典藏之作,好书奉献!典藏之作,好书奉献!典藏之作,好书奉献!典藏之作,好书奉献!

2010-04-29

Hibernate in action

典藏著作,舍我其谁?典藏著作,舍我其谁?典藏著作,舍我其谁?典藏著作,舍我其谁?典藏著作,舍我其谁?

2010-04-29

精通AspectJ 英文版

Chapter 3 begins looking at the practical side of AOP by discussing how to obtain AspectJ and install it on your system. A simple example is presented, which will help you determine whether the system is installed correctly. Because AspectJ is built on and works in conjunction with Java, both Windows and Linux installations are covered

2010-04-29

EJB_3.0实例教程

EJB3 最激动人心的是 POJO 编程模型,我想对开发人员的影响将是非常大的,因为他降低了开发人员编写 EJB 的 要求。EJB3 的bean类将更像常规的Java bean。不要求像过去那样实现特殊的回调界面或者扩展 EJB 类。所以它 将使EJB的开发更像常规的Java开发

2010-04-29

Java Message Service 规范教程

企业消息产品(有时也被称为面向消息的中间件MOM-Message Oriented Middleware),正成为一种用来整合公司内部操作的重要组件。它们使得分离的业 务组件变成可靠而又灵活性的系统。Java语言编写的客户端以及中间层服务必须能够访问 这些系统,JMS 为java语言访问这些消息系统提供了一种通用的方法。 JMS是一系列的接口及相关语义的集合,通过这些接口和语义定义了JMS客户端如何 去访问消息系统。

2010-04-29

WebSphere_MQ_System_Administration_Guide

Theseproductsprovideapplicationprogrammingservicesthatenableapplication programstocommunicatewitheachotherusing messagequeues.Thisformof communicationisreferredtoas commercialmessaging.Theapplicationsinvolved canexistondifferentnodesonawidevarietyofmachineandoperatingsystem types.Theyuseacommonapplicationprogramminginterface,calledtheMessage QueueInterfaceorMQI,sothatprogramsdevelopedononeplatformcanreadily betransferredtoanother.

2010-04-29

UML 用户指南 英文版

The Unified Modeling Language Reference Manual

2008-05-24

最新EJB 3.0实例教程

企业应用开发核心技术<br>版权所有:黎活明

2008-05-16

hibernate 3.2_reference

hibernate 3.2_reference in Chinese

2007-12-22

spring2.0-reference_final_zh_cn

spring2.0-reference 中文片

2007-12-22

JSP2.0 EL

JSP EL 表达式

2007-12-22

ejb 2.1 specification

EJB 2.1 技术规范pdf文档

2007-12-22

The Open-Closed Principle

This is the first of my Engineering Notebook columns for The C++ Report. The articles that will appear in this column will focus on the use of C++ and OOD, and will address issues of software engineering. I will strive for articles that are pragmatic and directly useful to the software engineer in the trenches. In these articles I will make use of Booch’s notation for documenting object oriented designs. The sidebar provides a brief lexicon of Booch’s notation.

2007-12-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除