JWebThumb 0.3 was just released.
The most important change is the migration form XStream to XML Simple which allows JWebThumb to run in Google App Engine. Also support for 'status' request was added and 'fetch' method can now send thumbnails directly to output stream as an alternative to storing the bytes in memory.
If your project uses Maven simply add this dependency:
<dependency>
<groupId>com.commsen</groupId>
<artifactId>jwebthumb</artifactId>
<version>0.2</version>
</dependency>
to your POM to start using JWebThumb library.
Bluga.net WebThumb (http://webthumb.bluga.net) provides a white-label web service API for generating web thumbnails and full size snapshots of websites.
JWebThumb is Java API that makes it easy to use Bluga.net WebThumb from Java code. Here is simple example:
WebThumbService webThumbService = new WebThumbService("YOUR API KEY");
WebThumbRequest request = new WebThumbRequest("http://commsen.com", OutputType.jpg);
WebThumbJob job = webThumbService.sendRequest(request);
System.out.println("Thumbnail will be ready in " + job.getEstimate() + " seconds!");
// sleep for job.getEstimate() seconds
WebThumbFetchRequest fetchRequest = new WebThumbFetchRequest(job.getId(), Size.zip);
byte[] imageBytes = webThumbService.fetch(fetchRequest);
FileOutputStream fos = new FileOutputStream(new File("commsen_com.zip"));
fos.write(imageBytes);