This week's book giveaway is in the Java 9 forum.
We're giving away four copies of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications and have Sander Mak & Paul Bakker on-line!
See this thread for details.
Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

J2EE question  RSS feed

 
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]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!