Java - manage object oriented software development language
I first looked at Java in 1997. I thought that it looked pretty good,
but needed a few years to mature. I currently think that it is getting
close. Java has many of the same constructs as C++ for building applications,
lacks some of the most powerful and adds some very useful object / class
management tools.
Here are some of the solutions that I have done in Java:
- The company wanted to develop Java applications, but was worried
about the performance of Java on certain process intensive sections
of the system. I designed an n-tier applicatiion framework with duplicate
APIs in C++ and Java, This allowed business logic developed in Java
to be moved to C++ by passing it through a perl program that could
strip the "new(s)" needed for the Java object declarations.
The C++ objects were reference counted, so that they were functional
equivalents of their garbage collected Java counterparts. Application
level C++ code contained no memory management code and no pointers.
- Framework used a factory product pattern to persist and transmit
objects between the tiers and database.
- Factory classes cached objects to reduce relocating objects
from other tiers.
- Attributes of objects were tracked for modification, allowing
updates between tiers to be reduced to just changed data.
- Database column names were detached from member names of classes.
This allowed member data to have names far larger than the 10
character column name limit in DB2
- The comapny was interested in the performance of Java in processing
Database operations, I wrote a set of benchmarks that tested different
ways of accessing and updating data in tables. These tests were run
against Oracle and DB2. I also made a duplicate program in C++ as
a reference.
- I have several JSP web sites, I use Java to build Beans that the
JSP pages can use to interface with system and database resources.