Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #863
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: Frameworks: XML vs Annotations |
| Date | 2011-07-13 09:41 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <ivkhs0$hjc$1@dont-email.me> (permalink) |
| References | <5ab7ef85-9c08-41af-97e2-5392e903de37@u26g2000vby.googlegroups.com> |
On 7/13/2011 7:39 AM, Steve wrote: > As much as I detest XML, I think the XML option in Spring might best > provide such a "map" versus annotations. Additionally an XML config > file would make it easier to change the flow as all flow mappings > would be in one place. No experience specifically with Spring, but generally XML is the old way and in disfavor, and annotations are the new way and preferred. If you want to build a map of your annotations, consider an annotation processor: <http://download.oracle.com/javase/6/docs/technotes/guides/apt/index.html> <http://download.oracle.com/javase/6/docs/api/javax/annotation/processing/package-summary.html> Some IDE will do this for you with some frame works. E.g., NetBeans and JSF.
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar
Frameworks: XML vs Annotations Steve <tinker123@gmail.com> - 2011-07-13 07:39 -0700
Re: Frameworks: XML vs Annotations markspace <-@.> - 2011-07-13 09:41 -0700
Re: Frameworks: XML vs Annotations lewbloch <lewbloch@gmail.com> - 2011-07-13 10:28 -0700
csiph-web