Beruflich Dokumente
Kultur Dokumente
I. INTRODUCTION
The interaction of database and Web is becoming the
cornerstone of developing Web application systems. Shifting
legacy data which was held in stand alone systems to be used in
Web application systems was an expensive and time consuming
chore for many corporations. HTML [1] and some server-side
technologies such as CGI [2], PERL [3], Cold Fusion [4] and
ASP [5] were widely adopted to put in action the above task.
Internet usage is growing exponentially, this fact forces many
corporations to upgrade and maintain their web application
systems frequently to be market competitive which leads to high
cost Web applications. To obviate this penalty, we propose
using database metadata that can be extracted from the
Fig. 1. Structure of the proposed framework
catalogue tables in relational database systems like PostgreSQL
[6] and MySQL [7] by making use of JDBC [8]. Although document via Java Servlet. The XML document can then be
involving database metadata, using HTML and server-side transformed into HTML, XHTML [12] or any other sort of web
technologies such as (Java Servlet [9] and JSP [10]) has page by making use of an XSLT [13] stylesheet. As a result, all
improved the development process overall, it does mix the business logic processes are performed by Java Servlet. XSLT
content, logic and presentation. As a result it was not possible to style sheet takes the responsibility of presentation task. Any
change or improve the Web user interface without re-writing or small alterations in XSLT stylesheet results in a new look Web
re-compiling the whole system. To avert this weakness, we user interface without the need to recompile the system.
propose the development of a framework (Fig. 1) that fetches The remainder of this paper is organized as follow: In section
database metadata via JDBC and converts it into an XML [11] II, we present some previous academic papers that are related to
our work. Section III presents the framework life cycle and an
Manuscript received August 10, 2007. example is given for demonstration purpose. Section IV
Mohammed M. Elsheh is with the Department of Computing, Informatics
school, University of Bradford, BD7 1DP, UK (phone: +44(0)1274233659; describes the technique used to validate entry data. In Section
fax:+44(0)1274235856; e-mail: M.M.Elsheh@bradford.ac.uk). V, we introduce the reason behind developing a set of rules, a
Mick J. Ridley is with the Department of Computing, Informatics school, sample of them is presented and this section is ended by a brief
University of Bradford, BD7 1DP, UK (phone: +44(0)1274233946; fax: discussion of the limitations of metadata and possible solutions.
+44(0)1274 233920; e-mail: M.J.Ridley@bradford.ac.uk).
Section VI concludes and gives directions for future research.
achieved via the potential metadata that is stored in system 04- International Conference on Web Engineering.
catalogue tables and integrating it with XML technology. This July 27, 2004. Munich (Germany).
offers a new solution for generating reliable Web user interface 17. Kirda, E., C. Kerer, and G. Matzka. Using XML/XSL to
for Web applications. Clean separation between content, logic Build Adaptable Database Interfaces for Web Site
and presentation also is achieved which overcomes the existing Content Management. in 23rd International
problems with old Web technologies such as Perl, ASP and JSP Conference on Software Engineering. 2001. Toronto,
that implemented in conjunction with HTML. However, more Ontario, Canada.
work on the semantics of metadata is needed to achieve a high 18. Dubinko, M., XForms essentials. 2003, Sebastopol,
percentage of web form accuracy. Calif ; Farnham: O'Reilly. xiv, 215 p.
XForms is a combination of two of the most successful
experiments ever performed with the Web: XML and forms
[18]. As a future work we aim to investigate and test for how we
can make use of XForms technology and database metadata in
solving browsers compatibility and how XForms features can
reduce or eliminate the need to use JavaScript for data
validation tasks.
REFERENCES
1. HTML Specifications.
http://www.library.cmu.edu/Unofficial/WebCourse/sp
ecs.html.
2. CGI Specification.
http://www.utoronto.ca/webdocs/HTMLdocs/NewHT
ML/bibliography.html#6.
3. The source for PERL.http://www.perl.com/.
4. COLDFUSION Developer's Journal.
http://coldfusion.sys-con.com/.
5. Meyer, J., Creating Database Web Applications with
PHP and ASP. 2003: Charles River Media.
6. PostgreSQL: The world's most advanced open source
database, http://www.postgresql.org/.
7. MySQL:: Developer Zone, http://www.mysql.org/.
8. Manu, K., An Introduction to JDBC. Linux J., 1998.
1998(55es): p. 2.
9. Hunter, J. and W. Crawford., Java Servlet
Programming. 1998: O'Reilly & Associates.
10. Java Server Pages Specifications version 2.1. 2006.
available online at: http://java.sun.com/products/jsp/.
11. Needleman, M.H., XML. Standards Update, 1999.
25(1): p. 117-121.
12. XHTML Specifications.
http://www.w3.org/TR/xhtml1/.
13. Burke, E.M., Java and XSLT. 2001: O'Reilly &
Associates, Inc., 101 Morris Street, Sebastopol, CA
95472.
14. Tam, N. and V. Srinivasan, Accessing relational
databases from the World Wide Web, in Proceedings
of the 1996 ACM SIGMOD international conference
on Management of data. 1996, ACM Press: Montreal,
Quebec, Canada.
15. SQL Language Reference.
http://ugweb.cs.ualberta.ca/~c391/manual/chapt6.ht
ml.
16. Elbibas, A. and M.J. Ridley. Developing Web Entry
Forms Based on METADATA. in International
Workshop on Web Quality in conjunction with ICWE