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

[PDF]

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
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, 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]

  • Nov 18, 2019 News!

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

  • Dec 06, 2019 News!

     Vol 13, No 10- Vol 13, No 12 has been indexed by EI (Inspec)   [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 25, 2019 News!

    Vol.13, No.9 has been indexed by EI (Inspec).   [Click]