EJB design: Table ID's on the presentation layer?

  1. Table ID's on the presentation layer? (1 messages)

    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?
  2. Including PK values as hidden form fields or web parameters is a pretty common trick, so I think you are pretty safe using it.