␡
- Collection<T> and the Java Collection Framework
- The Java ArrayList
- Instantiating an Object of ArrayList
- Space Versus Time Tradeoffs
- Hooking Up Some ArrayList Code to a Database
- Running the Supplied Java Code
- Conclusion
Like this article? We recommend
Hooking Up Some ArrayList Code to a Database
I've haven't demonstrated the use of ArrayList code in conjunction with a database. However, this isn't so far removed from the examples illustrated. If you have a look at my InformIT Derby article, there are examples of code that retrieve data from a (Derby) database. It might be an interesting exercise to use some of the ideas in this article for handling the data coming back from some real database access code.