Discussions

General J2EE: Which is better(session or Beans)to maintain DB values?

  1. Hello,

    We are using JSP as view and servlet as controller. I would like to take the data that i pull from DB to the next JSP page for displaying it, I pull around 15 column and one data from DB at a time, when i pull the same for the next time, it'll be over written. Average load of this app will be around 25 users . Which is better to maintain the data, beans or session?

  2. No need to use session beans use the JPA to communicate with DB