Grails development project from scratch 4

Posted on February 17th, 2010 in Java

i18n mechanism Grails provides a sound i18n mechanism, specific documentation to see if / grails-app/i18n directory will understand. The default will be generated in various languages of the propertie ...

Grails development project from scratch 3

Posted on February 17th, 2010 in Java

New Project <br /> preparatory work done, and began to create a project, here to say what, Grails scaffolding and general that the traditional development model a bit different, because it is la ...

Design Patterns: Calculator Simple Implementation

Posted on February 17th, 2010 in Java

If we are to write a calculator is not difficult: the following code But this code is far too bloated, and we want him to optimize the design patterns used to optimize the

Construction butt (2)

Posted on February 17th, 2010 in Java

For sending data encryption of data Need to send data encryption, MD5 encryption first, then encrypt the result will be converted in accordance with Appendix 1, see "China Construction Bank appen ...

jacob Use Memo

Posted on February 17th, 2010 in Java

jacob is in addition to poi outside another way of dealing with office documents, using com components com way to call the method, the most common way to invoke saveas method of using the Save or modi ...

Difference between GET and POST and usage of

Posted on February 17th, 2010 in Java

1, Get used to get the data from the server, while the Post is used to pass data to the server. 2, Get the data in accordance with the form variable = value form, added to the action by pointing to th ...

JBOSSESB Learning Summary

Posted on February 17th, 2010 in Java

Recently the company would like to use a free jbossesb, all we have to do a simple jbossesb learning, has compiled into a word document, but because the format is a problem to upload word document as ...

axis2 the entire process of creating webservice client (called. net web service)

Posted on February 17th, 2010 in Java

Operating environment: myeclipse + tomcat6 +. Net web service 1. Download axis2-1.5-bin.zip url: http://ws.apache.org/axis2/download.cgi 2. Download Axis2 and extract to a target directory 3. AXIS2_HO ...

[Original] jstl string to the weight, simple and convenient

Posted on February 17th, 2010 in Java

Recent projects using jstl tag front-end performance in dealing with the string to repeat, we can not use conventional thinking, the idea of changing species and found a very simple and efficient. Bel ...

To springside a cardiac stimulant and re-ignite the enthusiasm of SSH framework 2

Posted on February 17th, 2010 in Java

Connected to a <a href="http://lovephoenix.javaeye.com/admin/blogs/591383"> to springside a cardiac stimulant and re-ignite the enthusiasm of SSH architecture 1 </ a> The followi ...

The database is SQLServer2008, there 'limit' syntax error near the

Posted on February 17th, 2010 in Java

Exception: The reason is in the dialect of the specified error hibernate.properties Before the practice of using mysql, the current project uses sqlserver database, forgot to change, and Yun Si! PS: h ...

Future Mode

Posted on February 16th, 2010 in Java

In the mina in a wide variety of future, if you do not know that behind this future model, then the right can not be in-depth understanding of mina. What is the future model? There is a constant threa ...

The use of Java reflection and JPA wrote the 'universal' CRUD tools

Posted on February 16th, 2010 in Java

On weekends, spent nearly four hours was a 'universal' in CRUD tools, but if you want to use JPA must be carried out using ORM operations. There the object mapped to the data table when, Id fi ...

In groovy get the full path to script file

Posted on February 16th, 2010 in Java

Groovy scripts in the windows, set-Dscript.name for the script's full path. However, in the groovy web site found a bug report, it appears linux script to set this value is inconsistent with the w ...

Hibernate Tools to run Ant Task Configuration

Posted on February 16th, 2010 in Java

Hibernate Tools to Ant Task run, mainly in the Build.xml configured. Reads as follows: build.xml contents of two parts: The first part is the Path, is mainly to introduce the required Jar Pack The sec ...

2010.02.09-10 oracle training esb's PPT

Posted on February 16th, 2010 in Java

oracle training esb's PPT

Transaction Management Patterns In Brief

Posted on February 16th, 2010 in Java

There are several patterns you can take when you have faced with balances on transaction management, especially when you are using spring framework to do such things. The idea is not mine, I just give ...

