Developing a Three Tier Web Application Using ASP.NET and Open Source Object-Oriented Database DB4Objects



Similar documents
Software Development Interactief Centrum voor gerichte Training en Studie Edisonweg 14c, 1821 BN Alkmaar T:

INTERNET PROGRAMMING AND DEVELOPMENT AEC LEA.BN Course Descriptions & Outcome Competency

New 11g Features in Oracle Developer Tools for Visual Studio. An Oracle White Paper January 2008

Web Application diploma using.net Technology

Catálogo de cursos plataforma elearning Microsoft Imagine Academy: Microsoft SQL Server y Visual Studio

ANDROID DEVELOPER RESUME USA

Getting Started With Your LearnDevNow Learning

Dynamic Web Programming BUILDING WEB APPLICATIONS USING ASP.NET, AJAX AND JAVASCRIPT

Programming in C# with Microsoft Visual Studio 2010

ASP.NET Using C# (VS2012)

Microsoft SQL Server Installation Guide

MS 10978A Introduction to Azure for Developers

CATALOG OF CLASSES IT and Technical Courses

Agile Business Suite: a 4GL environment for.net developers DEVELOPMENT, MAINTENANCE AND DEPLOYMENT OF LARGE, COMPLEX BACK-OFFICE APPLICATIONS

BarTender Integration Methods. Integrating BarTender s Printing and Design Functionality with Your Custom Application WHITE PAPER

Object-Oriented Databases db4o: Part 2

Getting started with your AppDev Microsoft Development Library

Programmabilty. Programmability in Microsoft Dynamics AX Microsoft Dynamics AX White Paper

Net Developer Role Description Responsibilities Qualifications

Practical Database Programming With Visual C#.NET

Skillsoft Course Directory

SequeLink Server for ODBC Socket

IBM WebSphere ILOG Rules for.net

Course 10978A Introduction to Azure for Developers

Microsoft SQL Server Installation Guide

Skillsoft Course Directory

AppDev OnDemand Microsoft Development Learning Library

2311A: Advanced Web Application Development using Microsoft ASP.NET Course 2311A Three days Instructor-led

Programming with the Microsoft.NET Framework Using Microsoft Visual Studio 2005 (VB)

A Practical Approach to Process Streaming Data using Graph Database

Oracle 11g is by far the most robust database software on the market

ASP.NET Programming with C# and SQL Server

For Course Details, visit:

ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT

Crystal Reports. For Visual Studio.NET. Reporting Off ADO.NET Datasets

DATABASE SYSTEM CONCEPTS AND ARCHITECTURE CHAPTER 2

Joseph M Conaty Software Engineer

Software Architecture for Paychex Out of Office Application

Track and Keynote/Session Title 9:00:00 AM Keynote 11g Database Development Java Track Database Apex Track.Net Track. 09:30:00 AM with Oracle and

This module provides an overview of service and cloud technologies using the Microsoft.NET Framework and the Windows Azure cloud.

Advanced Web Application Development using Microsoft ASP.NET

DataDirect XQuery Technical Overview

Internet Engineering: Web Application Architecture. Ali Kamandi Sharif University of Technology Fall 2007

Introduction to Visual Basic and Visual C++ Database Foundation. Types of Databases. Data Access Application Models. Introduction to Database System

COMPARISON BETWEEN SPRING AND ASP.NET FRAMEWORKS

Visual Studio Team Edition for Database Professionals. Woody Pewitt Developer Evangelist

(ENTD361 is highly recommended before taking this course)

Mobile Devices: Server and Management Lesson 02 Application Servers Part 1

CLOUD COMPUTING & WINDOWS AZURE

This course provides students with the knowledge and skills to develop ASP.NET MVC 4 web applications.

MicroStrategy Course Catalog

Introduction. Introduction: Database management system. Introduction: DBS concepts & architecture. Introduction: DBS versus File system


ITG Software Engineering

Data Sheet VISUAL COBOL WHAT S NEW? COBOL JVM. Java Application Servers. Web Tools Platform PERFORMANCE. Web Services and JSP Tutorials

New Features in Oracle Application Express 4.1. Oracle Application Express Websheets. Oracle Database Cloud Service

Beginning C# 5.0. Databases. Vidya Vrat Agarwal. Second Edition

