Articles Tagged ‘html’
Monday, November 12th, 2012
There are a lot of frameworks out there to create offline applications and rich clients in Java.
One exotic alternative is to use the HTML, CSS and Javascript for this purpose and render the application in a Java frame using SWT and SWT’s browser component.
(more…)
Tags: bootstrap, css, html, Java, ri, richclient, swt
Posted in Apps, Java | 3 Comments »
Sunday, October 21st, 2012
The HTML5 working draft describes different techniques to push information from a server to the client and the one described in this tutorial are Server-Send Events (SSE).
Using Server-Send-Events eliminates the need to poll a server periodically for information using AJAX and is really easy to implement because of the simple specification and the fact that nearly all modern browsers already implement this specification.
(more…)
Tags: asynchronous, html, html5, javascript, jetty, js, nodejs, server send events, servlet, sse
Posted in Java, Javascript, Web | 1 Comment »
Sunday, August 5th, 2012
Some funny stuff can be done using HTML 5, canvas elements and the video events API.
In the following example we’re using these techniques to apply graphic effects to a video embedded in a HTML page..
(more…)
Tags: canvas, codec, html, html5, javascript, js, video
Posted in Javascript, Snippet, Web | 3 Comments »
Tuesday, August 30th, 2011
Sometimes in a developer’s life there is no clean API available to gather information from a web application .. no SOAP, no XML-RPC and no REST .. just a website hiding the information we’re looking for somewhere in its DOM hierarchy – so the only solution is screenscraping.
Screenscraping always leaves me with a bad feeling – but luckily there is a tool that makes this job at least a bit easier for a developer .. jsoup to the rescue!
(more…)
Tags: crawler, dom, extraction, html, jsoup, maven, parser, screenscraping, tutorial
Posted in Java | 2 Comments »