• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Simplify the initialization of and application (currently done with singletons)

Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Say I have two startup classes:

As you can see both classes inherit from one parent.
Singleton init() methods are called in a specific sequence and it is important to maintain that sequence.

Problem: I'd like to simplify startUp() methods. Ideally i'd like to keep information on all singleton dependencies at one place. I'm very new to Spring, and would like to explore the opportunity to resolve my task with this framework. So does my problem seem to be something that Spring can be used for? If so how do I start and what to I do next?

If there is another more suitable/simple way of resolving such problem please do let me even it is not related to application frameworks
I'm gonna teach you a lesson! Start by looking at this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!