<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>java on Terence Ponce&#39;s Website</title>
    <link>https://terenceponce.com/tags/java/</link>
    <description>Recent content in java on Terence Ponce&#39;s Website</description>
    <generator>Hugo -- gohugo.io</generator>
    <lastBuildDate>Sat, 26 Mar 2011 00:00:00 +0000</lastBuildDate><atom:link href="https://terenceponce.com/tags/java/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>A noob&#39;s attempt on Google App Engine using Java and Maven part 2</title>
      <link>https://terenceponce.com/posts/2011-03-26-a-noobs-attempt-on-google-app-engine-using-java-and-maven-part-2/</link>
      <pubDate>Sat, 26 Mar 2011 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2011-03-26-a-noobs-attempt-on-google-app-engine-using-java-and-maven-part-2/</guid>
      <description>In my last entry, I modified my Maven project so it can be deployed to Google App Engine. This time, I’m going to work on my actual application so I can finally have something to show to other people.
Right now, my Spring web application works fine on Google App Engine. Let me go over the code that I have so far. I first made a bean called Manufacturer:
1 2 3 4 5 6 7 8 9 10 11  package com.</description>
    </item>
    
    <item>
      <title>A noob&#39;s attempt on Google App Engine using Java and Maven</title>
      <link>https://terenceponce.com/posts/2011-03-12-a-noobs-attempt-on-google-app-engine-using-java-and-maven/</link>
      <pubDate>Sat, 12 Mar 2011 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2011-03-12-a-noobs-attempt-on-google-app-engine-using-java-and-maven/</guid>
      <description>Since I solved most of the problems that I encountered with Spring MVC, I decided to take it up a notch by using Google App Engine. If you haven’t heard about GAE, it’s basically a host for web applications that are built in Java or Python. Also, it’s an engine for building web applications (as you can see from the name). One of the benefits that you get from GAE is that your web application gets to be hosted by the same servers that power Google.</description>
    </item>
    
    <item>
      <title>Bad start with Spring part 2 - Resolved</title>
      <link>https://terenceponce.com/posts/2011-03-11-bad-start-with-spring-part-2-resolved/</link>
      <pubDate>Fri, 11 Mar 2011 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2011-03-11-bad-start-with-spring-part-2-resolved/</guid>
      <description>Last time, I was kind of frustrated as well as lazy about my problem. As a recap, I had a problem with manually injecting beans in Spring 3.0 because I tried doing it the old fashioned way. After a long time of reading and thinking, I realized that I’m having problems because I didn’t embrace the sudden transition I had with annotations.
Since I’m the kind of person who embraces change, I decided to stop whining and use the auto wiring feature instead.</description>
    </item>
    
    <item>
      <title>Bad start with Spring part 2</title>
      <link>https://terenceponce.com/posts/2011-03-07-bad-start-with-spring-part-2/</link>
      <pubDate>Mon, 07 Mar 2011 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2011-03-07-bad-start-with-spring-part-2/</guid>
      <description>Recently, I realized that Spring 2.5 was really old already. I was even called out for it:
 Terence why do you start with Spring 2.5 now when Spring 3 is already over a year old? – Sean Patrick Floyd Feb 24 at 10:50
 The quote came from a comment in my question on StackOverflow.
Anyway, I decided to try and use Spring 3.0 because of that. One of the new things that I encountered was the way Spring 3.</description>
    </item>
    
    <item>
      <title>Bad start with Spring - Resolved</title>
      <link>https://terenceponce.com/posts/2011-03-06-bad-start-with-spring-resolved/</link>
      <pubDate>Sun, 06 Mar 2011 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2011-03-06-bad-start-with-spring-resolved/</guid>
      <description>In my previous entry, I started to learn how to do simple CRUD operations using Spring-MVC’s JDBC feature. Unfortunately, it didn’t turn out to be as simple as I thought.
