- 博客(46)
- 收藏
- 关注
原创 create XMLHttpReauest Object
This is the text to describe how to create a XMLHttpRequest object.To create an XMLHttpRequest object:Open the desired XHTML file.Enter the opening script tag.To create an XMLHttpReq
2011-11-11 17:15:58
253
原创 handle xml response
function handleResponse(){try{if(http.readyState == 4 && (http.status == 200)){var response = http.responseXML.documentElement;var node;node = response.getElementsByTagName("Article");var
2011-11-11 16:46:05
360
原创 AJAX Json Object
This is the text to descibe how to use AJAX edit the page list. Json dojo ArrayList critical object:1. jspsrc="/js/dojo-toolkit-1.4.1/dojo/dojo.js">src="/js/json2.js">src="/js/j
2011-11-09 09:16:56
356
原创 path on c
https://compass.learning.cognizant.com/psp/ELM90PRD/EMPLOYEE/ELM/h/?tab=DEFAULT
2011-11-03 14:07:13
155
原创 Dos
net use \\ip\ipc$ " " /user:" " 建立IPC空链接 net use \\ip\ipc$ "密码" /user:"用户名" 建立IPC非空链接 net use h: \\ip\c$ "密码" /user:"用户名" 直接登陆后映射对方C:到本地为H: net use h: \\ip\c$ 登陆后映射对方C:到本地为H: net use \\ip\ipc$
2011-10-26 16:28:05
96
原创 Regex pattern email
This is the text describe how to write the email regex pattern.Email Regular Expression Pattern^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$^ #st
2011-10-25 18:40:43
215
Struts Validator framework
This is the text that describe how to use Struts Validator framework.
2011-10-18 12:55:32
118
原创 Calender Component
This is the text that describe how to use calender component.1. JSP Code:/public/scripts/CalendarControl.js">/public/css/Calenda
2011-10-17 16:52:00
141
原创 SQL server 2005 sequence implement
This is the text that describes the sequence in SQL server 2005.Table Name:MG_SEQUENCE_KEYIndexDatab
2011-09-20 09:57:43
129
test
package com.metlife.ins.product.metguard.util;import java.io.InputStream;import java.util.Enumeration;import java.util.Properties;im
2011-09-19 20:33:17
114
原创 quartz scheduler job
This is the text that describe how to use quartz to create a schedule job in java application 1. web.xml add SchedularLauncher listen
2011-09-14 22:35:40
121
原创 Junit test
This is the text that describes test driven developent.1. Add a test folder under java resources and add the test folder as a resource
2011-08-31 23:41:01
130
原创 log4j with Websphere
This is the test that describes how to configure the log file path in Websphere administration console.
2011-08-31 23:39:13
85
原创 Configure the Websphere datasource
this is the text that describe how to get database connection by JNDI1. JDBC providers and data sources need to be configured in websp
2011-08-31 23:36:27
82
原创 How to invoke the procedure in informix database
this is the text that describes how to make a procedure call to informix database.
2011-08-31 23:31:38
80
原创 How to invoke the procedure in SQL server 2005
This is the text that describes the procedure call of SQL server in java side.public static final String GET_NEXT_KEY ="{call NEXT_KEY
2011-08-31 23:29:02
85
原创 the different between adapter partten and bridge partten
This is the text that describes the diffferent between adapter and bridge pattern.
2011-08-31 23:26:23
113
原创 startegy design pattern
This is the words that describes the startegy des
2011-08-31 23:24:38
186
原创 Proxy design pattern
This is the words that describes the proxy design pattern.
2011-08-31 23:23:02
87
原创 web service client
The class that send the web service request and get the web service response.
2011-08-31 23:19:50
72
原创 web service response soap message
wrap the web service soap response to a self defined objectpackage com.metlife.ins.product.metguard.service.impl;import java
2011-08-31 23:17:48
100
原创 web service --- request soap message
wrap the web servicesoap request to a self defined object.package com.metlife.ins.product.metguard.service.impl;import java.util.Map
2011-08-31 23:16:31
82
原创 中间件的概念
中间件: 中间加一层,将业务逻辑和后台数据绑定起来。 用户访问数据的时候不是直接从后台数据库去,而是通过中间件拿。 这样安全性更高。 感觉有点像软件构件里面的表驱动法的复杂版本,通过表的索引去直接、准确而快捷的访问实际的数据。
2010-01-29 16:13:00
443
原创 EBS 杂七杂八
自助和审批 -- login asistance/ 预置服务 ---- 授权管理 ---- 秘书代理管理系统 基于职责的访问控制 ----RBAC 1.用户对于应用产品的访问是由授予的责任(角色)决定的2.权限是基于分配给用户的职责隐含继承的 数据安全性 --限制对菜单屏蔽后和菜单上数据的访问 功能安全性 --限制对菜单的访问但不
2010-01-11 15:31:00
462
原创 EBS summary
设置和管理安全性相关的功能 --不同的角色,使用不同的系统界面,其实是在同一个系统啦设置和管理并发处理 -----并发的数据量大, 一秒中百万上下设置弹性域oracle flow的基本原理--万变不离其宗 应对不同的角色,不同情况, 处理实用oracle application manager 管理系统设置和管理配置文件选项,打印机、文件夹和其他功能--
2010-01-11 09:50:00
318
原创 Oracle EBS on track
Oracle电子商务套件是一套最全面的集成化全球业务管理软件。它提供: 最完整的集成化商务智能组合 最具适应能力的全球业务平台 最以客户为中心的管理软件战略 “在当今的经济环境下,客户可能不愿对其核心运营系统实施大规模升级。无需升级即可在短期内快速实现价值被视为构建战略性IT路线图和为实现长期成功打下基础的有效方法。”AMR Research公司首席研究官布
2010-01-07 16:52:00
515
原创 Oracle database link and synonym
create database link WWMD_LINKconnect to WWMD_USER identified by GMME1PCusing CDWIT301查看已经定义的database linkselect * from dba_db_links;这种方式可以查看到database link定义信息select * from dba_objects wher
2010-01-07 15:09:00
1601
原创 bubble sort
//public static void bubbleSort(int[] number){ boolean status= true; for (int i=0 ; i status = false;
2010-01-06 20:48:00
105
原创 Hibernate many to many
用Hibernate来处理一些对象及其相互关系,使用得当的话,往往能让设计和实现简单、明了。 这里记录了一种多对多的实方式。 Hibernate是用于java的开源的对象/关系映射工具,她让我们对数据的处理更加抽象和简单。 这里假设一个CustChanl 可以属于多个CustChanlGrp, 一个CustChanlGrp可以包含多个CustChanl,即他们是many-to
2009-12-20 15:10:00
915
原创 单元测试(Spring Dao Junit)
为了然前端的开发能解除后顾之忧, 对Dao的单元测试还是很有必要的。 测试的原则是:1.测试代码和源代码分离;2.测试数据尽量不影响数据库的数据,特别是insert,delete和update操作; 测试目录结构:--src--test --test和src有相同的文结构,但是不能有相同的.java文件.说明:test包和src包建在同一级
2009-11-26 13:55:00
1164
原创 spring 管理DAO
通过spring容器注册并管理DAO: 在applicationContext.xml中先把dao注册好: 在action或是服务层就可以直接定义一个相应的dao: ProftCtrAssocDnormDao proftCtrAssoc
2009-11-17 10:59:00
621
原创 placeholderResolver
在applicationContext.xml中定义一个bean,如下: PlaceholderResolverImpl类负责将属性配置文件(project.properties)中配置的系统变量解析成相应的值,详细见附件1.例如:table.applicationParameters=APPL_PARM hibernate的映射文件中的tabl
2009-11-16 19:13:00
962
原创 jboss portal(Content management systems)
portal的CMS一般管理的是静态的内容,主要包括html、htm等为后缀的页面或者一些静态的图片等等。 利用CMS可以创建目录、创建文件、上传并管理文件和管理安全性等。 访问方法是: http://localhost:端口/portal/content/目录/文件如:http://localhost:8080/portal/content/default/index.html
2009-10-29 13:39:00
398
原创 jboss portal(AJAX)
AJAX是一种客户端和服务端的异步传输的技术,基于javascript中的XMLHttpRequest对象的一个实例xmlHttp。他所达到的效果是客户端提交一个请求(通过xmlHttp)给服务器,服务器处理完请求后,把结果返回到客户端,客户端可以获取返回的结果(通过xmlHttp),更新客户端页面的某一特定的部分。具体点说就是,客户端提交的请求,返回结果不用刷新整个页面(比如只更新页面上
2009-10-29 08:06:00
442
原创 jboss portal (个性化定制)
个人觉得jboss portal的个性化定制其实不简单,知道两个默认的用户admin/admin和user/user,然后admin登录进去就可以进行最简单的定制了,这个主要是layout,threme等的定制了;如果要页面头部的一些显示,图片等就得修改header.jsp,tab.jsp等一些实际的文件了,甚至可以添加一个自己写的threme如果对现有的threme不能满足的话。
2009-10-28 21:20:00
593
原创 jboss portal (基于jsp的portlet,JSF)
越来越感觉,portlet和servlet有很多相似之处,特别是与jsp结合起来用的时候。 jsp可以提交请求给portlet,portlet用doXXX(doProcess,doView,doEvent等)函数处理请求,调用相关的业务逻辑处理函数,最后又转到指定的某个jsp;jsp可以提交请求给servlet,servlet也用doXXX(doGet,doPost等)函数处理请求,
2009-10-28 20:12:00
979
原创 jboss portal(API 如何与web容器交换和传递数据)
jboss portal API 如何与web容器交换和传递数据呢? 首先,我明白的是servlet和portlet是两个完全不同的东西,他们各自独立,自成体系。比较一下定义: public class VicPortlet extends GenericPortlet {...... public class FrontControllerServlet extends
2009-10-27 13:04:00
731
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人