-
Architecture#
使用Eclipse(MyEclipse)+ abator自动生成iBatis代码
- 日期:2011-11-03 点击:94一.安装插件Abator Abator for Eclipse Update Site This is the Abator for Eclipse update site. If you're not sure what Abator is, then see this page http://ibatis.apache.org/abator.html If you've already installed a prior version of Abator f
-
Architecture#
mule配置常用节点
- 日期:2011-11-03 点击:1321Mule-config.xml 示例模型: mule model service name="GreeterUMO" inbound.... filtering-router .... /filtering-router /inbound component.... / outbound.... ....... /outbound default-service-exception-strategy ..... /default-service-exception
-
Architecture#
mule & seda 学习四
- 日期:2011-11-03 点击:112从前,从前 程序跑的太慢,对mule有点误解 jaxb解析xml在高压力下会有互相等待的问题,可能是使用的方式不对 使用mule简单就好了,不要太复杂,任何一个功能最好分成2个stage就好(容易查找内存堵塞) mule xmlns="http://www.mulesource.org/schema/mule/cor
-
Architecture#
mule & seda的学习三
- 日期:2011-11-03 点击:74以竣工服务为例 package com.tydic.mule.component; import java.math.BigDecimal; import java.util.HashMap; import java.util.Map; import org.springframework.orm.ibatis.SqlMapClientTemplate; import com.tydic.framework.utils.spring.SpringContextU
-
Architecture#
mule & seda 学习二
- 日期:2011-11-03 点击:190mule的jdbc,配置seda以及vm的初步认识 java类 package com.zxgllhh.jdbc; import java.util.Map; public class NumberServiceComponent { public NumberServiceComponent(){ } public Object process(Object vm) throws Exception{ Thread.sleep(5000l); Sys
-
Architecture#
springside 3 的/account/user.action问题
- 日期:2011-11-02 点击:961.未登录前,/account/user.action会自动被spring security 拦截, s:form-login login-page="/login.action" default-target-url="/" authentication-failure-url="/login.action?error=true" / 跳转到/WEB-INF/content/login.jsp. 这是个无需配置的action ,
-
Architecture#
Spring3.0MVC和Hibernate基于annotation注解的整合
- 日期:2011-11-02 点击:143http://xlaohe1.iteye.com/blog/1139028 一下代码不完整的,可参考 http://blog.csdn.net/jlh2/article/details/4807801 springmvc和hibernate的annotation集合: 首先web.xml Xml代码 ?xml version="1.0" encoding="UTF-8"? web-app xmlns:xsi="http://www.w3
-
Architecture#
纠结html5,向左还是向右?
- 日期:2011-11-02 点击:166近几年一直在开发企业管理软件,服务器端的J2EE架构一直比较稳定,但客户端时刻都在变化。 在最早几年,客户端一直是以IE为标准,并且大部分应用仅支持IE客户都能接受,因为客户操作系统清一色的XP。 最近2年从平板电脑,智能手机火起来的时候起,跨浏览器跨
-
Architecture#
Spring,Hibernate注解
- 日期:2011-11-02 点击:184context:component-scan /指定Bean扫描的包,多个包逗号隔开,任何标注了@Component,@Controller,@Service,@Repository的类, 都会被自动识别为bean。 Spring2.5 注解介绍(3.0通用) http://www.iteye.com/topic/973726 参考: 参考: http://sducxh.iteye
-
Architecture#
使用struts拦截器需要注意的一个小问题
- 日期:2011-11-02 点击:77!-- 注册拦截器 -- interceptors interceptor name="right" class="com.cap.util.RightInterceptor" / interceptor-stack name="rightStack" !--指定我们定义的拦截器-- interceptor-ref name="right" / !--一定要指定struts默认拦截器-- interceptor-ref na
-
Architecture#
Spring 在配置中使用*.properties
- 日期:2011-11-02 点击:165http://www.blogjava.net/wmcoo/articles/333345.html ?xml version="1.0" encoding="UTF-8"?beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework
-
Architecture#
nginx
- 日期:2011-11-02 点击:1301. http://library.linode.com/web-servers/nginx/configuration/front-end-proxy-and-software-load-balancing 2.
-
Architecture#
JAVA重构
- 日期:2011-11-02 点击:116重构(Refactoring)就是在不改变软件现有功能的基础上,通过调整程序代码改善软件的质量、性能,使其程序的设计模式和架构更趋合理,提高软件的扩展性和维护性。 也许有人会问,为什么不在项目开始时多花些时间把设计做好,而要以后花时间来重构呢?要知道一
-
Architecture#
'注解实现,报错sessionFactory' or 'hibernateTemplate' is req
- 日期:2011-11-02 点击:54http://songfantasy.iteye.com/blog/656082 @Repository("loginDaoImpl") public class LoginDaoImpl extends BaseDao implements LoginDao { @Autowired public void setSessionFactoryOverride(SessionFactory sessionFactory) { super.setSessionFactory(s
-
Architecture#
在spring中配置多个数据源,并实现动态切换
- 日期:2011-11-02 点击:124在spring中配置多个数据源,并实现动态切换 朋友遇到的问题,整理好了,我觉得不错,贴出来分享下。 spring中xml文件中的配置: bean id="dataSource1"class="com.mchange.v2.c3p0.ComboPooledDataSource" property name="driverClass"valueoracle.jdbc.drive
-
Architecture#
转载 dom4j校验dtd文件不生效
- 日期:2011-11-02 点击:178jdom 或 dom4j读取xml文件时如何让dtd验证使用本地dtd文件或者不生效一、写在所有之前:因为dom4j和jdom在这个问题上处理的方法是一模一样的,只是一个是SAXBuilder 一个SAXReader,这里以jdom距离,至于dom4j只需要同理替换一下就可以了。二、问题发生的情
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史