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 ...
entity bean (RSS)
Productivity Automatic Code Generation For general applications, instead of using code generation to deal with, it is better to find ways to reduce the complexity, such as the use of design as simple ...
Reprint please specify: from http://blog.csdn.net/M_ChangGong/ Author: Zhang Yan Kwong The preparation of the article the main entity bean and the DAO layer. Created in the src package com.zyg.ssj.bea ...
What is EJB? An enterprise JavaBean (EJB) is a reusable, portable J2EE components. EJB from the packaging of many possible approaches to business logic components. For example, an EJB can include a cu ...
Chapter Name The main knowledge points 1 Web Application and J2EE Overview Web Application, HTTP, application servers, multi-storey structure, enterprise applications, J2EE architecture, blueprints, c ...
J2EE internal force, roughly divided into three primary levels is the basis for JAVA, and the second level of thinking and mode of OO, the third level is the specific areas (such as technical specific ...
1. Straight Jdbc trivial app, report app 2. Hibernate session -------- Persistent Manager hibernate.cfg.xml 3. IBatis: SqlMap ------- Persistent Manager SqlMapConfig.xml 4. EJB 3 entity bean 5. Spring ...
I am finishing with the summary of: First, the java bean, is a java component model, he for the use of java classes provide a standard format, the user program management and visualization tools can b ...
6, say Servlet life cycle, and tell the difference between Servlet and CGI. Servlet instantiated by the server, the container is running its init method, the request arrived to run the service method, ...
The best way to learn or to see more examples of learned knowledge point. registration is the official seam examples, function is relatively simple, but they can generally learn about the working prin ...
The realization of the framework 1.JPA MyEclipse7.1 can be added using the TopLink, Hibarnate, OpenJPA and EclipseLink. These types of frameworks, I have used a simple test. Basically no difference (o ...
1. CASCADE Cascade significance of property: Only "marked relations between the" cascade only property: OneToOne, OneToMany, ManyToOne, ManyToMany. Cascading refers to the implementation of ...
CascadeType.PERSIST (new cascade) CascadeType.REMOVE (cascade delete) CascadeType.REFRESH (cascade refresh) CascadeType.MERGE (cascade update) in one or more selection. CascadeType.ALL CascadeType som ...
EJB is a server-side sun component model, the usefulness of the largest deployment of distributed applications are similar to Microsoft's. Net technology. With the advantages of cross-platform jav ...
JAVA Study Data (hematemesis recommend) A. Title: "Thinking in Java" 2e English version of Hou Jie / Wang Jianxing合译 URL: http://jjhou.csdn.net/thinking-in-java-20010919.pdf B. Title: JBuild ...
JAVA Study Data (hematemesis recommend) A. Title: "Thinking in Java" 2e English version of Hou Jie / Wang Jianxing合译 URL: http://jjhou.csdn.net/thinking-in-java-20010919.pdf B. Title: JBuild ...
=================================== Abstract: ============= ================== Procedures for use of resources (memory, CPU time, network bandwidth, etc.) are limited, the purpose of optimization is t ...
12 The most important J2EE best practices (transfer) Best Practices: 1, always use the MVC framework. 2, at each level are the application of automated unit testing and test management. 3, in accordan ...
Rod Johnson in his famous "J2EE Development without EJB" stressed: "We must project at the early stage of development of a vertical section (vertical slice) to verify the application ar ...
MVC Framework (as well as the J2EE implementation of the MVC) is one of the advantages of the component elements can (in fact, very easy) on your application for unit testing. Therefore, you can easil ...
Same, JDO, also started compatible JPA. At the field of ORM, it seems that JPA is a benevolent government, is the normative specification. At the support of major manufacturers, JPA use became widespr ...
public transient int counter; / / transient property private String firstname; / / persistent property @ Transient String getLengthInMeter () (...) / / transient property String getName () (...) / / p ...
The origin of ideas are pretty long history of reasons: [Use iBATIS history] The use of iBATIS has been a long time, the system is to use the CRUD template tool to generate the code, although there ar ...







