Volume 7 Number 2 (Feb. 2012)
Home > Archive > 2012 > Volume 7 Number 2 (Feb. 2012) >
JSW 2012 Vol.7(2): 227-283 ISSN: 1796-217X
doi: 10.4304/jsw.7.2.227-283

Design and Implementation of Middle Layer for DetachedCriteria Query Based on JSF and Hibernate Framework

Jia Chen, Zheqiong Yan, Rui Gu

Management Science and Engineering Department, Dalian Maritime University, Dalian, China

Abstract—With the rapid development of Internet, B/S architecture has occupied the dominate place in information system engineering. Countless frameworks have emerged to boost the development of B/S systems. But how to take advantage of the convenience and avoid being tied to the chariot of these frameworks has become a dilemma for programmers. The paper analyzed the shortage of general query in layered structure, combined with idea of off-line query from Hibernate framework, named DetachedCriteria, proposed a new middle layer to accommodate the needs of off-line query to avoid the restrictions in the use of DetachedCriteria query under the Spring framework. The work principle and structure of the DetachedCriteria middle layer were illustrated using a real project on food origin tracing.

Index Terms—JSF, Hibernate, Off-Line Query, DetachedCriteria, Middle Layer


Cite: Jia Chen, Zheqiong Yan, and Rui Gu, "Design and Implementation of Middle Layer for DetachedCriteria Query Based on JSF and Hibernate Framework," Journal of Software vol. 7, no.2, pp. 227-283, 2012.

General Information

ISSN: 1796-217X (Online)
Frequency:  Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKIGoogle Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsweditorialoffice@gmail.com
  • Mar 01, 2024 News!

    Vol 19, No 1 has been published with online version    [Click]

  • Jan 04, 2024 News!

    JSW will adopt Article-by-Article Work Flow

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Nov 02, 2023 News!

    Vol 18, No 4 has been published with online version   [Click]