Preguntas + frecuentes sobre Embarcadero Delphi Prism XE

Pro ASP.NET 4 CMS. Using the JET 4 Framework. Advanced Techniques for C# Developers. Apress. Alan Harris

Introduction: Database management system

FileMaker 11. ODBC and JDBC Guide

Application Development

HTML5. Turn this page to see Quick Guide of CTTC

Please contact Cyber and Technology Training at for registration and pricing information.

Course 5431: Getting Started with Microsoft Office PowerPoint Course 5420: Editing and Proofreading Documents in Microsoft Office Word 2007

Key Benefits of Microsoft Visual Studio 2008

Skillsoft Course Directory

Unlock the Value of Your Microsoft and SAP Software Investments

Case Studies. Database

Developing ASP.NET MVC 4 Web Applications

INTRODUCTION ADVANTAGES OF RUNNING ORACLE 11G ON WINDOWS. Edward Whalen, Performance Tuning Corporation

Fast and Easy Delivery of Data Mining Insights to Reporting Systems

Programming Fundamentals of Web Applications Course 10958A; 5 Days

Integrating TAU With Eclipse: A Performance Analysis System in an Integrated Development Environment

COURSE CURRICULUM COURSE TITLE: WEB PROGRAMMING USING ASP.NET (COURSE CODE: )

maximizing IT productivity

A Performance Comparison of Web Development Technologies to Distribute Multimedia across an Intranet

Microsoft Introduction to Azure for Developers

<Insert Picture Here> Application Testing Suite Overview

A Comparative Study of Web Development Technologies Using Open Source and Proprietary Software

1 File Processing Systems

BOXI R2 SDK Programming

Case Study. SaaS Based Multi-Store Market Place Brainvire Infotech Pvt. Ltd Page 1 of 5

The Comparison of J2EE and.net for e-business

Your Technology Partner Offshore and Onsite. Outsourced Software Development Services at

MICROSOFT BUSINESS CERTIFICATION (EXAMS)

Beginning ASP.NET 4.5

Version Overview. Business value

Visual Basic.NET Certificate Program

A review and analysis of technologies for developing web applications

SharePoint 2010/2013 Course

Transition your MCPD Web Developer Skills to MCPD ASP.NET Developer 3.5 (VB)

Transcription:

Developing a Three Tier Web Application Using ASP.NET and Open Source Object-Oriented Database DB4Objects Morris M. Liaw Ph. D. liaw@uhcl.edu Venkata Durbhakula dvijaykrishna@gmail.com Mahesh Molakalapalli molakal9@gmail.com Abstract This paper details the use of DB4Objects object-oriented database and ASP.NET 3.5, MVC architecture and the Visual Studio IDE (Integrated Development Environment) to develop a three tier Web application. The major contribution of this paper is to show how a three tier web application can be easily developed and deployed by taking advantage of an object-oriented database instead of using ADO.NET or Datasets that access traditional relational databases. A sample web application called Fee Management Tool is developed to illustrate DB4Objects as the backend of the web application and the Visual Studio 2008 IDE can be used to run the DB4Objects plug-in. Future directions and implications are discussed at the end of the paper. Keywords Object-Oriented Database, ASP.NET, DB4Objects, Visual Studio, Web Application Introduction For developing a web application the essential tools are Integrated Development Environment (IDE) and Application Programming Interface (API). API libraries are used in abstracting common programming tasks (making database connections) required in developing a web application. In this paper, we show how Microsoft s Visual Studio IDE can be used to develop a three tier web application that uses DB4O for the backend database and use of C#.NET classes to abstract communication with backend database. The paper includes discussion about connecting to DB4O, writing and retrieving data, and configuring Microsoft Visual Studio to run DB4O toolkit. Visual Studio is an integrated development environment (IDE) for.net environment and is developed by Microsoft [1]. It has a capability to install different kinds of plug-in into its environment. DB4O toolkit called Object Manager Enterprise (OME) can be installed into this Visual Studio to for browsing classes and back end database objects. Visual Studio supports graphical user interface applications, Windows applications, and many

