Java
Projects
- 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.
Three Tier Mail
Box Applet (Front End as Java Applet, Server in Java and Database using Socket and Pure
JDBC) For a Live Demo click here ThreeTierApplication.html. To view the Report click here.
For Java Documentation.
Converted the two tiers database application into a three tier Pure JDBC. Applet
communicated with the server using Java networking. Server fetches the data from the
database using pure JDBC connection. The three tier application was developed using
Symantec Café custom classes provided for JDBC and Socket Connection. The running Applet
is available on my Web Site. To see the how the Application works
and to check out sample screens click here.
To view the Mail Box Architecture click here.
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.
|