- 浏览: 153677 次
- 性别:
- 来自: 上海
最新评论
-
jc_dreaming:
...
几种获得spring里注册Bean的方法 -
x492016665:
非常感谢楼主.
Spring 2.0中 AOP的编程 -
wwjjkk:
调了半天,不知道错在哪里,原来是少jar包,太感谢了
Spring 2.0中 AOP的编程 -
lonelybug:
我到现在还是对,不关心是那个对象,而是这个对象所拥有的属性有点 ...
读《Domain-Driven Design Quickly》笔记 -
icoo1985:
太感谢楼主了,在网上搜索的半天,终于在您这里看到答案了,问题解 ...
Spring 2.0中 AOP的编程
文章列表
//获取数据表结构 public static void getConnAndTableStruct(){ Connection connection = null; PreparedStatement pstmt = null; ResultSetMetaData rsmd = null; try { //mysql连接 Class.forName("org.gjt.mm.mysql.Driver"); connection = DriverManag ...
- 2007-09-13 16:38
- 浏览 7357
- 评论(0)
In the following section, we are going to compare the various features between the two frameworks. Struts 2.x is very simple in comparison to the struts 1.x , few of its excelling features are:1. Servlet Dependency:Actions in Struts 1 have dependencies on the servlet API since the HttpServletReq ...
- 2007-09-13 13:40
- 浏览 1505
- 评论(0)
http://struts.apache.org/2.x/http://www.blogjava.net/max/<o:p> </o:p>Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to streamline the full development cycle, from building, to deploying, to maintaining app ...
- 2007-09-12 15:17
- 浏览 941
- 评论(0)
Spring 2.0中 AOP的编程:方式一:publicclass User { publicvoid method() { System.out.println("in method1"); }}publicclass LogBean { public Object aroundLogCalls(ProceedingJoinPoint joinPoint) throws Thro
- 2007-09-04 15:03
- 浏览 13840
- 评论(6)
作者 Rod Johnson 译者 张凯峰 发布于 2007年7月11日 上午5时22http://www.infoq.com/cn/articles/spring-2-intro 写得太好了
- 2007-09-04 09:06
- 浏览 728
- 评论(0)
1. 先在myeclipse中集成好weblogic:(1)选择菜单Window->Preferences->MyEclipse->Application Servers->Weblogic 8,配置项目如下:BEA home directory: 选择Bea的安装目录Weblogic installation directory:现在BEA下面的weblogic81目录Admin username:输入上面在配置过程中设的用户名Admin password:输入刚才设的密码Execution domain root:选择BEA下user_projects\d ...
- 2007-08-31 09:31
- 浏览 3538
- 评论(0)
对于JAVA系统中的定时操作有两种实现方式(针对oarcle):1. 通过程序在应用层实现,如quartz,Timer等如在spring中: <bean id="abcJobDetail" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"><o:p></o:p> <property name="targetObject"><ref
- 2007-08-30 11:09
- 浏览 981
- 评论(0)
Messaging and developing MDBs1.Message-oriented middleware is software that enables asynchronous messages between system components.(消息中间件是能在各系统组件间传递异步消息的软件。)2. ■ The MDB class must directly (by using the implements keyword in the class declaration) or indirectly (through annotations or descriptors) ...
- 2007-08-28 15:34
- 浏览 947
- 评论(0)
1.Three primary techniques in EJB 3 eliminate these sources of complexity: metadata annotations, minimal deployment descriptors, and dependency injection. 2.The primary goal of dependency injection (DI) is to make componentinterdependencies as loosely coupled as possible.3. Unlike stateless sessio ...
- 2007-08-28 11:16
- 浏览 1068
- 评论(0)
参考:http://www.ccw.com.cn/soft/apply/programming/htm2006/20061213_229656_5.shtml写得很好!
- 2007-08-27 16:40
- 浏览 1481
- 评论(0)
j2me手机开发入门<1> 下载 eclipse3.2 \ j2me_wireless_toolkit-2_1_01-windows.exe\ eclipseme1.6.8并安装//使用eclipse3.1有点问题 <2>重新启动eclipse,点击 windows ->选择 preference ->选择 j2me ->选择 Device Managment ->点击import ->选择 Browes ->选择 jwtk2.2的安装目录->点击 Refresh-->finish.<3>开启测试项目 ,重新启动 ...
- 2007-08-24 15:26
- 浏览 1127
- 评论(0)
Collection List Set Map 区别 有序否 允许元素重复否 Collection 否 是 ...
- 2007-08-24 09:20
- 浏览 1833
- 评论(0)
1. 利用XFire将http://www.webservicex.net/globalweather.asmx?wsdl 天气预报的webService生成相应的客户端程序。具体步骤见”XFire根据WSDL生成客户端程序” http://blog.csdn.net/pengchua/archive/2007/08/02/1722156.aspx2. 写调用Test.javapackage net.webservicex; import java.util.Properties; import org.dom4j.DocumentException; import xml.TestXML; ...
- 2007-08-23 10:07
- 浏览 6479
- 评论(0)
一.常用解析XML方法:1. Xerces-J: http://www.apache.org/dist/xml/xerces-j/ one of the most commonly used XML parser, from the Apache Project. http://xml.apache.org/xerces-j/index.html Xerces是由Apache组织所推动的一项XML文档解析开源项目,它目前有多种语言版本包括JAVA、C++、PERL、COM等。 2. JDom JDOM是一种面向Java的读、写和 ...
- 2007-08-23 09:55
- 浏览 1866
- 评论(0)
使用xfire的eclipse插件提供的代码生成工具,根据WSDL生成的代码测试时出现异常: Exception in thread "main" org.codehaus.xfire.annotations.AnnotationException: Service class cannot be abstract: com.webserviceproject.xifre.echoimplservice.EchoImplServicePortType at org.codehaus.xfire.annotations.AnnotationServiceFactory.ass ...
- 2007-08-22 16:32
- 浏览 2017
- 评论(0)