other applications. It has an integrated server called the Internet Information Services (IIS) running on it to run and build the applications. Visual Studio supports development of web applications in both C#.NET, VB.NET and the latest F#. For this study, we develop our project using C#.NET. DB4O is an open source object database management system designed by Versant Corporation [2] for.net and Java developers. DB4O has a strong feature of One-lineof code database where a single command is used to store an entire object into database. For example, a single store can alone insert a single record without any additional statements. Along with this, there are many other features like dynamic scheme evolution, native queries and LINQ etc. To illustrate the use of DB4O, we develop a web approach for an existing manual system in this paper. Fee Management Tool is an online web application developed for schools and college to manage their fee processing. This project uses Microsoft Visual Studio to facilitate the building and deploying application on to server. Visual Studio is also configured with OME to run DB4O. In this application the client and server classes were eliminated so as the application connects directly to database which is a more portable solution. A web application was partially implemented using this approach. Preliminaries Most of the existing systems are developed with backend as relational database. Though relation databases especially the Oracle is ruling the market, there are quite good reasons to select Db40, Object oriented database as a backend. In some aspects object databases are much better than relational databases. The reason to select the db40 is that it is a fully featured database. Db4o can be embedded into devices like mobile phone and personal computers. Database administration play key role in most of the relational databases. The advantage with the DB4o is that any kind of special administration is not required. It can also simplify the refactoring in dataware applications. Most of the object-databases especially Db4O can efficiently work in different platforms. This db4o is available for.net, Java, and Mono. [3] Fee management tool is a comprehensive web based system that helps institutions and schools to manage funds. The fee management tool handles all the key fee management functions, including student information, handling of funds by the students, administration, management and students relations management. Fee management is a system to alleviate financial losses for the institutions by reducing risk of loss. The aim of this system is to develop an online system for an institution or school. Generally an institution manages funds collected from the students for the suture use and management of the students. There will be an accountant for this institution who manages the information about fee collected from the students. The figures below show the sample screen shot s of the system. Figure 1 shows the Home page of the Fee Management Tool and Figure 2 is the Add Student page, which is used by the administrators to enter the details of the new student. A sample flow chart of the project is depicted in Figure 3. The online project is available at

http://sce.uhcl.edu/db4o/main.aspx. Figure 1: Home page of the System Figure 2: Add Student page Figure 3: Flow-Chart showing actions available in the System

Using DB4O DB40 is an object oriented database language that can be used for storing/retrieving objects in database with simple commands. Commands like SET, STORE, and GET make the task of database transactions easy when compared with the traditional relational databases [4]. These commands are under the namespace of DB4Objects.DB4O To insert an object into database we use simple STORE command with parameter as the required object. Following is the syntax for inserting a Student object into database using STORE command. db.store(studentobject); To retreive an object from database we use simple GET command with parameter as the required object. Following is the syntax for retreiveing a Fee object from database using GET command. The result from the GET command is stored in the IObjectSet for being able to fetch to table. Fee feeobject = new Fee(); IObjectSet reslut = db.get(feeobject); To update the objects, the object need to be retrived and then we make the required changes. Aftert that by calling the db.set(), the object can be updated. db.set(studentobject); db.close ( ) command is used to close the object container. db.close ( ) makes all database operations to be written to the database before closing the database. db.close(); db.delete () is used to delete the retrieved object. As was the case for updating, the database has to know what object, we want to delete, so the object to be deleted either has to be set or more likely retrieved with in the same transaction. db.delete(studentobject);

Concerns on the DB4O There are some concerns on Db40. If the older system is already relational based then replacement with object databases is not compatible. Db4o cannot support database clustering. Data ware house, data mining, tuning and reporting tools that support object databases are not yet designed. Transaction management and recovery is not good compare to relational databases. [3] Conclusion The development of the Fee Management Tool application shows that the Microsoft Visual Studio IDE can be used to develop standard, portable Web applications that take advantage of an object-oriented database. We further show that communication with a database such as DB4O can be accomplished using.net classes instead of routine libraries to access traditional relational databases. Future studies can try to explore the deep potentials that object-oriented databases has, especially with DB4O. References [1] http:// www.microsoft.com [2] http://www.versant.com [3] J. Paterson, S. Edlich, H. Horning and R. Horning, The definitive Guide to db4o, Apress, 2006. [4] M. Norrie, M. Grossniklaus, C. Decurtins, A. de Spindler, A.Vancea and S.Leone, Semantic Data Management for db4o, Proceedings of ICOODB, 2008.