target (RSS)

Grails development project from scratch 3

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 ...

Proficient in reading notes Hibernate

Generated Java classes Use the hibernate tools (hbm2java) Custom types associated with Achieve the UserType interface or CompositeUserType Interface Association expanding collection Chapter V complex, ...

Use JSON to send data to the server

Has done so much, you are more comfortable to use JavaScript, and perhaps in the model to consider more information on the browser. However, after reading the previous example (the use of XML to the s ...

Ajax dynamic loading tree menu

Recently, the company requires a dynamic loading of the tree menu, first open the page when loading the first level node, point to the first floor with Ajax after any node to the node under the dynami ...

java face questions and answers (122 questions based on code title 19)

JAVA based on knowledge-related 1, object-oriented aspects of the characteristics of which 1. Abstraction: Abstract is a neglected topic has nothing to do with the current goal of those aspects in ord ...

JUnit framework for design and use of design patterns

JUnit framework for design and use of design patterns Translation: Yong-Jun Hu hu.yong.jun @ ctgpc.com.cn be added [] Original: JUnit A Cook's Tour, see www.junit.org JUnit framework for design an ...

Javascript second day

1, the target with the conversion between basic types: No matter when, but the object is not empty, in the environment for Boolean true. Such as; new Boolean (false); new Number (0); new String (" ...

The first day of Javascript

container.appendChild (mes); document.body.appendChild (container); var newpara = container.cloneNode (true); / / true and false distinction document.body.appendChild (newpara); var newpara = containe ...

attributes the use of an example prototype

attributes the use of an example prototype Author: Cloud.L date :2007-09-27 Font size: small in large prototype in IE 4 and later for the introduction of a certain type of object in the method, and is ...

ruby visit website (to deal with the Chinese url)

1 require 'open-uri' 2 require 'net / http' 3 require 'iconv' 4 require 'uri' 5 6 src1_file = "place_file.txt" 7 src2_file = "things_file.txt" 8 sav ...

hibernate bug

Reprint please specify the source (the contents of the article must be retained at the end of dotted line) in hibernate query statistics when the bug For example, String sql = "select count (*), ...

flex and java IDE (based on eclipse)

A development environment: eclipse3.3 + myeclipse6 + FB3_WWEJ_Plugin (eclipse plugin flex the) + lcds (LiveCycle Data Service) + tomcat6 Second, the project process: 1, a new project FlexLCDS a, pop-u ...

maven2: created from the archetype of existing projects

Recent spring2.5.6 + hibernate3.2 + struts2.0.14 do projects, so use the framework of the project is the most troublesome ghosts to build the basic prototype of the project, in order to not have in th ...

js learning events

Event is part of DOM, DOM Level1 in any event not defined in the Level of a small part of the definition of a subset of the complete event is provided in the Level3, the standards finalized in 2004. M ...

Upload file false AJAX

First of all, that is to say can not be achieved ajax upload, you can think about ajax and background communications through the transmission of the string, how can transfer documents? In fact, for se ...

Development of clusters based on the Nutch Search Engine

Document options <script type="text/javascript"> </ script> Print this page <noscript> </ noscript> <! - START RESERVED FOR FUTURE USE INCLUDE FILES - ><!-- ...

JDBC package (b)

1. How to design a VO Scenes such as the JDBC package (a), what fields the table, VO in any field there, the key is how to design the relationship between employees and departments such as the 1 on th ...

JDBC package (c)

1. How to design a VO Scenes such as the JDBC package (a), the relationship between objects contained by including the target to achieve. 2. How to design database tools DBUtil The use of JDBC package ...

JBoss EJB 3.0 Chapter EJB pool and cache

JBoss EJB3.0 RC6-PFD http://www.jboss.org/jbossejb3/docs/reference/build/reference/en/html/index.html 1. Session Bean and MDB 1.1 Pooling Stateless bean oil, and an example of MDB pool. Standard equip ...

JBoss EJB 3.0 Sixth Chapter 6 Special Service

JBoss EJB3.0 RC6-PFD http://www.jboss.org/jbossejb3/docs/reference/build/reference/en/html/index.html Expansion of 6 EJB 3.0 6.1 @ Service EJB @ service bean singlone, no examples of pool (the only so ...

"integration testing" really is a conspiracy?

InfoQ China has JB Rainsberger published an article entitled JB Rainsberger: "integration testing is a conspiracy" JB made the definition of integration testing, integration testing that is ...

js form validation control code Guinness

Keyword: js form validation Book, using JS to control form submission, javascript submit form: Contents: 1: js string length to determine the length of characters, js restrict the importation, restric ...

Step-by-step learning Ruby (9): Ruby Regular Expression (I)

Recommend a first-line Ruby regular expression editor http://www.rubular.com/ Ruby's regular expressions of "/ /" as the constructor. Expression of the target returns a RegExp. General r ...

Javascript in String.replace () Magical Effect

String.replace () Introduction Syntax: regexp: replace operation you want to perform regular expression, if a string is passed, it will be treated as ordinary characters to deal with, and only the imp ...

Hibernate Study Notes

Attribute on the bean in the scope of the problem. (Hide some of the attributes and at the same time want to be able to draw up hibernate) Sometimes, we do not want to allow storm exposed some of the ...

difference between ie and firefox js points

Although the use of JavaScript in history is long and annoying to the subject of a specific block of time the browser has come to an end, but the occasional use of some simple code block and object de ...

Between FF and IE differences 7 JavaScript

Although the use of JavaScript in history is long and annoying to the subject of a specific block of time the browser has come to an end, but the occasional use of some simple code block and object de ...

jmock unit testing

JMock is to help create a mock object tool, which is based on Java Development, testing and development in the Java environment has unparalleled advantages, but more importantly, it greatly simplifies ...

On the java: comp / env

try ( Context ctx = (Context) new InitialContext (). Lookup ( "java: comp / env"); ds = (DataSource) ctx.lookup ( "jdbc / test"); conn = this.getConn (); ) catch (Exception e) ( Sy ...

Finishing the principles of software development knowledge

Finishing the principles of software development knowledge Maintainability Support System (Maintainability), to enhance reusability of the system (Reuseability) ---------------------> For object-or ...

hibernate lazy

Could not initialize proxy - the owning Session was closed Hibernate session is closed because, as a result of lazy = true, action call session.load () has been the target is free and can not be chang ...

妙用javascript (1)

1: in the vicinity of the complex FRAME page to OPEN a form (of course you do not have what parent.parent)   function checkuser (name) ( window.open ( "about: blank", "zhutong", &# ...

Principle and Application of Three Ajax (send request and response dealing with the general steps)

First, create the XMLHttpRequest object, we can then, through its properties and methods of sending and processing of HTTP request, send the request and response dealing with the general steps are as ...

js preview image

IE6, you can easily use the src attribute img achieve local picture preview, however, in IE7, but this approach does not work. Need AlphaImageLoader -- -- Description: Borders in the container object ...

Introduction Compact design - the construction of error-free software

Thanks to the translator's hard to pay, but also thanks to the wisdom of sharing original author. Reprinted from Mr: http://softwarepractitioner.org/translations/meyer/contract.shtml ============= ...

java package design principles

A typical J2EE project, package design has matured through the routine, such as the two domain, dao, service, action, etc., functions have been decomposed and clear comparison of a single, circular to ...

AJAX development brief (Part II)

Then return to the designated server when the client information is handled. Just the name of the handler assigned to the onreadystatechange property of XMLHttpRequest object it. For example: http_req ...

So that the output SQL statements Hibernate configuration parameters

In J2ee applications, if the Hibernate framework, you can automatically create a database with Java entity class entity mapping relationship between the procedure would greatly facilitate persistent J ...

JavaScript must understand the issue of the interview

1. JavaScript objects. Object in JavaScript is a set of data collection of key-value, somewhat similar to Java in the HashMap, all of these data is Object's property. Normally, JavaScript object u ...

Project manager and product manager for the difference between

From: http://blog.donews.com/bigcarp/archive/2009/04/19/1487068.aspx There is a saying that is very insightful: Product Manager - would like to rely on. Product manager is doing the right things, his ...

learning hibernate Notes (a)

Attribute on the bean in the scope of the problem. (Hide some of the attributes and at the same time want to be able to draw up hibernate) Sometimes, we do not want to allow storm exposed some of the ...

javascript object-oriented technology infrastructure (c)

Function javascript function I believe we all wrote a lot, so we only briefly outline here. Create a function: function f (x) {........} var f = function (x) {......} These two forms of the above can ...

No Hibernate Session bound to thread

No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here spring + hibernate insert data, the above error occurred. Solution: join the transaction p ...

Stored procedure

when the sql statement before the implementation of the compiler, and then implementation. Stored procedure (Stored Procedure) is a set of specific functions in order to complete the set of SQL statem ...

DWR push technology in the development issues require attention ScriptSession

1 on ScriptSession At the same time ScriptSession not create HttpSession When we visit a page, if this is the first time to visit, it will create a new HttpSession, after the time of the visit will be ...

Remodeling? Test? TDD? Ant?

Surprise, and today spent more than half a day, read the "test-driven development", of course, also need time to digest, so why there are several reconstruction, or a bit confused. . To join ...

AJAX + XML-based XLoadTree dynamic loading of components of the document tree JS

Tree node has recently started to load and read a good article, look around them to share BeanSoft evaluation: This component tree is not perfect, but it is based on self-object-oriented, based on the ...

javaeye message box div ext

javaeye message box div ext

JDBC

<! - / * Font Definitions * / @ font-face (font-family: Song; panose-1: 2 1 6 0 3 1 1 1 1 1; mso-font-alt: SimSun; mso-font-charset : 134; mso-generic-font-family: auto; mso-font-pitch: variable; m ...

Learning Strategy Design Pattern mode Strategy

1. The concept of Strategy Mode is a method of packaging and put the responsibility of the use of algorithms and algorithm itself separated from the target assigned to a different management. Strategy ...