Hello, I have an Ms-Access database which I can connect to using JDBC. The next step is to show the fields in a Jlist so the user can select them. What is the best way to achieve this. Use Sql statements within the Jlist? Thanks for any advice, Kristof
posted 14 years ago
In my opinion the JList is not the place for it. If you decided later to display using a different component, you would have to move or copy the code. If you decide to go to jsp or servlets, same thing. If you decide to use a different DB, you have to change other areas. I just happen to be a believer in separating the presentation from data access and any business logic. Just my .02.