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: Monthly (2006-2019); Bimonthly (Since 2020)
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, Google Scholar, ProQuest, INSPEC, ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsw@iap.org
  • Dec 06, 2019 News!

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

  • Jun 22, 2020 News!

    Papers published in JSW Vol 14, No 1- Vol 15 No 4 have been indexed by DBLP     [Click]

  • Jun 22, 2020 News!

    The papers published in Vol 15, No 5 have all received dois from Crossref    [Click]

  • Aug 01, 2018 News!

    [CFP] 2020 the annual meeting of JSW Editorial Board, ICCSM 2020, will be held in Rome, Italy, July 17-19, 2020   [Click]

  • Jun 22, 2020 News!

    Vol 15, No 5 has been published with online version     [Click]