Java: A platform for platforms
Sun's reorg may seem promising to shareholders but it's also a scramble for position. The question now is whether Sun can, or wants to, maintain its hold on Java technology. Especially with enterprise leaders like SpringSource and RedHat investing heavily in Java's future as a platform for platforms

Also see:

Discuss: Java: A platform for platforms?

Featured Whitepapers
Newsletter sign-up
View all newsletters

Sign up for our technology specific newsletters.

Enterprise Java
Email Address:
JavaWorld Daily Brew

BAR CODE READER

Tags:

I Am a beginner working for the development of PoS system on java.We already developed some basic functionality and We created the application in Web Development platform using J2EE (JSP,Servlets, Apache Tomcat, MySQL).In this project we need to implement bar code and credit card processing. But discussing with some java experts we got to know that it is not possible to implement the above facilities in Web Applications. Now we are planning to convert it as JAVA SWING Application.Can any one guide me at this point.
My doubts are

1)Which one is better a swing application or web for bar code reading??
2)How can i implement bar code reader??

Your rating: None Average: 3 (1 vote)

you can use an applet in

you can use an applet in your web application for bar code reading. You don't need to convert your whole system to swing base application. If more info provided I can do more help.

Barcode reader

You can use AJAX call to java api that can be linked to barcode reader API's that perform reading of barcode. We had used this technique to read barcodes and populate jsp form. barcode reading was done by vendor provided api

BAR CODE READER

hi sree,

Please don't change your web application to java swing application just for the two reasons you mentioned .Because you can implement both the things (bar code reader and accepting credit cards)easily with in a webapplication.Look at these links.
For barcode task
http://www.barcodelib.com/java_barcode/main.html
For credit card processing task the below link has code to check the authenticity of payment gateway that you are connecting
http://hc.apache.org/httpclient-3.x/authentication.html

regards,
ravindra.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.