Hiberate Hibernate offers the ability to control the connection between the application and database for you, instead of spending long hours writing connection handling code, as well as ‘Bean populator’ code. By ‘Bean populator’ code, I mean the simple result set handling with the populating of JavaBeans. Much of this code is redundant, is relatively [...]
Find out your ISP does not block port 25? Drooling over the thought of running your own personal mail server? No? Well don’t click the link below then… Qmail Rocks! After following this guide you’ll have a fully functional mail server, which can handle multiple domains (using vQadmin and vpopmail). It also helps you setup [...]
The following code instantiates a new Workbook with a single sheet, row and cell. HSSFWorkbook wb = new HSSFWorkbook(); HSSFSheet s = wb.createSheet(); HSSFRow r = s.createRow(0); HSSFCell c = r.createCell(0); You can also define Cell styles and fonts for cell styles, which enable you to layout the look of the cells. Below is a [...]
POI Recently I worked on a project where one requirement was to basically generate some sort of spreadsheet to allow a person to view a large amount of data quickly and easily. Now, typically in the past, we’ve just written out a comma-delimited file (CSV) which Excel would then parse into the various columns it [...]
Well the official christening of the blog is upon us. Envision a large bottle of champagne being smashed against the side of your computer if you want…I didn’t but that won’t stop you from thinking about it. Hopefully I’ll come up with some decent stuff to post. Later.