So my problem was with this unit test that was failing because it returns an empty result set:
1 2 3 4 5  public void testGetCompany() { Company company = companyDao.getCompany(1); assertEquals(&amp;#34;Benjo&amp;#34;, company.getName()); }   This is getCompany()’s logic:</description>
    </item>
    
    <item>
      <title>Bad start with Spring</title>
      <link>https://terenceponce.com/posts/2011-03-01-bad-start-with-spring/</link>
      <pubDate>Tue, 01 Mar 2011 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2011-03-01-bad-start-with-spring/</guid>
      <description>Recently, one of my good friends asked me to make a simple web application for them. Since I’ve been wanting to learn Spring for quite some time now, I decided to take on his request because I’m such a good person. Just kidding, I really just wanted to have an excuse to learn Spring.
After a few minutes of Google searching, I came across the official tutorial for Spring MVC. I noticed that the tutorial was a bit outdated and had a few errors, but I still managed to finish the tutorial in spite of that.</description>
    </item>
    
    <item>
      <title>Inheritance in Java</title>
      <link>https://terenceponce.com/posts/2011-01-29-inheritance-in-java/</link>
      <pubDate>Sat, 29 Jan 2011 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2011-01-29-inheritance-in-java/</guid>
      <description>DISCLAIMER: This article is a bit hard to swallow so I’ll try to explain it to you as simple as I can. I also need to mention that there are other concepts that will also be introduced in this chapter aside from Inheritance.
This is my first post for 2011, so happy new year! Anyway, as a preparation for my upcoming preliminary exam in Java, I decided to write about Inheritance in this article.</description>
    </item>
    
    <item>
      <title>Access Modifiers in Java</title>
      <link>https://terenceponce.com/posts/2010-12-12-access-modifiers-in-java/</link>
      <pubDate>Sun, 12 Dec 2010 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2010-12-12-access-modifiers-in-java/</guid>
      <description>As I’ve said in my previous entry, classes should never be invoked like this:
1 2 3 4 5 6 7 8  myCar.brand = &amp;#34;Porsche&amp;#34;; myCar.color = &amp;#34;Black&amp;#34;; myCar.name = &amp;#34;911 GT3&amp;#34;; myCar.speed = 120; myCar.gear = 2; System.out.println(&amp;#34;myCar is a &amp;#34; + myCar.color + &amp;#34; &amp;#34; + myCar.brand + &amp;#34; &amp;#34; + myCar.name + &amp;#34;.&amp;#34;); System.out.println(&amp;#34;myCar is running on &amp;#34; + myCar.speed &amp;#34; miles per hour on just gear &amp;#34; + myCar.</description>
    </item>
    
    <item>
      <title>Code Refactoring</title>
      <link>https://terenceponce.com/posts/2010-12-15-code-refactoring/</link>
      <pubDate>Sun, 12 Dec 2010 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2010-12-15-code-refactoring/</guid>
      <description>In the real world, you’re not a one-man team like you once were during college (because apparently, it’s cheating in your professor’s eyes). You will work with other people when developing software. If that’s the case, it’s inevitable that those other people you’re working with will also be looking at your code. Not only that, they’ll also be working with the code that you will write.
One of the things a developer must strive for is better code.</description>
    </item>
    
    <item>
      <title>Classes and Objects in Java</title>
      <link>https://terenceponce.com/posts/2010-12-04-classes-and-objects-in-java/</link>
      <pubDate>Sat, 04 Dec 2010 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2010-12-04-classes-and-objects-in-java/</guid>
      <description>DISCLAIMER: Do not use any of the code found in this entry for real life exercises. They do not adhere to the standards of OOP. I intentionally wrote wrong code in this entry for the sake of discussion. I will smack you in the face if you used the following code in real life exercises.
I’ve been trying to teach some of my classmates about the concepts of OOP, so I thought I’d turn them into a series blog posts for future reference.</description>
    </item>
    
    <item>
      <title>Regular Expressions in Java</title>
      <link>https://terenceponce.com/posts/2010-11-25-regular-expressions-in-java/</link>
      <pubDate>Thu, 25 Nov 2010 00:00:00 +0000</pubDate>
      
      <guid>https://terenceponce.com/posts/2010-11-25-regular-expressions-in-java/</guid>
      <description>This semester, I have a class in Java, specifically, Java EE. It’s about time I have another programming class. It’s been 2 years already since my last class in Java. So anyway, for our first exercise, the professor asked us to make a basic Java application.
The requirement for the application is to use classes and packages. The classes should have private attributes, public methods, getter and setter methods. I figured I should try using regular expressions since one of the class attributes’ setter method seems to be screaming for one.</description>
    </item>
    
  </channel>
</rss>
