Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

XML based programming VS Class based programming(Not Finding Good Subject)  RSS feed

 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The place where I work one of the other team started using Apache camel in their implementation.
Well our team also wanted to start implementing camel.
I am not comfortable writing business logic in XML's.
I like my code to be more friendly for debugging and easy while implementing.
What's your take on this guys.

 
Bartender
Posts: 3185
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I find XMLs as too much verbose and kind of pain for the eyes to stare at the for long. Business logic in XML is a problem for some one else to read through and understand.
 
nithin chinni
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats true but my colleagues from other team say that the reason why they are using camel is because implementation has became so quick.
Last time they consumed a soap call into their service and it was finished very quickly.
So they have their point but I need some more information on why we should not use it.

 
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

nithin chinni wrote:So they have their point but I need some more information on why we should not use it.


Well, my old fart's opinion is that it's part of the general "dumbing down" of software; probably because employers think they will be able to hire a "configurator" for half the price of a programmer.

My opinion: You gets what you pays for.

I can certainly see it's uses for configuring large enterprise systems if you're willing to spend the time and effort to set up a proper DTD; but even then, the syntax rules are pretty basic, and the error messages are absolutely atrocious - even worse than the ones for Java generics (and that's saying something).

Furthermore, in 80% of the cases I've seen, an old-fashioned Properties-style file (for the Unix-minded: config-file) is more than enough, and way easier to follow.

My 2 cents; for what it's worth.

Winston
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!