Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Type tables and EJBs  RSS feed

 
Sai Prasad
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,
As you know every project involves type tables with often 2 columns: code, description. I have a requirement to validate user entry with one of these type tables values. How do you approach this requirement? I plan to design a stateless session bean which acts as a Factory that contains one method for each of the type table. This method is responsible to read the table and store the values in the memory using Singleton wrapper objects which inturn contains ValueObjects. Since they are constants, I guess this approach should be fine. I need your comments.
Thanks.
[ November 04, 2002: Message edited by: Sai Prasad ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!