aspose file tools*
The moose likes Java in General and the fly likes scanning items into database for online shopping site Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "scanning items into database for online shopping site" Watch "scanning items into database for online shopping site" New topic
Author

scanning items into database for online shopping site

martin botha
Greenhorn

Joined: May 20, 2011
Posts: 6
hi
i want to know how do i get a scanner to save the items into a database for an online shopping site
i sort of have an idea but i dont know how it will be integrated into the shopping site\
This is the idea
get items from supplier, scan them into a database (with software or what i dont know) then put them on shopping site then the customers can search for item and it would show up

any suggestions
thank you
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38784
    
  23
Welcome to the Ranch

I would start with the appropriate section of the Java™ tutorials.
martin botha
Greenhorn

Joined: May 20, 2011
Posts: 6
thanks
but i only need to know how the scanning of items into a database will work my boss wants to know more or less how it will work
Hunter McMillen
Ranch Hand

Joined: Mar 13, 2009
Posts: 492

Google is probably a decent place to start, try this search phrase:

"Java Scanner scanning into database"

Hunter


"If the facts don't fit the theory, get new facts" --Albert Einstein
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14144
    
  18

What exactly do you mean by "scanning" items - do you mean use a barcode scanner to read the barcodes and add those to a database? Or scanning images?


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
martin botha
Greenhorn

Joined: May 20, 2011
Posts: 6
"Java Scanner scanning into database"

doesn't give a lot of results thanks anyway

and i mean scanning of barcodes of items and add them to a database

and anyone know which software will be used i see people talk about using oracle isn't oracle used more for shipment orders
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19693
    
  20

Separate the two problems. First find out how to scan barcodes, and what the result type is (String, int, byte[], ?). Focus on inserting after that. After all, you can scan barcodes and just display the results, and you can insert almost anything into a database. They really are two separate problems that come together in your application.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
martin botha
Greenhorn

Joined: May 20, 2011
Posts: 6
OK here is the thing we are working on summer cart so i dont have to worry about the databases

All i need to know is when i scan the barcodes do i need any software or can i just add it in word or whatever

and upload it to the database
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14144
    
  18

I've never done it myself, but I know that you can buy barcode scanners which plug into your computer and which work just like a keyboard. So, if you scan a barcode, it enters the digits of the barcode into the computer as if you were typing those digits on a regular keyboard.

So, what you'd have to make is a simple program that reads the digits from the keyboard, and then process the data. You don't need anything special to handle the barcode scanner.
martin botha
Greenhorn

Joined: May 20, 2011
Posts: 6
Thanks jesper

I have seen the barcode scanners that works like a keyboard all we need is the software for it.

So you dont know if there is any program we can buy to use for that because we dont really have the time to make one.
Hunter McMillen
Ranch Hand

Joined: Mar 13, 2009
Posts: 492

I imagine the actual device that scans the barcode should come with some sort of scanning software. It wouldn't be that great of a product if it didn't


Hunter
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14144
    
  18

If the scanner acts as if it is a keyboard, you probably don't need any driver or other software for it.

I think Martin is looking for a program to insert the scanned codes into his database. When you have such a scanner, it will work exactly the same as when you would type in the digits of the barcode manually on a normal keyboard. You wouldn't need any special software other than what you're already using to enter the item numbers.

Do you already have software for your online shopping site? If yes, then it most likely has a module to enter product details. There, you'd just scan the barcode instead of manually typing in the product code digits. Or do you want to do more than just enter the barcode digits?
martin botha
Greenhorn

Joined: May 20, 2011
Posts: 6
Basically what we want to do with the barcodes thing is we want to check the stock levels of the products

Just to add items whenever they are low so we dont have to type in everything into a database

So if you buy a scanner you will get software for it with the scanner and you can just add it from there into a database

Thanks for the replies been very helpful

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: scanning items into database for online shopping site