This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

Spring-like wiring in Java

 
Ranch Hand
Posts: 2103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I dont think we have such 'wiring' in Java (up to 1.5).

Or am I wrong, and there is such in Java?

In another thought, annotations can 'emulate' 'wiring'.

Any thoughts?

Wiring using annotations seems to be too much work.

My point is, it will really be great if we have such 'wiring' in Java. It would mean another container/framework, but maybe it could be implemented just like in Spring, which can be used in non-intrusive and non-Spring-coupled way.
 
Ranch Hand
Posts: 254
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can still use wiring with Spring without annotation, mate. Just use the traditional XML Configuration if you don't want to use annotation.

Cheers,
 
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or if you want to use pure Java, take a look at Spring JavaConfig. I'm currently using it. I prefer that over annotation or XML configuration.
 
Are you okay? You look a little big. Maybe this tiny ad will help:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!