configuration file (RSS)

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

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

Hibernate Tools to run Ant Task Configuration

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

Java can not handle the graphics under Linux solutions

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

struts2 value problems in the page

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

Spring + JPA + Struts2 developers

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

Spring application of Hibernate second-level cache configuration

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

Spring configuration file stored on the location of the problem

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

Rookie question: Will these two kinds of loading the configuration file What is the difference?

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

Struts2 in the use of DMI

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

Forget that is a mistake.

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

The spring has gone again, BUG no more will come back!

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

netbeans6.8 on the maven support (recommended to switch to maven)

Look netbeans on maven wizard, you can know netbeans attaches great importance to maven. It is a snapshot version of the built-in maven3. Therefore, netbeans recommended to download the version requir ...

spring 2.5.6 and hibernate3.2.2 integration (1)

Note the use of spring, this example from the Web, I do not know what the original was. . 1. Defining the Interface 2. The first implementation class The second implementation class 3. Configuration f ...

tomcat performance tuning

In the Tomcat and application of the stress test, if the performance of your application, not satisfied with the results, you can take some performance tuning measures, and of course the premise is th ...

Acquaintance Hibernate (1)

Three months to write a C / C + + finally returned to the Java I love the ~ ~ originally wanted to continue to study the JSP ^ ^ But a friend recently asked me to help him make a final examination of ...

xmlbean generated jar with packet path

Xmlbean generated using jar found this article in turn as a record of their own learning. When our preliminary understanding of XSD, we have been able to create the XML BEAN. To create XML BEAN, need ...

Basic configuration of DWR

1. DWR is very easy to use, the first of its official website (www.directwebremoting.org) Download dwr.jar, the latest version of the current is 3.rc1 2. Dwr.jar to download on the project WEB-INF \ l ...

Hibernate and getCurrentSession of the difference between openSession

getHiberanteTemplate, getCurrentSession and OpenSession The use of getCurrentSession () to create the Session will be bound to the current thread to the use of OpenSession () is not. The use of getCur ...

The working principle ssh

Principle: 1. Read and analytic profile 2. Read and analytical mapping information, create a SessionFactory 3. Open Sesssion 4. Transation create Affairs 5. Persistent operating 6. Submit 7,. Close Se ...

CruiseControl.rb another Bug

I encountered the problem as follows: Executive: . / cruise build test_cc_01 Time, there will be the following error? SVN is literally no permissions to connect, but I tried a lot of SVN, but I have p ...

ssh working principle

Principle: 1. Read and analytic profile 2. Read and analytical mapping information, the creation of SessionFactory 3. Open Sesssion 4. Transation create Affairs 5. Persistence operation 6. Submit 7. C ...

fckeditor for java

FCKeditor is a specialized use of the website are open source WYSIWYG text editor. Chi in the light of its need for the installation steps too complicated to use. It can and PHP, JavaScript, ASP, ASP. ...

flash picture under the Carousel

Carousel picture to achieve the way there are many, have a direct HTML, with the JS, as well as the FLASH. FLASH I prefer because it is better to achieve the function of packaging, only in the interfa ...

struts2 + hibernate + spring2.5 + properties integrated integrated approach

In some projects may need to use properties instead of database-related hibernate.cfg.xml configuration management can be simplified to facilitate the maintenance of properties or for dynamic loading. ...

How to use hibernate the event / eventlistener

http://blog.csdn.net/guosydragon/archive/2007/04/15/1565742.aspx recently learned here, a little gain, try out their own, out to show one's inadequacy, but there is help for beginners, after all, ...

Spring2.5--> datasource configer

hibernate.cache.provider_class = org.hibernate.cache.EhCacheProvider hibernate.cache.provider_configuration_file_resource_path = / ehcache-hibernate.xml hibernate.cache.use_query_cache = false hiberna ...

Embedded jetty

Heard of the development phase to test the use of more convenient jetty today to learn the next jetty. Tomcat with a way similar to the deployment of a document is to direct Kaodao $ (jetty_home) / we ...

Hibernate's object - relational mapping (1)

Hibernate Object - Relational Mapping A, hibernate Principle 1, operations in hibernate entity object persistent to the database when there are three states, the instantaneous state. Persistent state, ...

