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 ?