A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Murach's Java Servlets and JSP
this week in the
OO, Patterns, UML and Refactoring
Help with reusing code from a Singleton class
Joined: Aug 25, 2003
Jul 25, 2013 21:27:59
I have a SingletonClass1 in one project of which some features I reuse in a 2nd project.
some common methods
some common attributes
some common methods from SingletonClass1
some common attributes SingletonClass1
However since I cant inherit from Singletonclass1, how do I resolve this issue? I can set Project1 as a dependency/library in project2.
So I wan to reuse this SingletonClass1.
I can refactor this code, however lot of code in Project1 and other projects use this SingletonClass1. So I want to make sure I use the best approach here.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Help with reusing code from a Singleton class
Can some one please explain why do i need MAVEN here
RAD6 - Web Library Projects
Sharing External Jar files between projects
Why reuse doesn't happen
problem with jar file
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014