排序:
默认
按更新时间
按访问量

eclipse中如何写一个测试私有方法的junit?

eclipse中如何写一个测试私有方法的junit?假设类Summer定义如下:public class Summer{   private int methodone(String argsone){      //method code      .......      return 4; ...

2006-08-03 16:49:00

阅读数:943

评论数:0

Java 虚拟主机装载过程

 Java 虚拟主机装载过程简述    众所周知java.exe是java class文件的执行程序,但实际上java.exe程序只是一个执行的外壳,它会装载jvm.dll(windows下,下皆以windows平台为例,linux下和solaris下其实类似,为:libjvm.so),这个动态连...

2006-06-21 17:28:00

阅读数:760

评论数:0

tech talk 2

Geir Magnusson: I was very excited to see that the…I am a MAC user. I used to be, but they are now up to 83 Ghz. You know, they talk about a little b...

2006-06-16 10:37:00

阅读数:765

评论数:0

tech talk

Gregor Hohpe: All right, well, thanks everybody for coming bright and early. It’s 9 o’clock in Las Vegas and I actually have to get up even earlier, ...

2006-06-16 10:26:00

阅读数:1423

评论数:0

Java bytecode

Java bytecode: Understanding bytecode makes you a better programmer ...

2006-03-01 13:41:00

阅读数:852

评论数:0

Classworking toolkit: Generics with ASM

Classworking toolkit: Generics with ASM Find out how to access generic type information from Java 5 co...

2006-02-28 13:46:00

阅读数:986

评论数:0

AOP@Work: AOP myths and realities

AOP@Work: AOP myths and realities Beyond hype and misunderstandings ...

2006-02-28 13:19:00

阅读数:963

评论数:0

uncover the hood of j2ee clustering (TSS)

Preface More and more mission-critical and large scale applications are now running on Java 2, Enterprise Edition (J2EE). Those mission-critical appl...

2006-02-15 09:31:00

阅读数:865

评论数:0

Java名人录

Adrian Colyer AspectJ leader,AJDJ leader,IBM    Ben Galbraith 活跃人...

2006-02-13 17:56:00

阅读数:828

评论数:0

Eclipse快捷键

Eclipse快捷键document.title="Eclipse快捷键 - "+document.title编辑作用域 功能 快捷键全局 查找并替换 Ctrl+F文本编辑器 查找上一个 Ctrl+Shift+K文本编辑器 查找下一个 Ctrl+K全局 撤销 Ctrl+Z全局 ...

2006-02-13 14:54:00

阅读数:1064

评论数:1

Inversion of Control Containers and the Dependency Injection pattern ---- Martin Fowler

Contents Components and Services A Naive Example Inversion of Control Forms of Dependency Injection Constructor Injection w...

2006-02-13 09:36:00

阅读数:1302

评论数:0

java 的 Proxy

一 代理类 1.代理类实例和java.lang.reflect.Proxy 代理类一种在运行期创建的,实现指定的一组接口的类可以通过如下方法来获得代理类实例: java.lang.reflect.Proxy.newProxyInstance(ClassLoader loader, Class[] ...

2006-02-10 14:26:00

阅读数:1103

评论数:1

在Eclipse中安装javaJad 反编译class文件

在网上下载javajad(反编译工具),jadclipse (反编译工具的eclipse插件),配置Eclipse 1 menu->windows-->references-->java-->Jad...

2006-02-10 10:16:00

阅读数:1156

评论数:0

用于将Oracle外键屏蔽的SQL

   在JUnit时,一般不需要考虑外键。但目前数据库生成过程中已经将外键建好,这样在增删改数据时,比较麻烦。按以下方法执行,可以根据自己的需要使外键失效或者生效。 先执行以下SQL SELECT ALTER TABLE || TABLE_NAME || || disable CONSTRAIN...

2006-02-10 09:34:00

阅读数:1637

评论数:0

oracle 中查询某表的主外键依赖关系的SQL

select               ...

2006-02-10 09:01:00

阅读数:1871

评论数:0

An introduction to class loading and debugging tools

Demystifying class loading problems, Part 1: An introduction to class loading and debugging tools Lear...

2006-02-08 18:05:00

阅读数:1159

评论数:0

为你的j2ee应用增加AOP 特性

   你不需要修改现有的代码或者它的接口,应用Gang of Four (GoF) Decorator 模式提供了一种添加AOP的途径。  假设我们有一个简单的接口:public interface IMyBusinessObject {   public String doExecute(Str...

2006-02-06 15:34:00

阅读数:772

评论数:0

Generically chain dynamic proxies

Generically chain dynamic proxiesAdd AOP concepts to your application  Summary-->SummaryMost developers already know how to decorate a business ob...

2006-02-06 14:24:00

阅读数:898

评论数:0

实现你自己的AOP 框架

  AOP 是一种先进的编程理念,可以用在 日志, 安全,事务处理 方面 ,AOP 是对 OOP 的补充,是一种更通用和强大的编程思想,它可以使代码更加 简洁, 紧凑,减少重复代码。   AOP 框架可以分为两类: Class-weaving-based, such as AspectJ a...

2006-01-26 09:47:00

阅读数:2540

评论数:0

Implement Your Own Proxy-Based AOP Framework

Aspect-oriented programming (AOP) is well-suited to managing application crosscutting concerns, such as logging, security, and transaction management...

2006-01-26 09:13:00

阅读数:869

评论数:0

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