Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Formatting numbers with EJB ?

 
Dave Van Even
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm planning to use EJB for a financial project..
My financial numbers need formatting for the client; something like 1,000.123 $ should be the thing the client works with. Both for output AND input.
Where should the number formatting logic reside ? In the application layer or the web layer ?
thanks
 
Milind V. Kulkarni
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In my opinion the all the formatting logic should reside in the presentation layer of the application.
This is very much required in the multi-lingual application where currency, number format, etc. may be different for the differnt languages.
Regards,
Milind
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic