•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 391,991 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,307 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 191 | Replies: 2
![]() |
•
•
Join Date: Apr 2008
Posts: 81
Reputation:
Rep Power: 1
Solved Threads: 0
Hi...i m new to java....
problem defination:---
Book store is basically a collection of variety of books. Store has various sections like art, world history, literature technical, and so on. All books are categorized in to one of these sections. User should be able add/modify/remove sections and books. On selection of a particular section, user should see the section details along with the list of books in the section. Similarly on selection of a book user should see the book details like book title, author, brief description of a book, price etc.
To do this program what should i use means
should i use jdbc or list or arrylist or any other ???
How to do this??
problem defination:---
Book store is basically a collection of variety of books. Store has various sections like art, world history, literature technical, and so on. All books are categorized in to one of these sections. User should be able add/modify/remove sections and books. On selection of a particular section, user should see the section details along with the list of books in the section. Similarly on selection of a book user should see the book details like book title, author, brief description of a book, price etc.
To do this program what should i use means
should i use jdbc or list or arrylist or any other ???
How to do this??
you're the one who were given the task, so I think you know that better than us.
for instance, what you state here, says nowhere that there is a database involved. if not, why would you want to use jdbc???
I don't know what limitations were set for (for instance) the number of sections, or the number of books in each section, so maybe an array is all you need.
for instance, what you state here, says nowhere that there is a database involved. if not, why would you want to use jdbc???
I don't know what limitations were set for (for instance) the number of sections, or the number of books in each section, so maybe an array is all you need.
You will need a database, if you are doing a more advanced course.
If you need to store the data somewhere, so the next time you run the application you will have them back. then you could use a database.
But if you want to keep thinks simple, you could save the information in .txt files, and write a class that reads/writes from that file.
If you don't want to save anything then the above are not necessary. But you will need an ArrayList or Vector
If you need to store the data somewhere, so the next time you run the application you will have them back. then you could use a database.
But if you want to keep thinks simple, you could save the information in .txt files, and write a class that reads/writes from that file.
If you don't want to save anything then the above are not necessary. But you will need an ArrayList or Vector
I AM the 12th CYLON
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
Similar Threads
- project confusion (Computer Science and Software Design)
- hi i need some problem defination on network security isues (Network Security)
- hi i need some problem defination on network security isues (Website Reviews)
- Decleration and defination Problem (C++)
- Network security problem (Network Security)
Other Threads in the Java Forum
- Previous Thread: .mp3 in jsp
- Next Thread: Drawing a dashed line


Linear Mode