The Father of Spring Rod Johnson
Rod Johnson - Spring & J2EE without EJB 作者[@more@]Rod Johnson - Creator of Spring & Best Selling Author of J2EE without EJBRod Johnson is an enterprise Java architect with extensive experience in the insurance, dot-com, and financial industries. He was the J2EE architect of one of Europe's largest web portals, and he has worked as a consultant on a wide range of projects.Rod has an arts degree majoring in music and computer science from the University of Sydney. He obtained a Ph.D. in
期待Spring ONE ,期待Spring IDE 2.0
期待Spring ONE ,期待Spring IDE 2.0最新的Spring IDE 2.0 rc1.已经发布了,在Spring ONE开发者大会期间会发布Spring IDE2.0最终版,期待中[@more@]Spring IDESpring emerged as an application framework and can be considered as de-facto standard in the area of light-weight Java EE application development. Still there is one concern people constantly bring up: The XML bean definition files can get quite complex and error-prone during development. This problem has been greatly addressed with the new Spring 2.
Architecture with Spring 体系
Architecture with Spring[@more@]Architecture with SpringWelcome to the world of Spring- a very powerful framework that opens alot of possibilities. More often than not the potentials of Spring leavepeople confused. How should an application be designed? What about bestpractices? In this talk some of the issues for the architecture ofSpring applications are explained in more detail and typical approachesare shown. This includes typical solution in areas likethe design of a persistence layer the c
Building web-based 'fat clients' using GWT
GWT[@more@]Building web-based 'fat clients' using GWTGoogle Web Toolkit (GWT) provides you with a great way to develop Ajax applications in the Java language.It allows you to develop 'fat clients' for the web, without having to know the ins and outs of JavaScript and all the corresponding browser incompatibilities.This session will provide you with an introduction on building web-based, 'fat clients' with GWT. The focus of this session will be on integration between a GWT client and your Spring-
Spring One 2007 June 20~22ed
Spring One 2007 June 20~22ed,开发者大会[@more@]The Spring Value Proposition in the World of Java EE 5 and EJB 3Spring 2.0, Java EE 5.0, EJB 3.0, how do they relate? Java EE 5.0 provides both a large set of lower level core enterprise-focused APIs, and a component programming model in the form of Enterprise Java Beans (EJB). One of the main goals of the Java EE 5 specification was to simplify the EJB programming model to overcome the complexity of previous versions. Among simplifications in the c
shell 下按照 日期 创建文件夹
主要是 % %,` ` 百分号 ,和 反引号的 使用[@more@]echo %date:~m,n% ;%%,相当于 linux中的`反引号`,都是执行里面的命令语句注意,文件名后加星期:mkdir %date:~0,20% dos里面:意思是,取 %date%命令执行,中的0~20位字符英文占1个字符,中文占2个字符
CSS超基础教程使用
CSS,或Cascading Styles Sheets中译层叠样式表或级联样式表,是样式化HTML的一种方法。[@more@]格式:“属性:值(property: value)”,而且大部分属性可以应用到HTML标签中去。有三条途径可以把CSS应用到HTML中去。内联内联样式通过style属性直接套进HTML中去。<p style="color: red">text</p> 内部样式服务于整个当前页面。在头标签head里面,样式标签style里包含当前页面的所有样式。看起来像这样:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/D
eclipse 中使用 ant 自动构建 测试
eclipse 中使用 ant 自动构建 junit测试[@more@]主要关于直接在eclipse中使用ant 的build.xml 自动完成测试的时候遇到的问题。Buildfile: C:Documents and SettingsAdministratorworkspacejsbuild.xmlcompile:test:BUILD FAILEDC:Documents and SettingsAdministratorworkspacejsbuild.xml:33: Could not create task or type of type: junit. 不能创建junit task任务Ant could not find the task or a class this task relies upon.This is common and has a number of causes; the usual solutions are to read the manual pages then
轻量级J2EE世界,你都用些什么呢??
轻量级J2EE开发必须,开源框架+JEE标准体系,全部都得用到[@more@]Struts1.2,Spring 1.3 | Spring 2.0 , ibatis 2.3 ,Hibernate ,开源框架java EE 5 , Jstl 1.2 ,jsp 2.0 Servlet 2.5 ,Web-app 2.5 ,EJB 3.0 ,JSF,Junit 4.0, Ant,Log4JTomcat 6 ,Weblogic 10,Jboss 5, 应用服务器Oracle 9i &10g , sqlserver 2000/2005, MySQL 5 ,DB2 关系数据库还有很多很多开发工具eclipse 3.2.2,+ myeclipse 5.1.1+BEA Workshop3.3 +Rational插件之王这样的工具,实在是顶级之作啊都是吃饭的家伙,个个都是重头戏,都需要学啊,努力无止境为了明
Spring 例子代码分析
Spring 例子分析,看了petclinic ,有空把流程写出,留点备忘[@more@]
Log4J日志管理类使用详解
Log4J日志管理类使用详解,java开发必备,不多说了[@more@]一、前言: log4j 是一个开放源码项目,是广泛使用的以Java编写的日志记录包。由于log4j出色的表现, 当时在log4j完成时,log4j开发组织曾建议sun在jdk1.4中用log4j取代jdk1.4 的日志工具类,但当时jdk1.4已接近完成,所以sun拒绝使用log4j,当在java开发中实际使用最多的还是log4j, 人们遗忘了sun的日志工具类。 它的一个独有特性包括在类别中继承的概念。通过使用类别层次结构,这样就减少了日志记录输出量,并将日志记录的开销降到最低。 它允许开发者
SSH流行轻量JEE开发 工程部署过程
Struts,Spring ,Hibernate,现今最流行的轻量级JEE开发必备搜刮自网络,回馈于网络[@more@]1。当然是新建一个web工程了2。先加入struts框架,再加入spring框架,最后再加入hibernate,顺序很重要。要点:要把spring的applicationContext.xml放到webRoot/web-INF下,不然汤姆猫是找不到这个文件的。(spring的包全都选上并且要放入项目中,因为不知道啥时候就会用到那些包了,放入项目是为了不用让汤姆猫再去找包,提高速度)加入hibernate的时候只要选择把hibernate的信息加入spring的applicationContext.xml就可以了,不用再另外创建原来的
jsp web应用中文化
jsp web应用中文化,包括过滤器,字符编码等 这个更好用 <%@ page pageEncoding="GBK" language="java" contentType="text/html,charset=GBK" %><%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%><%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%><%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>[@more@]web.xml设置字符过滤
JNDI 资源引用设置
DataSource,JNDI, 资源引用设置 等[@more@]1.server.xml中配置主机应用上下文 <Host><!-- <Context path="/petclinic" docBase="petclinic" debug="5" reloadable="true" crossContext="true"> <Resource name="jdbc/petclinicMYSQL" auth="Container" type="javax.sql.DataSource" maxActive="100" maxIdle="30" maxWait="10000" username="pc"
tomcat 部署到confCatalinalocalhost下配置文件
tomcat 部署到confCatalinalocalhost下的xml配置文件有时候,部署一个工程,但又不想同时启动tomcat下面webapp所有路径,干脆就这样写个配置,方便实用[@more@]<?xml version='1.0' encoding='utf-8'?><Context docBase="D:/xyz" path="/xyz" reloadable="true" workDir="D:/xyz/tomcat" />
myeclipse web project deploy 问题
myeclipse web project deploy 问题.classpath,.mymetadata,.project 配置说明[@more@].mymetadata<?xml version="1.0" encoding="UTF-8"?><project-module type="WEB" name="abc" id="myeclipse.1178701101203" context-root="/abc" j2ee-spec="1.4" archive="abc.war"> <attributes> <attribute name="webrootdir" value="Root" /> </attributes></project-module>id是唯一的,不
OEM 10g web启动问题解决方案--个人经验版
OEM 10g web启动问题解决方案 %date:~10% ---执行date 命令,并取相应长度值可赋值给其他变量`date ` ;注意反引号~下面那个,执行命令,使用管道§ |来传递[@more@]OEM 10g web启动问题解决方案拷贝 oracle_home目录下 localhost_<sid>文件夹 命名为IP_<SID>; <SID>--用实例名代替针对oracle_home/oc4j/j2ee目录,复制OC4J_DBCONSOLE 命名为OC4J_DBCONSOLE_IP_<SID>文件夹set oracle_sid=实例名emctl start dbconsole 启动OEM查看oracle_home/install目录下的 portlist.ini文件,看EM端口纯属 个人 使用总结,不
10g 应用dataguard 转
转VonGates 學習筆記 10gR2--DATAGUARD实施步骤 简单记录一个10G DATAGUARD的配置过程。[@more@]简单记录一个10G DATAGUARD的配置过程。1. Preparing the Primary Database for Standby Database CreationA ALTER DATABASE FORCE LOGGING;This statement can take a considerable amount of time to complete, because it waits for all unlogged direct write I/O to finish.B Create a Password FileC Configure a Standby Redo LogEnsure log file sizes are identical on the primary and standby databasesDetermine the appropriat
Data guard 应用 笔记
Data guard 应用 笔记,最近几天学习的结果,也不知道对了多少?[@more@]If you do not use the Data Guard broker, you must definethe LOG_ARCHIVE_DEST_n and LOG_ARCHIVE_DEST_STATE_nparameters on all standby sites so that when a switchover orfailover operation occurs, all of the standby sites continue to receivelogs from the new primary database. Configurations that you set upwith the Data Guard broker command-line interface or Data GuardManager handle the LOG_ARCHIVE_DEST_n and LOG_ARCHIVE_DEST_STATE_n d
应用dataguard 好处
应用dataguard 好处[@more@]Data Guard 和 RACData Guard 和真正应用集群是互补的,应一起使用以实现最高可用性结构真正应用集群提供了高可用性能够快速和自动地从节点故障或一个实例崩溃中恢复过来提供了增强的可伸缩性Data Guard 提供了灾难保护并防止数据丢失维护主数据库的几个事务一致的副本防止灾难、数据损坏和用户错误无需昂贵且复杂的 HW/SW 镜像Streams 和 Data Guard 是 Oracle 数据库企业版两个独立的特性,它们基于一些共同的底层技术Data Guard: 灾难恢复与数据保护事务一致的备用数据库零数据丢失自动转换/故障切换各种数