Posted on February 14th, 2010 in Java
The first step: In the Spring configuration file by adding the following, with corresponding parameter changes, the red part is the statement using the Hibernate second-level cache, the first one to d ...
Posted on February 14th, 2010 in Java
It took a long time, and finally somehow, in this contempt for all kinds of mess of assorted forums, found the article a lot, not a few original, are in turn change the past, and many of the steps are ...
Posted on February 14th, 2010 in Java
1.CGLib dynamic proxy First, import the development kit: cglib.nodep.jar and Junit.jar Implementations with the JDK or less the same for the convenience of everyone reading the full implementation of ...
Posted on February 14th, 2010 in Java
Dynamic Proxy design pattern is 23 a very common one, often look for the development of rights management systems, Spring in the AOP is the dynamic proxy approach, the following will describe Sun' ...
Posted on February 14th, 2010 in Java
The subject of a roundabout to require the digital matrix Java code int i = 5; 12345 161,718,196 152,425,207 142,322,218 131,211,109 int i = 6 123,456 20,212,223,247 19,323,334,258 18,313,635,269 173, ...
Posted on February 14th, 2010 in Java
Work needs, came into contact with FreeMarker, Google for a long time, saw some of 2007's 2008 blog post and feel are more suitable for entry. But the depth is not too few. Of course, now is the y ...
Posted on February 14th, 2010 in Java
For the sping applications, has been taking it seriously enough, now. Today, doing a spingMVC example of a time when, web.xml on the spring parameters for the listener configuration throws an exceptio ...
Posted on February 13th, 2010 in Java
import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.Vector; public class DBPool ( private static String userName = "c ...
Posted on February 13th, 2010 in Java
Using the relationship between man and identity Person class has three attributes IdCard class has three attributes The first case, the primary key association (person class positioning the main table ...
Posted on February 13th, 2010 in Java
The use of the relationship between departments and staff Department (Department) has three attributes, set the get and set methods Employees (Employee) also has three attributes, respectively, get an ...
Posted on February 13th, 2010 in Java
The DbUtils is a simple ApacheCommos easy to use lightweight tools for database operations, the project's home page is: http://commons.apache.org/dbutils/, information about it can get from there. ...
Posted on February 13th, 2010 in Java
java of the Class to get a relative path, absolute path method
Posted on February 13th, 2010 in Java
Has been unusual problems. To write about some of their own views. Many involve a number of commonly used java development framework. spring framework for all of the sql, or Hibernate Exception conver ...
Posted on February 13th, 2010 in Java
Quote: JSP_Servlet_JavaBean Quick Start (1, JavaEE Overview) 1. What is a Servlet? Servlet (Java server applets) using Java server-side program written in is determined by the server-side calls and im ...
Posted on February 13th, 2010 in Java
1, design the user-related entity class Points Rank categories: Knowledge Tip: @ GeneratedValue that is automatically selected from the jpa Identity field generating strategies; @ OneToOne (cascade = ...
Posted on February 13th, 2010 in Java
Nepal may be encountered at work need to obtain one or a number of variables inside the http response, this time the role of regular expressions are embodied, and in general work, a lot of use to the ...
Posted on February 13th, 2010 in Java
I think this web site for beginners with cvsnt and the eclipse is the best interpretation: http://www.360doc.com/content/05/0803/22/73_4459.shtml
Posted on February 13th, 2010 in Java
JBPM4.3 Use Installation and Integration Directory Structure Download JBPM4.3 Download address: http://sourceforge.net/projects/jbpm/files/a)% 20jBPM% 204 / JBPM4.3 package directory structure as foll ...
Posted on February 13th, 2010 in Java
1. Overview As the spring security system development in the competence fill up after the closure of the so used only spring security in the provision of part of the content; Complete features include ...
Posted on February 13th, 2010 in Java
jsp form page (upload.jsp) ActionForm Action xml file configuration
Posted on February 13th, 2010 in Java
Since the system is based on notes self-contained, then the test based on whether it can rely on Spring annotation easy to complete? Resolutely No problem! Spring-Test duty-bound to complete this task ...
Posted on February 13th, 2010 in Java
In the Apache server installed on Gerrit, a specific site http://git.apache.org:8080/, the current test run, I signed up for what turned out to be 100002, regarded as the first user has, it seems peop ...
Posted on February 13th, 2010 in Java
jsp page (dynaform.jsp) xml file configuration Action configuration (DynaFormAction)
Posted on February 13th, 2010 in Java
1, beanwrite label action in the scope of the request to set the following properties Back to the jsp page to display labels with beanwrite 2, logic tags (logical judgments) Back to jsp page tags to u ...
Posted on February 13th, 2010 in Java
There are many ways to debug webapp can be directly installed server, Can also be installed maven-jetty-plugin, maven-tomcat-plugin plug-ins In addition to these, but also can be directly embedded jet ...
Posted on February 12th, 2010 in Java
restful web services, I believe for most readers no longer a new term, on-line can be found to the information is voluminous, numerous, it will not go into at this myself, only to provide a number of ...
Posted on February 12th, 2010 in Java
First import java.util.Properties; import com.fendou.order.dao.OrderDao; import com.fendou.order.factory.OrderDaoFactory; import com.fendou.system.util.ProploadUtil; public class OrderService ( privat ...
Posted on February 12th, 2010 in Java
Nothing to write a file to determine the same java program segment
Posted on February 12th, 2010 in Java
Struts2 in Action class can be placed in multiple methods and struts.xml configured for the page is called. As long as the approach is consistent with execute () method of the standard that the return ...
Posted on February 12th, 2010 in Java
If you forget a mistake, I do not want to repeat the mistakes again. Write it down. <mapper resource="com/company/blog/sqlmap/testMapper.xml" /> In the configuration file you forgot to ...
Posted on February 12th, 2010 in Java
Struts2 tags to obtain the value of requestURI.contextPath
Posted on February 12th, 2010 in Java
Recently, some projects will need to get TCP to connect existing systems to upgrade to encrypted TLS connections, but the problems encountered were originally used as a yes SocketChannel link layer su ...
Posted on February 12th, 2010 in Java
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 ...
Posted on February 12th, 2010 in Java
1. Understand the interceptor 1. Interceptors in the anti-ask certain way, before or after the field to intercept, and the interceptors are pluggable, the interceptor is an implementation of AOP. 2. I ...
Posted on February 12th, 2010 in Java
My development environment: JForum2.1.8 tomcat5.X JDK 1.6X Routines can not be refined in order to start. From the beginning web.xml web.xml includes a filter, a listener, and two servlet, not much co ...
Posted on February 12th, 2010 in Java
Stateless Bean @ Stateless Stateful Bean @ Stateful EJB injection @ EJB (beanName = "BeanName") Do not write the words, the default for local Distance @ Remote Local @ Local
Posted on February 12th, 2010 in Java
You look at the difference between StringBuilder and StringBuffer it? The two string classes, it is estimated there in front of me a couple of years old, but I have been concerned about the difference ...
Posted on February 12th, 2010 in Java
exe4j a java packaging tools can be packaged into a jar file or exe file, very convenient to download ask Google Bar Described here are labeled by NETBEANS after the packaged jar files into exe Next s ...
Posted on February 12th, 2010 in Java
Here, we will learn how to build a foundation for JME procedures, and to explore SimopleGame, Box, and rootNode these keywords, good, let me look at bar-depth learning. Here we show you the basis for ...
Posted on February 11th, 2010 in Java
Kangaroo-jslet v2.0 annex to the simple manual and jar files. Dom4j-1.6.1.jar which is to be supported by Kangaroo framework jar file. Welcome to use Kangaroo-jslet. Kangaroo-jslet v2.0 If you have an ...
Posted on February 11th, 2010 in Java
Accessories for the kangaroo-jslet-2.0.jar and the need for supporting jar file dom4j-1.6.1.jar
Posted on February 11th, 2010 in Java
Evil bug, take a look at all such a stupid Mody: 1. Using the sequence when you use select max (id) from table; ------- too violent, and direct data recorded chaos 2. Multi-layer for the time loop, th ...
Posted on February 11th, 2010 in Java
A first integrated spring2.5 + jpa1.0, scanning plus explanatory notes to speed up the development pace, SessionFactory to create the required a longer time, use the Singleton pattern. Affairs managem ...
Posted on February 11th, 2010 in Java
Attached Kangaroo-jslet v2.0 simple manual. Kangaroo-jslet then upload the relevant jar files. Welcome to the Kangaroo-jslet v2.0 evaluated with a view to its improvement.
Posted on February 11th, 2010 in Java
Ant Study Notes
Posted on February 11th, 2010 in Java
Used or intend to use the java server has a resin, tomcat, jetty. 1.tomcat is a standard j2ee implementation, the user may also be more. Tomcat, but more and more, updated more and more slowly, recent ...
Posted on February 11th, 2010 in Java
To find a job interviews, have an interview there are ways to deal with the interview. Following some of the topics from me and my friend's painful interview experience, mention of these issues in ...
Posted on February 11th, 2010 in Java
Today and the project manager to discuss the next concrete placement log4j.properties, I started in favor of direct placed in the classpath below, so that facilitate management, performance should als ...
Posted on February 11th, 2010 in Java
Myeclipse Subversion The basic operation of myeclipse is relatively familiar, but is still in use some things can not all remember that every time when in use the provisional based on what's been ...
Posted on February 11th, 2010 in Java
Structure to be used adaptive technology engine technology, will inevitably make the process engine code above level one more level, this code-level topology in the flow chart of the core engine, XML ...