<?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 about:rileycsillag fka drewcsillag</title>
		<link>https://riley.thecsillags.com/categories/java/</link>
		<description>Recent content in Java on about:rileycsillag fka drewcsillag</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Thu, 08 Dec 2016 15:53:40 +0000</lastBuildDate>
		
			<atom:link href="https://riley.thecsillags.com/categories/java/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Jan20 - A Java Succession Library</title>
				<link>https://riley.thecsillags.com/posts/2016-12-08-jan-20-succession/</link>
				<pubDate>Thu, 08 Dec 2016 15:53:40 +0000</pubDate>
				<guid>https://riley.thecsillags.com/posts/2016-12-08-jan-20-succession/</guid>
				<description>&lt;p&gt;Since it&amp;rsquo;s related to my day job, it&amp;rsquo;s over on&#xA;&lt;a href=&#34;https://medium.com/@drewcsillag/a-succession-library-for-java-3beeab7acf9c#.se2f0no07&#34;&gt;Medium&lt;/a&gt;.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Java Server Best Practices</title>
				<link>https://riley.thecsillags.com/posts/2015-04-25-java-server-best-practices/</link>
				<pubDate>Sat, 25 Apr 2015 11:18:00 -0400</pubDate>
				<guid>https://riley.thecsillags.com/posts/2015-04-25-java-server-best-practices/</guid>
				<description>&lt;p&gt;When writing Java servers (or servlets that run in a container), I&amp;rsquo;ve&#xA;learned a few things that have saved me a bunch of trouble during&#xA;development, as well as later on.&lt;/p&gt;&#xA;&lt;!-- more --&gt;&#xA;&lt;h2 id=&#34;dependency-injection&#34;&gt;Dependency Injection&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Injection: if something is singleton (request, global or any other&#xA;scope), the only things injected to it should also be singleton &amp;ndash;&#xA;otherwise you get implicit singletons of things the singleton holds,&#xA;and may not be what you want &amp;ndash; and generally harder to reason&#xA;about.  Better to have the singleton instances be leaves in the tree&#xA;of injected things.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Dependency Injection Without A Framework</title>
				<link>https://riley.thecsillags.com/posts/2015-02-19-dependency-injection/</link>
				<pubDate>Thu, 19 Feb 2015 11:18:00 -0400</pubDate>
				<guid>https://riley.thecsillags.com/posts/2015-02-19-dependency-injection/</guid>
				<description>&lt;p&gt;I think that most people would agree these days that dependency&#xA;injection is a good thing for many reasons.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It allows you to decouple concrete classes from each other&lt;/li&gt;&#xA;&lt;li&gt;It makes for a uniform method of object construction&lt;/li&gt;&#xA;&lt;li&gt;It simplifies plumbing&lt;/li&gt;&#xA;&lt;li&gt;Makes it easier to make testable classes&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The problem that I have with it is that, at least in Java, the main&#xA;frameworks for doing it, being Guice and Spring, can sometimes be as&#xA;bad as the problem DI tries to solve.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Why Java?</title>
				<link>https://riley.thecsillags.com/posts/2015-01-24-why-java/</link>
				<pubDate>Sat, 24 Jan 2015 11:18:00 -0400</pubDate>
				<guid>https://riley.thecsillags.com/posts/2015-01-24-why-java/</guid>
				<description>&lt;h1 id=&#34;background&#34;&gt;Background&lt;/h1&gt;&#xA;&lt;p&gt;I started my professional career with a Pascal program (I know that&#xA;dates me a bit) and then continued with C and C++ and discovered&#xA;Python around version 1.4 and used it heavily for over ten years, and&#xA;&lt;strong&gt;really&lt;/strong&gt; didn&amp;rsquo;t like Java when I first met it (version 1.3-1.4 time&#xA;frame).&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve also used a ton of other languages for real deployed projects,&#xA;like Python, Ruby, C, C++, Common Lisp (which I &lt;strong&gt;&amp;lt;3 love&lt;/strong&gt;), C#,&#xA;Clojure, Visual Basic, and Go, so I&amp;rsquo;m a not the average &amp;ldquo;blub&amp;rdquo;&#xA;programmer saying this.&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
