• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

One more layer

 
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic