User Name Password Register
DaniWeb IT Discussion Community
All
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
Reply
Join Date: Apr 2008
Posts: 81
Reputation: Aamit is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 0
Aamit Aamit is offline Offline
Junior Poster in Training

About my problem defination??

  #1  
Jul 4th, 2008
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??
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 133
Reputation: stultuske is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 15
stultuske's Avatar
stultuske stultuske is offline Offline
Junior Poster

Re: About my problem defination??

  #2  
Jul 4th, 2008
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.
Reply With Quote  
Join Date: Dec 2007
Location: Greece
Posts: 443
Reputation: javaAddict is on a distinguished road 
Rep Power: 1
Solved Threads: 43
javaAddict's Avatar
javaAddict javaAddict is offline Offline
Posting Pro in Training

Re: About my problem defination??

  #3  
Jul 4th, 2008
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
I AM the 12th CYLON
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Java Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Java Forum

All times are GMT -4. The time now is 9:46 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC