annotation (RSS)

Struts2 spring hibernate integration example

Private http://www.blogjava.net/fundei/archive/2009/05/14/270668.html Integrate struts, spring, hibernate, for the beginner is the biggest trouble on its cumbersome xml configuration file. All of whic ...

Based on the annotation according to hibernate primary key generation strategy

Here to discuss the primary key agents, business primary key (for example, composite keys, etc.) do not discuss here. A, JPA generator strategy adopted by General annotation to hibernate entity mappin ...

Spring2.5 + JPA (Hibernate3.2) source code examples (CTO)

In this paper, to cut-off since I CSDN blog http://blog.csdn.net/ctojxzsycztao/archive/2009/05/12/4171730.aspx Today, because of闲来无事studied about JPA, and gave a simple example to small for you to sha ...

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

How to use the Java 5 Annotation (Notes) to simplify the Hibernate code

Note how to use Java 5 to simplify the Hibernate code, persistence layer and the coding process easier. Traditionally, Hibernate configuration relies on external XML documents: a database mapping is d ...

session bean

Session bean 1.1 for at least one rule must have a 1.2 session bean business interface type must be concrete, not abstract or final is the 1.3 must have a constructor without parameters in the bean ty ...

ajax and js Quest Analog java implementation

Ajax in the U.S. has not used mock consider how easy the ajax request object XmlHttp the HA! Ha ha, ha us to simulate, it is the original teacher training to make students write the code, and now allo ...

Hibernate3.3 implementation of the Annotation

U.S. new Dynamic Web Project, named "ssh_annotation", configuration Tomcat6.0 support, open the MySQL, set up an empty database named "ssh_annotation". Remember, it is necessary to ...

associated one-to-one hibernate annotation

One-on-one associated mainly have three kinds of ways 1. The two primary key associated 2. Foreign key association 3. Associated table associated This hibernate annitation are three ways to provide su ...