File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring-like wiring in Java

 
Jesus Angeles
Ranch Hand
Posts: 2068
  • 0
  • 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.
 
Duc Vo
Ranch Hand
Posts: 254
  • 0
  • 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,
 
Freddy Wong
Ranch Hand
Posts: 959
Eclipse IDE Java Linux
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic