<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Spartan Java&#187; Web related</title>
	<atom:link href="http://www.spartanjava.com/category/web-related/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.spartanjava.com</link>
	<description>Simple yet powerful Java programming</description>
	<lastBuildDate>Wed, 25 Nov 2009 15:26:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Super simple AJAX for Java apps using JQuery and JSON</title>
		<link>http://www.spartanjava.com/2009/super-simple-ajax-for-java-apps-using-jquery-and-json/</link>
		<comments>http://www.spartanjava.com/2009/super-simple-ajax-for-java-apps-using-jquery-and-json/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 15:46:17 +0000</pubDate>
		<dc:creator>ricardoz</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web related]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[jsp]]></category>

		<guid isPermaLink="false">http://www.spartanjava.com/?p=38</guid>
		<description><![CDATA[Back in April I wrote about Java to/from JSON serialization using XStream. After developing several AJAX applications using PHP and JQuery, I found that for a lot of scenarios a very simple approach is not only easy but very effective. In the case of PHP, you can effectively enable AJAX in your apps using jQuerys [...]]]></description>
		<wfw:commentRss>http://www.spartanjava.com/2009/super-simple-ajax-for-java-apps-using-jquery-and-json/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Obovweb source code &#8211; a Google Appengine sample</title>
		<link>http://www.spartanjava.com/2009/obovweb-source-code-a-google-appengine-sample/</link>
		<comments>http://www.spartanjava.com/2009/obovweb-source-code-a-google-appengine-sample/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 16:50:43 +0000</pubDate>
		<dc:creator>ricardoz</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web related]]></category>
		<category><![CDATA[appengine]]></category>
		<category><![CDATA[dwr]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hmac]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[implementation details]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[obov]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[source code]]></category>

		<guid isPermaLink="false">http://www.spartanjava.com/?p=37</guid>
		<description><![CDATA[Someone asked me about the implementation details of the Google Appengine sample I published a few weeks ago (http://obovweb.appspot.com/). Well, you can get a hold of the source code here.
There&#8217;s not much to tell, apart from the specific HMAC-SHA1 implementation (which you can check out in Obovs source code) it&#8217;s a very simple JSP/DWR application.
]]></description>
		<wfw:commentRss>http://www.spartanjava.com/2009/obovweb-source-code-a-google-appengine-sample/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocking multiple clicks real easy</title>
		<link>http://www.spartanjava.com/2009/blocking-multiple-clicks-real-easy/</link>
		<comments>http://www.spartanjava.com/2009/blocking-multiple-clicks-real-easy/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 19:57:25 +0000</pubDate>
		<dc:creator>ricardoz</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web related]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[multiple clicks]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.spartanjava.com/?p=31</guid>
		<description><![CDATA[I&#8217;ve faced this problem a few times before, but this time I decided to find a generic solution to it. I needed to prevent users from clicking action links in a web application multiple times and therefore triggering some server side action a lot of times when only one time was enough/needed.
After looking around for [...]]]></description>
		<wfw:commentRss>http://www.spartanjava.com/2009/blocking-multiple-clicks-real-easy/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Trying out Google Appengine &#8211; OTP generation app</title>
		<link>http://www.spartanjava.com/2009/trying-out-google-appengine-otp-generation-app/</link>
		<comments>http://www.spartanjava.com/2009/trying-out-google-appengine-otp-generation-app/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 21:29:53 +0000</pubDate>
		<dc:creator>ricardoz</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web related]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[appengine]]></category>
		<category><![CDATA[dwr]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[otp]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.spartanjava.com/?p=29</guid>
		<description><![CDATA[I decided to try out the new Java based version of Google Appengine. So i wrote a very simple web app that allows the user to generate one time passwords (OTP) using the HMAC-SHA1 algortihm (see OATH).
You can check it out at http://obovweb.appspot.com. As the name suggests its based on my obov library.

Anyway, back to [...]]]></description>
		<wfw:commentRss>http://www.spartanjava.com/2009/trying-out-google-appengine-otp-generation-app/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Automatically serialize POJOs to and from JSON</title>
		<link>http://www.spartanjava.com/2009/automatically-serialize-pojos-to-and-from-json/</link>
		<comments>http://www.spartanjava.com/2009/automatically-serialize-pojos-to-and-from-json/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 16:37:59 +0000</pubDate>
		<dc:creator>ricardoz</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web related]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[json]]></category>

		<guid isPermaLink="false">http://www.spartanjava.com/?p=25</guid>
		<description><![CDATA[The best tool I&#8217;ve found so far to serialize POJOs to JSON (and back again) is XStream, it&#8217;s automatic, simple and elegant, check it out.
]]></description>
		<wfw:commentRss>http://www.spartanjava.com/2009/automatically-serialize-pojos-to-and-from-json/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Paginated lists made really easy (part 2 of 2 &#8211; back-end)</title>
		<link>http://www.spartanjava.com/2008/paginated-lists-made-really-easy-part-2-of-2-back-end/</link>
		<comments>http://www.spartanjava.com/2008/paginated-lists-made-really-easy-part-2-of-2-back-end/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 12:47:59 +0000</pubDate>
		<dc:creator>ricardoz</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web related]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[data access]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[dwr]]></category>
		<category><![CDATA[facade class]]></category>
		<category><![CDATA[handling]]></category>
		<category><![CDATA[ibatis]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[pagination]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[session context]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.spartanjava.com/?p=23</guid>
		<description><![CDATA[In our first installment we reviewed the front-end part of developing a paginated list using AJAX and Java. Now we will dive into the back-end of our pagination mechanism.

The entry point for all client-server calls (via AJAX) is a facade class that provides one function for each feature we need to provide. This is the [...]]]></description>
		<wfw:commentRss>http://www.spartanjava.com/2008/paginated-lists-made-really-easy-part-2-of-2-back-end/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Setup your web server to properly serve MS Office 2007 files</title>
		<link>http://www.spartanjava.com/2008/setup-your-web-server-to-properly-serve-ms-office-2007-files/</link>
		<comments>http://www.spartanjava.com/2008/setup-your-web-server-to-properly-serve-ms-office-2007-files/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 17:18:31 +0000</pubDate>
		<dc:creator>ricardoz</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web related]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[mime]]></category>
		<category><![CDATA[office]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[zip]]></category>

		<guid isPermaLink="false">http://www.spartanjava.com/?p=22</guid>
		<description><![CDATA[Most web servers are missing the new MIME types needed for Office 2007 files (docx, xslx, etc.) and when you server one of this files from your web application the users browser typically tries to open them as ZIP files.

To fix it just add the needed MIME types to your web server:

docm application/vnd.ms-word.document.macroEnabled.12
docx 	application/vnd.openxmlformats-officedocument.wordprocessingml.document
dotm 	application/vnd.ms-word.template.macroEnabled.12
dotx [...]]]></description>
		<wfw:commentRss>http://www.spartanjava.com/2008/setup-your-web-server-to-properly-serve-ms-office-2007-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Download a file using Java</title>
		<link>http://www.spartanjava.com/2008/download-a-file-using-java/</link>
		<comments>http://www.spartanjava.com/2008/download-a-file-using-java/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 11:17:01 +0000</pubDate>
		<dc:creator>ricardoz</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web related]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.spartanjava.com/?p=21</guid>
		<description><![CDATA[Download a file using Java from a URL should be a simple task, well it is :P. If you just don&#8217;t want to think too much about it here is a sample method to do it.



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
public void download&#40;String address, String localFileName&#41; &#123;
    OutputStream out = null;
    URLConnection conn = [...]]]></description>
		<wfw:commentRss>http://www.spartanjava.com/2008/download-a-file-using-java/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Simple &amp; nice Javascript date picker</title>
		<link>http://www.spartanjava.com/2008/simple-nice-javascript-date-picker/</link>
		<comments>http://www.spartanjava.com/2008/simple-nice-javascript-date-picker/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 11:39:06 +0000</pubDate>
		<dc:creator>ricardoz</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web related]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://www.spartanjava.com/?p=19</guid>
		<description><![CDATA[Check it out at http://www.styledisplay.com/mootoolsdatepicker/, it&#8217;s quite simple to use and looks great.
]]></description>
		<wfw:commentRss>http://www.spartanjava.com/2008/simple-nice-javascript-date-picker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paginated lists made really easy (part 1 of 2 &#8211; front-end)</title>
		<link>http://www.spartanjava.com/2008/paginated-lists-made-really-easy-part-1-of-2-front-end/</link>
		<comments>http://www.spartanjava.com/2008/paginated-lists-made-really-easy-part-1-of-2-front-end/#comments</comments>
		<pubDate>Wed, 14 May 2008 11:52:03 +0000</pubDate>
		<dc:creator>ricardoz</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Web related]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[dwr]]></category>
		<category><![CDATA[handling]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[simple]]></category>

		<guid isPermaLink="false">http://www.spartanjava.com/?p=12</guid>
		<description><![CDATA[You have to display a list of items in a web application, for each item allowing several operations (ie modification, deletion, etc.). The list can potentially be quite long, so pagination is required.
This scenario is common in backoffice web applications and public web sites, be it for administering information or as search results display, etc.
I&#8217;ll [...]]]></description>
		<wfw:commentRss>http://www.spartanjava.com/2008/paginated-lists-made-really-easy-part-1-of-2-front-end/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