HQL query parameters of the Chinese solution

In the Hibernate configuration file to add the following code: <property name="hibernate.query.factory_class"> org.hibernate.hql.classic.ClassicQueryTranslatorFactory </ property> ...

Hibernate stored procedure call

hibernate call stored procedure mysql5.0 key code: Database stored procedure Create procedure SP_get_UserInfo () as begin select * from user order by Id end corresponding to the hibernate configuratio ...

a series of study notes hibernate

The first item hibernate 1, a new java project 2, create a User Library, by adding the following jar * HIBERNATE_HOME/hibernate3.jar * HIBERNATE_HOME / lib / *. jar * MySql jdbc driver 3, create a hib ...

java: comp / env / jdbc / datasource and jdbc / datasource not

Understanding of JNDI in the java: comp / env / jdbc / datasource and jdbc / datasource difference. In describing the JNDI, for example, when access to data sources, JNDI address two ways for writing, ...

unique configuration of hibernate

In the hibernate configuration file, and some elements have a unique configuration of attributes, but I often see the abuse of the elements, especially those automatically generated hbm file tools oft ...

Why do we write unit tests?

This afternoon before work, the refund process transformation project, the developers feel that the future of existing local processes are unreasonable: in the refund and return the case and refused t ...

Memo packaged jar command

Long time no jar packing, packing orders and now have forgotten the ... ... Re-search with google a bit: Packing the root directory of the following documents: ---------------------------------------- ...

Hibernate.initialize (Object obj)

On lazy (lazy) and forced to load (Hibernate.initialize (Object proxy)), etc. Sustained in the use of hibernate when it is sometimes necessary to change the dynamic loading of objects, such as in the ...

Often talk on agile development and specification development

The company now launched a new project to build using maven, and then continued hudson integration, the development phase to use as a jetty application server, database MySQL ... Spring projects, as w ...

Quick InstantRails structures using Ruby On Rails development environment

Has been ruby on rails Have a lot of interest, would like to see a lot of people this was commendable, but I have been working on the development under the windows, for ruby on rails Structures or the ...

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

Hibernate mapping file configuration

Object-relational mapping is an XML document to illustrate the. Document mapping tools can be used to generate, such as XDoclet, Middlegen and so on AndroMDA. The following example from the beginning ...

Spring + Hibernate in (the owning Session was closed error)

Spring control of Hibernate as a result of the life cycle of only data layer and service layer, while the performance of management layers, so there will be the owning Session was closed phenomenon. N ...

SSH error integration solutions

http://skywen.javaeye.com/blog/306302 SSH integration error to be summarized as follows 1. The error appears as follows Error creating bean with name 'sessionFactory' defined in ServletContext ...

The hibernate configuration file log4j.properties

This configuration file can be configured not <property name="hibernate.show_sql"> true </ property>, suitable for the development of the use of # # # Format #-X No.: X informati ...

Hibernate automatically MyEclipse integrated package name at the time of

MyEclipse6.5 automatic integration with Hibernate, if the table named t_card 1. The next map "Finish" will be generated com.demo.dao and TCard.java TCard.hbm.xml three documents TCardDAO.jav ...

dwr-spring-hibernate use

Authorized recently wrote a page, use dwr to handle, easy feeling. dwr configuration as follows: web.xml page: dwr.xml page spring configuration file jsp page: In the whole process more interesting is ...

Configuring Rails Applications

1 Locations for Initialization CodeRails offers (at least) five good spots to place initialization code: Rails provides (at least) five places to put initialization code Preinitializers environment.rb ...

My eclipse5.5 add xml template

There are only four Myeclipse5.5 template xml 1, Default XML template, 2, XML template for a web.xml, 3, XML template for a web.xml file with Struts, 4, XML template for a struts-config.xml If we want ...

The third study spring2.5 Notebook: spring in support of the JDBC

In the DAO class, we have inherited from Spring's DAO, the code is as follows: wrote jdbcDaoSupport import java.util.List; import org.springframework.jdbc.core.support.JdbcDaoSupport; import com.s ...

hibernate safety management data sources

Secure Access database is very important thing. Build a web application if the application needs access to the database or, if the database user name and password directly on the hibernate configurati ...

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