servlet garbled characters appear in the solution

Posted on February 16th, 2010 in Java

servlet garbled characters appear in the solution Method 1: In the servlet code to add the start of function body: response.setContentType ( "text / html; charset = UTF-8"); request.setChara ...

SSH, see SSH

Posted on February 16th, 2010 in Java

SSH is not referred to here Secure Shell , But rather refers to Struts + Spring + Hibernate. In this regard three things that nobody stranger. Together is the mainstream model of Java Web application ...

Hibernate Tools Eclipse plug-in installation

Posted on February 16th, 2010 in Java

Hibernate Tools Description: Hibernate Tools from JBoss launched a comprehensive development tool for Eclipse plug-ins, the plug-in can simplify ORM framework Hibernate, and JBoss Seam, EJB3, etc. dev ...

Eclipse can not start the JVM terminated. Exit code =- 1

Posted on February 16th, 2010 in Java

My Eclipse version is 3.4, and open when the Bao Cuo. Error in Figure: Solution: I upload a 360 machine security guard, customs, and can be started. Do not know why the conflict.

Design Patterns: Singleton pattern

Posted on February 16th, 2010 in Java

Singleton pattern is to create an object-based model, using the Singleton pattern, you can ensure that only generated for a single instance of class as that is, the entire process space, there is only ...

Java can not handle the graphics under Linux solutions

Posted on February 16th, 2010 in Java

Java in the graphics processing is called a local graphics processing library. In the use of Java for graphics processing (eg: Photo zoom, image signatures, generate reports), if running on windows wi ...

Design Patterns: Abstract Factory

Posted on February 16th, 2010 in Java

The abstract factory pattern is that all forms of factory pattern in the most abstract and most of its general nature. Abstract factory pattern can provide an interface to the client, enabling the cli ...

Grails development project from scratch 2

Posted on February 16th, 2010 in Java

Download, install, configure Java, Groovy, Grails Meat opera come ~ As of today (February 8, 2010) The latest version is as follows: Java JDK 6 Update 17 http://java.sun.com/javase/downloads/index.jsp ...

Grails development project from scratch a

Posted on February 16th, 2010 in Java

Java Java is a language that people both good and difficult points, many people say that Java past their prime rice no? But at least in the "2010 list TIOBE language" Java is still very secu ...

Inside J2EE using log4j

Posted on February 16th, 2010 in Java

Basically, the project is currently no development is not to the log management, and the present day management of most of the projects have adopted the apache's log4j, Here's a brief look at ...

IBM SOA solutions and software products introduced PPT

Posted on February 15th, 2010 in Java

IBM SOA solutions and software products introduced PPT

JSF due to be rendered property value for the null result in a solution

Posted on February 15th, 2010 in Java

