• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB or Struts

 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello!

We have to develop web based complex application that will be accessed by user over internet.

No page should take more then 10 sec to download.

We have two options

(1) JSP + Servlet + EJB
(2) JSP + Servlet + Struts

If both solutions implemented in most optimized way, which one be the fastest?

I have impression that Struts is bit slower then EJB.

Reg,
Chetan
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
EJB and Struts aren't mutually exclusive - Struts is a web-frontend framework, EJB a component model for distributing your business logic between several servers. They solve totally different problems, so saying that one is faster than the other, or that you plan to use one or the other, doesn't make much sense.

Anyway, if you won't need to run your business logic on more than one server, EJBs are more likely to slow your application down than to improve performance. I'd advise to take a look at Struts, Spring and Hibernate, for example.
 
reply
    Bookmark Topic Watch Topic
  • New Topic