Meaningless Drivel is fun!*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes EJB vs JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "EJB vs JDBC" Watch "EJB vs JDBC" New topic
Author

EJB vs JDBC

Rahul JG
Ranch Hand

Joined: Jun 05, 2002
Posts: 44
Given an application which requires a lot of database calls, which of JDBC or EJB would be faster, and how to choose one technology over the other?


Rahul
james edwin
Ranch Hand

Joined: Nov 22, 2001
Posts: 393
Hi Rahul,
See chossing technology depends on many factors few of them are like
01) How much money you want to invest ..?reason for EJB you may have to buy license EJB containers or we have free also avaiables(like JBOSS),but that depends on the budget totally.
02) R u looking for services like instance pooling,transaction management,security..etc
03) Your own expertise/technical skill set.
As far between EJB/JDBC,it all depends on that full application scenerio and rememeber when you are dealing/working with EJB, make sure perfomance should not be suffered,as EJB calls are expensive in performance.


Regards,
James
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB vs JDBC
 
Similar Threads
EJB vs JDBC
JDBC Transction over EJB Transaction
How to start EJB's ???
need a small project involving servlets, jsp and ejb
Need some college project ideas