Welcome to web Pages of Vicky Shiv

Resume Experience Projects Courses Thesis Download
Web Distributed OO C++ VC++ Java Others Projects

Java Projects

  • Restaurant Manager: Develop a Java based thin client and sever application for managing labor(ToView Screen) and food cost (To view Screen) for Restaurants. To View Main Screen.
    • Zero SQL - Developed a Model package which represents the Entity-Relation for database table and Java Classes. The package uses dynamic SQL and reflection to perform select, update and insert to the database. Columns are modeled as attributes and one to many relation is modeled as Arrays.
    • Database Adapter - Wrote Database adapter for MS-Access, Oracle and SQL Server.
    • Caching Architecture- Rows of Database are converted into Java objects. SELECT SQL is only used if the objects are not in the cached store.
    • Component Level UI - Graphical Swing Component were developed for String(Text), Dollar( Double), Password(String), Integer(double), Check Box(Boolean), Drop Down (To One Relationship), JTable for Header Details.
    • Transaction Server Architecture- Server is transactional is based. Prepare Statement are used with the transaction control. Exception are thrown on the server and transported to client as pop messages.
    • Distributed Architecture, Load balance and Notification - Transaction Server Architecture allowed the command to send to any server thus performing load balancing. Notification is send from one server to another to inform of any update, delete and insert.
    • Transport Architecture - Transport modeled after HTTP (Open-Request-Response-Close) protocol but was implement on TCP/IP.
    • XML Support - XML support was provided for Command, Serialization, UI Layout etc.
  • One Tier mailbox Java Applet using object serialization. For a Live Demo click here OneTierApplication.html
    Developed a one tier client server mailbox applet using following Java classes Frame, Panel, TextArea, TextField, Button, BorderLayout, GridLayout, Vector, HashTable. Application uses Java object serialization to store objects likes Administrator, MailBox, Messages. Live demo is available and all  class files are available at my web site. It uses Vector and Hashtable to deal with one to many relationship.
    To see the how the application works and to check out sample screens click here. To view the Mail Box Architecture click here.
  • One Tier Java Mail Box Application using Object Serialization. Download all *.class File at JavaOneTierApp.zip
    Developed a one tier client server MailBox application using following Java classes Frame, Panel, TextArea, TextField, Button, BorderLayout, GridLayout, Vector, HashTable. Application uses Java object serialization to store objects likes Administrator, MailBox, Messages.
    To see the how the Application works and to check out sample screens click here. To view the Mail Box Architecture click here.
  • Two Tier Java Mail Box Application using ODBC-JDBC with Oracle or MS SQL Database. Download all *.class File at JavaTwoTierApp.zip
    Converted one tier client server MailBox application into a two tier client server application using additional Java classes like Connection and JDBC-ODBC Bridge. The application keeps only relevant data into the memory and fetches the faulted data from the database as needed. Application was tested on Oracle and MSSQL.
    To see the how the Application works and to check out sample screens click here. To view the Mail Box Architecture click here.
  • Company Hiring System
  • This illustrates the use of Bridge Design Patterns and change of data structure at the run time. Persistence of the objects is maintained in the file. Intensive use of inheritance, containers and exception handling is used to built up the system.

    Description : Consider a company that keeps tracks of its staff consisting of employees and volunteers. Everybody has two immutable attributes :a name and an address, employees (unlike volunteers ) additionally have a SIN immutable attributes. Employee are paid a salary(per month) or wages(per hours). The following menu operations are available in user defined data structure(single link list) such as hiring a employee, hiring an volunteer, hiring a contract employee, raising a salary/wage of a permanent/contract employee, change of data structure at the run time from list to array, saving the object into the file and retrieving from the file. The design should be flexible for the change in either case i.e.: accommodate other kinds of employees and change of data structure. To check the Implementation detail and Java documentation click here.

  • To calculate scalar product of two vector using Multithreading capabilities of Java This illustrates the use of multithreading in Java. This will try to determine the speed of using threads.
  • Description : This is used to calculate a scalar product of two vectors, you multiple them component wise and can use up "n" threads, where n is the less than equal to number of components of the vector. Design is in form of applet. The user select the no of threads (between 1 to n ). Then clicking a start button to starts the execution with all the available threads trying to execute the calculations as fast as possible. Synchronization is done in order to maintain the integrity. As soon as thread terminates, the corresponding components of the output vector is updated. There are two version : Synchronous and Asynchronous. For the synchronous version the output vector is displayed after all the components of output vector is available. For an asynchronous mode this is done as soon as components are available. The timing fields shows the time spent on the calculation of the scalar product by the corresponding thread. Initialization of vector is done by the random number and each thread represent the unique color. To check the documentation and applet in action click here.

     
    1