instances (RSS)

Tomcat multi-port, multi-virtual host configuration

Tomcat greater use in the development environment, but sometimes also done production environment. In a production environment will be encountered more needs to be placed in a tomcat multiple sites un ...

HIbernate in line with Java custom relational database persistence of instances of state

An instance of a persistent class can be in one of three different states. These states are defined in relation to a persistence context. The Hibernate object is the persistence context. The three dif ...

Javascript Construction category

This article is reproduced in: http://ttitfly.javaeye.com/blog/193663 Construction of javascript in 4 major ways 1. Tectonic defined category 2. Prototype defined category 3. A combination of structur ...

From shallow to deep understanding of JavaScript category

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ...

way to generate primary key hibernate

Key Generator Primary key generator optional Description: 1) assigned Primary key generated by the external process is responsible for the need to participate in Hibernate. 2) hilo Through the hi / lo ...

The effect of beautiful css tab Guinness

http://www.roredu.com/rubyrails/2008/07/24/css-nav/ ruby on rails framework web2.0 integration of a large number of results, combined with a large number of websites now use the effect tab, we have to ...

JavaScript's Function (function) object

Function object in JavaScript is a function of the use of function is divided into 3 categories: The logic of the code as an ordinary container; As object methods; As a constructor. 1. As a general lo ...

Spring2.5 IoC container and the bean

Introduction org.springframework.beans and org.springframework.context package is based on Spring IoC container. BeanFactory provides the configuration framework and basic functions, ApplicationContex ...

javascript create object

Transfer from: http://ttitfly.javaeye.com/blog/193663 1. Tectonic approach advantages: multiple instances of the object does not share the kind of property values, disadvantage: Each instance of the o ...

javascript access to the html dom element node Ways summary

At Web application development in particular Web2.0 often to access a page element, then update the elements of style, content, etc.. How to obtain the elements to be updated, is the first problem to ...

Examples of user register ROR (1)

This section is to do user registration example RegisterDemo, Record ROR development of the general flow. DB Prepare ※ ROR family of all instances will use Mysql, installation and testing of environme ...

Ruby's Magic Notes II study meta-programming

meta-programming 1, Create a object on the fly. We have created a vacuum-type Person, now we want to add point method: OK, we open this category: We found that p1 can use who? This way. We use another ...

Ruby Medium Module

Constant use of module: module name:: constant name The definition of modules with module ... end. Module with the type is very similar to, but: A) module object can not have instances; B) modules can ...

In the Windows platform using Apache2.2 and Mongrel running Ruby on Rails

First, install Ruby, rails, mongrel and Apache2.2 Rubyforge download from the web site One-Click Ruby Install, run setup on installed ruby and rubygems. Run the command: gem install rails-y gem instal ...