• Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE question

 
Sub swamy
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is regarding which approach to choose - what if there is a requirement to fetch around a million records from the database - do we need to go in for EJB's or a JDBC access would suffice? Not much information is available regarding the security, performance and transaction features of the intended application.

My understanding is to decide based on the availability/requirement of these features. Or is there anything else that we need to consider here? Where/What is the demarcation that says - use EJB or otherwise ?
 
Andr� Salvati
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use JDBC. This way you can better explore driver resources for big amount of data.
[ July 13, 2006: Message edited by: Andr� Salvati ]
 
peter cooke
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See my response in
[URL=http://www.coderanch.com/t/318363/EJB-JEE/java/Should-EJB-here[/url]
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!