EJB design: Table ID's on the presentation layer?
- Posted by: Leandro Melo
- Posted on: April 16 2004 17:42 EDT
i've posted a similar question to this forum, this one is a little diferent.
I got a presentation layer on jsps. Is it alright if i have tables pks behind the scenes on those jsps? As i use ids (integers) for most of tables, it would be easier if i carry them along with the information i need.
Am i violating any good pattern?
Including PK values as hidden form fields or web parameters is a pretty common trick, so I think you are pretty safe using it.