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

One more layer  RSS feed

 
Manas Ahlaad
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am doing desing for a web based reporting application. I use JSP for view , servlets for controller and then DAO's for talking to database. Value Objects carry information back and forth. I user application server's Data Source for getting connections via thin driver.
Number of records in each table that I talk to are in lakhs.
If I introduce Session beans between servlets and DAO , how will I get benefited ?
Will it increase performance in any way ?
Please clarify.
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I reckon your existing design is fine.
If it is read-only data and the volume is very high, in your case.. a few hundreds of thousands of records....then I do not see any reason why you should use EJBs....
The foll. J2EE pattern may be useful...
http://java.sun.com/blueprints/patterns/ValueListHandler.html
[ February 06, 2004: Message edited by: Vish Kumar ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!