JDBC Scalability

Java native threads are fully preemptive and provide good scalability on multi-processor machines. There is another implementation of Java threads that is not preemptive—Java Green Threads. On Windows NT, the default is native OS thread, whereas on Solaris the default is the Green thread. JDBC drivers do not have any scalability restrictions by themselves but the number of connections might be restricted by the number of processes specified in the init.ora file on the database server. It should be further noted that if the Green threads, which are non-preemptive, are used, the number of connections might be much lower than that indicated by the processes parameter.

Get e-Commerce Applications Using Oracle8i and Java from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.