<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Java on Holyarmy.org</title>
		<link>https://holyarmy.org/tags/java/</link>
		<description>Recent content in Java on Holyarmy.org</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Fri, 08 Jan 2010 10:46:59 +0000</lastBuildDate>
		
			<atom:link href="https://holyarmy.org/tags/java/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Have fun RESTing!</title>
				<link>https://holyarmy.org/2010/01/have-fun-resting/</link>
				<pubDate>Fri, 08 Jan 2010 10:46:59 +0000</pubDate>
				<guid>https://holyarmy.org/2010/01/have-fun-resting/</guid>
				<description>&lt;p&gt;Cheesy post titles aside…&lt;/p&gt;&#xA;&lt;p&gt;I just discovered the very simple but incredibly useful &lt;strong&gt;RESTClient&lt;/strong&gt; at: &lt;a href=&#34;http://code.google.com/p/rest-client/&#34;&gt;http://code.google.com/p/rest-client/&lt;/a&gt; .&lt;/p&gt;&#xA;&lt;p&gt;It’s a simple Java GUI app for testing out one’s REST services. You can choose your: URL, HTTP method, add any custom headers, add a body for PUT/POST, set auth info, SSL info, and do simple scripting.&lt;/p&gt;&#xA;&lt;p&gt;This is an incredibly useful tool, AND a far cry better than doing it all on the command line with curl.&lt;/p&gt;</description>
			</item>
			<item>
				<title>VPN on Ubuntu Linux with Juniper Network Connect</title>
				<link>https://holyarmy.org/2009/06/vpn-on-ubuntu-linux-with-juniper-network-connect/</link>
				<pubDate>Mon, 15 Jun 2009 23:13:25 +0000</pubDate>
				<guid>https://holyarmy.org/2009/06/vpn-on-ubuntu-linux-with-juniper-network-connect/</guid>
				<description>&lt;p&gt;There’s one standard document on HOWTO get Network Connect working on Ubuntu Linux. It’s mad scientist’s doc: &lt;a href=&#34;http://mad-scientist.us/juniper.html&#34;&gt;http://mad-scientist.us/juniper.html&lt;/a&gt; . However, there are a few things not covered. I’ll assume that you’ve followed mad scientist’s excellent guide before going any further.&lt;/p&gt;&#xA;&lt;h3 id=&#34;issue-1-64-bit-ubuntu&#34;&gt;Issue #1: 64-bit Ubuntu&lt;/h3&gt;&#xA;&lt;p&gt;By default, when you install java on your 64-bit system, you get a 64-bit java. No surprise there, right? Well, Juniper’s tools don’t play nice with 64-bit java. If you attempt to start the &lt;strong&gt;junipernc&lt;/strong&gt; script you’ll promptly see the “VPN has failed!” error message.&lt;figure id=&#34;attachment_400&#34; style=&#34;width: 204px&#34; class=&#34;wp-caption alignnone&#34;&gt;&lt;/p&gt;</description>
			</item>
			<item>
				<title>Fixing Binary File Corruption from Ant Copies</title>
				<link>https://holyarmy.org/2007/10/fixing-binary-file-corruption-from-ant-copies/</link>
				<pubDate>Thu, 01 Nov 2007 02:44:09 +0000</pubDate>
				<guid>https://holyarmy.org/2007/10/fixing-binary-file-corruption-from-ant-copies/</guid>
				<description>&lt;p&gt;So there I was, poking around in some java / j2ee code, trying to learn how it all works. I did some testing on a Linux server and realized, something is broken. It seemed something was corrupting ALL the Jar files in WEB-INF/lib/.&lt;/p&gt;&#xA;&lt;p&gt;A co-worker guessed that the token filtering Ant was doing might be the culprit. He was right. It seems Ant has issues with detecting whether files are binary or not, given that it uses a Reader class which runs the files through a character decoder. This is specifically a problem on Unix systems since they commonly use UTF8 character set, and in that case Ant hasn’t a clue if its looking at UTF8 text or binary data.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
