This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSF and the fly likes How to display a barcode in the form Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "How to display a barcode in the form" Watch "How to display a barcode in the form" New topic
Author

How to display a barcode in the form

Stu Quinn
Ranch Hand

Joined: Feb 27, 2009
Posts: 35
Good day,

Web page development really is not my area and I need to determine the best approach to display a barcode. Any suggestions and snippets would be appreciated.

Note I am restricted to JDK 1.4 and JSF 1.1 running on Websphere 6.0.

Thanks for any assistance,
Stu

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14487
    
    7

Hasn't IBM dropped support for WebSphere 6.0? Everyone I know is running WAS 6.1. Which supports Java 5. And speaking of support, Sun - a/k/a "Oracle America' stopped supporting Java 1.4 quite some time ago. Back before Oracle bought them, in fact. Don't look now, but your boat is slowly sinking.

Barcodes can be rendered on JSF pages in 2 ways.

One way is to render them as graphic images on the server and then display them just like you would any other dynamically-created image.

The second way involved setting up a web page to actually invoke a barcode font and output the data as text to be rendered using that font.

The second way is more precise, but harder to do, since it basically requires a font download.


Customer surveys are for companies who didn't pay proper attention to begin with.
Stu Quinn
Ranch Hand

Joined: Feb 27, 2009
Posts: 35
Yes, I am aware my platform is dated, however that was the hand I was dealt. I need a bumper sticker that reads "I would rather be coding EJB3 on JBOSS".

As for displaying the barcode I am supporting in-house PCs so I can load up a font. I will head down that route.

I ran across a JSF component that uses Barbeque. I will take a look at that as well.

Thanks,
Stu
Stu Quinn
Ranch Hand

Joined: Feb 27, 2009
Posts: 35
I neglected to mention where I found the solution:

http://www.jroller.com/mert/entry/jsfbarcodecreator_released_in_jsf_comp#comments

Life is good,
Stu
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to display a barcode in the form
 
Similar Threads
generate barcode image
form property not found struts 1
Need Help in barcode display
barcode in jsp
Barcode