Home

What's New

Interests

Money

Travel

Books

Email

Java

In the Java module we concentrated on the development of a personnel placement agency using IBM’s VisualAge for Java. It was developed to take full advantage of object orientated technology using the Java language, and is easy to maintain. The application has two components, a main application and a deployed applet accessing the DB2 database from the internet.

                            Java Personnel Placement Agency

                                        Technologies Used

Applets

GUIDS

HTML

Database Connectivity(IBM’s DB2)

Java Beans

JDK

MVC(Model View Control)

SQL

VisualAge for Java

Rational Rose

MVP(Model View Persistance)

OOAD

 

The following screen shots are only a brief example of the joy we had in Visual Age. Below is the CompanyDetailsView. Here the values from the form are stored in the EcpaCompany Variable.

DetailsView.bmp (1440054 bytes)

 

The spider web of connections required of any successful Visual Age application is shown below. All connections connect one bean to another.

 

JobOrderMainPanel.bmp (1440054 bytes)

 

A handsome looking Applicant form. On the click of an Applicant their profile is filled. Applicant skills may also be added or removed from a master list of industry skills.

 

ApplicantPhase2.bmp (961190 bytes)

 

Another handsome looking form. The company form simply shows the company profile. Companies may be maintained from this form.

 

CompanyPhase2.bmp (961190 bytes)

 

The following code snippet shows the beginnings of the Add Skill method. This method attempts to add new skills to the database through data access beans.

addSkillMethod.bmp (1440054 bytes)

 

Below is yet another example of code used in the project.

UPDATE AN APPLICANT'S PROFILE

public void updateApplicant(Object obj)throws com.ibm.ivj.eab.dab.DAException {


JVCApplicantData modApplicant = (JVCApplicantData) obj;
getDbApplicant().setId(modApplicant.getId());
getDbApplicant().setName(modApplicant.getName());
getDbApplicant().setPhone(modApplicant.getPhone());
getDbApplicant().setCurrentsalary(modApplicant.getCurrentSalary());
getDbApplicant().setDesiredsalary(modApplicant.getDesiredSalary());
getDbApplicant().setPassword(modApplicant.getPassword());
getDbApplicant().setNotes(modApplicant.getNotes());

getDbApplicant().update();

JVCApplicantData ApplicantX = new JVCApplicantData();
ApplicantX.setId(getDbApplicant().getId());

ApplicantX.setName(getDbApplicant().getName());
ApplicantX.setPhone(getDbApplicant().getPhone());
ApplicantX.setCurrentSalary(getDbApplicant().getCurrentsalary());
ApplicantX.setDesiredSalary(getDbApplicant().getDesiredsalary());
ApplicantX.setPassword(getDbApplicant().getPassword());
ApplicantX.setNotes(getDbApplicant().getNotes());

//retrieveAllItems();
}

Using the menu users can move to the different forms such as the Company form below where we keep track of company information

All development was accomplished through proven methodology. The methodology incorporated UML, Object-Oriented design, and iterative techniques. The layered application design pattern known as Model-View-Persistence(MVP) was used. This separates the program into three distinct layers: GUI, Business logic , and Data storage layer.

Back to IT Projects

  Home

What's New

Interests

Money

Travel

Books

Email