• Post Reply Bookmark Topic Watch Topic
  • New Topic

To use EJB/not to use EJB  RSS feed

 
Lakshmi Asn
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

We have an application which has atmost 5 screens and most of them display readonly data except for 1 or 2 database updates. Currently this application is implemented using ASP and SQL Server database. Now we are planning to rewrite this application in Java and Oracle. The database has 10 million records in a table and the application should support 1000 concurrent users. Can anybody tell me if JSp/Servlet model alone can support this or do we have to use EJB's.

Thank you,
Laxmi
SCJP,
SCWCD,
IBM XMl Developer,
OCP.
 
Valentin Tanase
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Asn,

As a rule of thumb thinks like clustering and caching play a very important role when speaking about scalability. As a matter of fact practice proven so far that entity EJBs are not the most desirable solution when dealing with massive data retrieval. Neither ORM tools are though, but custom DAOs (plain JDBC code) might still be the best solution. To answer to your question I�d say that a servlet container is a very good solution to your problem and in my opinion it might scale at least as well as an EJB container, supposing you provide an optimal system configuration (server clustering, optimizing the database, the networking, OS, etc) and you are able to design a nice and optimal caching solution for your application.
Regards.
 
Lakshmi Asn
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Valentin,

Thank you very much for your reply. We are going with JSP/Servlet model.

Thanks again,
ASN
 
Valentin Tanase
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're very welcome Asn
By the way, good choice.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!