Java program with two separate implementations each based on a different design pattern(s)

Posted on 2004-09-30
Medium Priority
Last Modified: 2010-03-31
Hey everyone,

This is not so much of a technical question, but rather I was looking from someone to point me in the right direction.  I'm thinking about ideas for a technical project (for school) and am interested in taking a Java program that has been implemented with different design pattern approaches and redesigining them with ApsectJ (Aspect Oriented Programming).  My goal would be to see if the AOP implementation would be easier to redesign with a different set of patterns after the initial implementation and compare that with the differences with the two java implementations.  I was hoping that someone here might know of a somewhat simple opensource Java application that has been designed with two separate implementations based on different patterns.  From there I could go with the AspectJ design and implementation.  Any additional input is welcome.

Question by:cgat
  • 2
LVL 21

Expert Comment

ID: 12198417
It is not simple, but how about the Sun's petstore application.  Just search in sourceforge and you will find some implementations.

Do you have any idea of what features you want in your application or do you just want to implement an algorithm?

Maybe something like this:http://www.edm2.com/0601/backpack.html (I just googled "backpack algorithm")

Author Comment

ID: 12205503

Petstore is the type of thing I'm looking for, but you're right, it might be a bit big.  As for finding different implementations on sourcefourge my search came up dry?  I entered different variations of pet store, petstore, sun, java, ... and nothing.  I must be doing something wrong?

LVL 21

Accepted Solution

MogalManic earned 500 total points
ID: 12211149

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question