Some time ago following problems encountered with the JSF. Problem Miao Xu: Page has a radio control (h: selectOneRadio) to add ajax support (a4j: support event = "onclick" reRender ="& ...

spring 2.5.6 and hibernate3.2.2 Integration (5)

Posted on February 15th, 2010 in Java

This time, the point of hibernate tools to use this tool, ORM between the R and O have been a first, the chicken or the egg discussion, according to the habit, or even first, the database design. This ...

java multi-threaded description of the method as well as the thread to stop the study

Posted on February 15th, 2010 in Java

1. Common thread instructions visit to France Thread.sleep (long millis): thread stopped running at the specified time join (long millis): First run for some time before the child thread to run the ma ...

In the Groovy dynamic call to another Groovy file

Posted on February 15th, 2010 in Java

Looking for a long time to find a way to: GroovyShell is provided Groovy integrated Groovy in Java classes. Very much agree with the article written by this method. Groovy is Java ... ... See also: ht ...

net.sourceforge.jtds.jdbc.ClobImpl problem

Posted on February 15th, 2010 in Java

Younger brother to do the data query recently encountered such a problem: Data column value: net.sourceforge.jtds.jdbc.ClobImpl.... Background did not Baocuo, I use the valuelist query, the tracking c ...

Eclipse to use VE to develop Swing applications

Posted on February 15th, 2010 in Java

Swing is not in the mainstream Java development is not the focus of learning, but in the non-use is not the case, we are also reluctant to go hand-written interface, you can use VE to implement the dr ...

NetBeans to compile Jar files are empty

Posted on February 15th, 2010 in Java

When using the netBeans, there had been more troubled parts of things, all the jar files placed in dist / lib directory. Right netBeans to generate compile time, if it is introduced in the external ja ...

Copy Dev2Dev

Posted on February 15th, 2010 in Java

Dev2dev.us After the establishment of the first to be solved is to enrich the contents of the original dev2dev Chinese content is the goal. Fortunately, Internet backup, we have the opportunity to ret ...

To springside a cardiac stimulant and re-ignite the enthusiasm of SSH architecture

Posted on February 15th, 2010 in Java

This is a code generation tool that is absolutely not reinvent the wheel, I was in school in 2008 when the rails had been inspired by the current java open-source community, similar to the rails for r ...

Examples of spring integration quartz

Posted on February 15th, 2010 in Java

Code is relatively simple, if there is wrong with, but also look enlighten! !

struts2 value problems in the page

Posted on February 15th, 2010 in Java

The above is part of the struts.xml the contents of the configuration file. The above is an action, log on after a successful redirection using. Questions to, and I want to take ipaddr value main.jsp ...

Using Freemarker generates a static html

Posted on February 15th, 2010 in Java

Let us look at generating static html files: FreeMarker allows Java servlet to keep graphic design with the separation of application logic, which is sealed by the template HTML complete. The data pro ...

Struts2 returns xml information

Posted on February 15th, 2010 in Java

Before using struts2, each response to return all jump to the page. The requirement is to return an xml, see the struts2 document, when the result is of type xslt, you can return to xml. Xslt not fami ...

Tomcat5.5 data source configuration

Posted on February 15th, 2010 in Java

Tomcat data source configuration on the web there are a lot of relevant information, and now I bring a proven method to write down the configuration, one for your reference, secondly, to sum up. My pr ...

Apache a few fun items

Posted on February 15th, 2010 in Java

P (MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px) Apache MINA Is a network framework that allows users to easily achieve the high performance and strong expansion capabilities, include an abstract event-driven ...

Seam project to build records (1)

Posted on February 15th, 2010 in Java

1. SEAM 2.2 and still can not properly support JSF 2.0 Tried two days or Gaobu Ding, seam of the phase analysis of the jsf appeared NullPointException, in exchange for jsf1.2 no problem, SEAM official ...

Free time for the winter break - VMS 1.0.0 Release

Posted on February 15th, 2010 in Java

Piece of product is his practice hand, and is completely bored during the winter vacation for the! Video Conference Management System I gave him took the common name is no longer common, and is mainly ...

CF Perspective plug-in | Flying plug-in | Doon to plug-in | accelerated plug-ins | Through-wall plug-in to download

Posted on February 14th, 2010 in Java

Tencent has recently introduced a new game: Crossfire, a lot of people are struggling to find plug-in, but could not find one can afford to use plug-in, in order to facilitate the majority of players ...

under the nginx configuration windows and the resin

Posted on February 14th, 2010 in Java

windows and the resin under the nginx configuration Russian Chupin endorsement to nginx reverse proxy server is a substitute for one of the apache. This article focuses on the configuration of nginx a ...

Why should there be a one-way association

Posted on February 14th, 2010 in Java

http://www.java1995.cn/blog/item/113 hibernate official recommended a two-way association, then the one-way associated with what is the use? In fact, this useful useless, not from the technical direct ...

Why do you want to use Spring

Posted on February 14th, 2010 in Java

At least in my view, the introduction of spring in the project can bring the following immediate benefits: 1. To reduce coupling between components to achieve decoupling between the software layers. C ...

Spring + JPA + Struts2 developers

Posted on February 14th, 2010 in Java

The first step: in the class path following the establishment of a META-INF folder, and note that this name must not be arbitrarily changed, and then the establishment of a persistence.xml file, confi ...