<< 十月 2006 | 首页 | 十二月 2006 >>

What is a three-tier architecture? (什么是三层架构?)

What is a three-tier architecture?

阅读全文……

标签 :

Use the Java concurrency API to speed up time-consuming tasks

Until recently, true concurrency has been impossible on most computers marketed to consumers. Most have been one-processor models capable of executing only a single thread in any given time slice. Operating systems simulate doing many things at once by rapidly time-slicing between threads, a practice known as temporal multithreading.

阅读全文……

标签 :

在网页中用iframe做下拉菜单盖住select下拉框

在网页中用iframe做下拉菜单盖住select下拉框

阅读全文……

db4o 面向对象数据库的安装使用

开源面向对象数据库 db4o 之旅 系列文章的第一部分:初识 db4o 中,作者介绍了 db4o 的历史和现状,应用领域,以及和 ORM 等的比较。在这篇文章中,作者将会介绍 db4o 的安装、启动以及三种不同的查询方式:QBE(Query by Example)、SODA(Simple Object Database Access) 以及 NQ(Native Queries),并分别通过这三种不同的途径实现了两个关联对象的查询。本文还示范了开发中最经常用到的几个典型功能的 db4o 实现。

阅读全文……

标签 : ,

Oracle SQL 优化

Oracle SQL 优化

阅读全文……

标签 :

Guard against performance issues when using Oracle9i hints and views

Used separately, hints and views are terrific tools for Oracle tuning. But used together, they can cause severe performance problems. Let’s look at what hints, views, and materialized views can do for you. Then, we'll consider when and how to use them.

阅读全文……

标签 :

Three ways to speed up SQL execution in Oracle

Oracle provides several methods for reducing the time spent parsing Oracle SQL statements, which can cause a drag on performance when executing complex queries with a large number of possible execution plans. Let’s briefly examine some of these methods.

阅读全文……

标签 :

New Oracle10g SQL optimizer hints

With each new release of Oracle, there are more tuning controls and opportunities for improving the execution speed of SQL. In an article about speeding up SQL execution in Oracle, I discussed some common SQL tuning hints and, in another article, I warned about performance issues when using SQL hints inside views.


 


Oracle tuning with hints has always been complex, and the Oracle Technical Network has a great overview into the processes of using hints to tune Oracle SQL. With the introduction of 10g database, there are many new optimizer hints available to control the optimizer behavior. Let’s take a quick tour of these powerful new hints:

阅读全文……

标签 : ,

部署yale CAS 服务器定制JDBC 数据库验证

利用CAS实现SSO技术

利用CAS实现SSO技术

阅读全文……

标签 : ,

使用 Spring 框架来改善 Oracle JDBC 访问

Spring 框架是一个在 Apache 许可下发布的 Java/J2EE 应用程序框架,它支持 J2EE 应用程序中的多个层次。Spring 框架的一个突出特性是支持更易于维护和更强健的 JDBC 数据访问。在本文中,您将了解到 Spring 框架 — 它可以和 Oracle TopLink 对象/关系映射工具结合使用 — 如何大大减少与编写 JDBC 代码相关的烦琐工作和风险。使用 Spring 框架,开发人员编写的 Oracle 数据库访问 JDBC 代码可以更为简洁、更不易出错以及更加灵活。

阅读全文……

标签 : , ,

Java Code Static Analysis(Java代码静态分析工具)

We are fortunate that in the Java world, there are many high-quality static analysis tools available for free.

阅读全文……

标签 :

Hibernate Performance Tips(Hibernate 性能技巧)

Some people I know are looking at porting their (very large) J2EE application from using a homegrown OR framework on top of Entity Beans with CMP (without CMR) to Hibernate, and they asked me for some tips. I‘m not claiming to be a Hibernate expert, but I‘ve used it on an enterprise product, added features, submitted patches, etc. so I know a bit. Since I was writing this up anyway, I figured I‘d blog it.

阅读全文……

标签 : ,

Tomcat集群和负载均衡

Tomcat集群和负载均衡

阅读全文……

标签 : , ,

High availability Tomcat

High availability Tomcat

阅读全文……

标签 : , ,

EJB fundamentals and session beans

In this article, you will learn the following:

 

  • The benefits of using EJBs
  • The three kinds of EJBs: session, entity, and message-driven beans
  • The makeup of session beans
  • How to develop session beans
  • Differences between stateful and stateless session beans

阅读全文……

标签 : ,

J2EE design decisions

In this article, an excerpt from POJOs in Action (Manning Publications, January 2006), Chris Richardson presents five questions developers must ask themselves when designing enterprise applications.

By Chris Richardson

阅读全文……

标签 : ,

Lucene FAQ

This is the official Lucene FAQ.

阅读全文……

标签 : ,

Search-Enable Your Application with Lucene

By: Craig Walls
The e-commerce Web site that I work on has seen several incarnations of its search feature. We started with plain vanilla SQL using "like" clauses, but this didn't perform well and left a lot to be desired in language features such as stemming (e.g., "paint" = "painter" = "painting") and synonym matching (e.g., "cat" = "feline"). Next we tried an off-the-shelf solution. This addressed our efficiency and language demands, but it was ridden with strange quirks and we were limited in how much we could customize its behavior.

 

Then we discovered Lucene. Lucene is an open-source search framework from Apache's Jakarta project. As a framework, Lucene provides you with the building blocks you need to build a search engine that meets your specific searching requirements. Lucene is flexible, fully customizable, and amazingly fast.

阅读全文……

标签 : , ,

Frequently Asked Questions About the Java HotSpot VM

This FAQ answers common questions about Java HotSpot Technology and about performance in general. Unless otherwise noted, all information on this page applies to both the Java HotSpot Client VM and the Java HotSpot Server VM. See also Java HotSpot Performance Documentation.

The questions and answers are divided into the following topics.

The Java HotSpot VM Architecture and Use

Benchmarking the Java HotSpot Virtual Machine

阅读全文……

标签 :

Scaling Enterprise Java on 64-bit Multi-Core X86-Based Servers

Multi-core and 64-bit CPUs are the hottest commodities in the enterprise server market these days. In recent years, as the cost and power requirement of faster CPU clock speeds has increased, the growth in raw clock speed (usually measured in megahertz) of single CPUs has slowed down. Hardware manufacturers continue to improve X86-based server performance by increasing both the multitasking capability and internal data bandwidth. Both Intel and Advanced Micro Devices are shipping 64-bit processors with two internal CPU cores, and quad core processors are soon to follow. Ninth-generation servers from Dell exploit this new generation of chips. The PowerEdge 1955 blade server, for example, supports up to two 64-bit dual core processors in a blade configuration, with up to ten such blades in a 7-rack unit (12.25") chassis.

阅读全文……

标签 :

安装Shark工作流引擎

安装Shark工作流引擎

阅读全文……

标签 : ,

用Rational Rose从对象模型(类图)转换为数据模型

用Rational Rose从对象模型(类图)转换为数据模型

阅读全文……

标签 :

Creating Images in a Java Servlet

Dynamic images are commonly used in web applications. You will find dynamic images such as charts, captcha, web site thumbnails, image thumbnails, watermarks, etc. This tutorial will give you a brief walk through on creating a simple dynamic image in a Java Servlet.
Setting up the Servlet
As with most servlets, this servlet will override the doGet() method in HttpServlet. The doGet() method will be called when an HTTP GET request is made to the servlet. We can expect an HTTP GET request when a servlet is called within an <img> tag.

阅读全文……

标签 :

Eclipse Jbuilder与app Server、Ant、VSS集成

Eclipse Jbuilder与app Server、Ant、VSS集成

阅读全文……

标签 : ,

Mysql Hibernate Struts Tomcat中文问题解决方法

Mysql 的版本经常变化,对字符集的支持也是经常变化;mysql 的 JDBC Driver的版本也经常变化,而且mysql JDBC Driver本身也不完善,不仅仅是中文问题。本文介绍一个特定环境的中文处理办法,思想是在所有的地方都一致的使用GBK编码。

阅读全文……

标签 :

Bookmarks links

阅读全文……