Fri, 1 July 2016
You can subscribe to the new show via this link: http://coderscampus.com/itunes
There will be no more episodes of the How to Program with Java podcast (this podcast), all new episodes will be shared via the Coders Campus Podcast.
So please go subscribe to that one now :)
Tue, 28 June 2016
I'm happy to announce that dropping on July 1st, 2016 - a brand new podcast will be hitting the digital shelves!
Although the How to Program with Java podcast will be coming to an end, I'll be launching a brand new series dedicated to teaching you how to become a full-stack Java web application programmer.
This new podcast will be called the "Coders Campus Podcast", so be sure to search for it in iTunes or wherever you download your podcasts :)
Mon, 1 December 2014
Okay so you know how to add some styles and CSS to your webpage, that’s a great start, but what about deciding where all your text should go? What if you wanted to setup your website so that you have some text on the left hand side, and some images along the right?
This is where design and layout comes into play.
Mon, 17 November 2014
Cascading Style Sheets are a bit of a tricky beast in HTML. Given this fact, I wanted to dedicate an entire section to just this topic.
Let’s start with the basics, shall we?
What are Cascading Style Sheets (CSS)?
Well, we’ve already talked a little bit about HTML formatting tags (like
Cascading Style Sheets actually exist as a completely separate file to your HTML code.
Tue, 4 November 2014
In this HTML tutorial I would like to introduce two concepts to you:
Currently as of the date this was published, web browsers are (mostly) supporting HTML 5. HTML has gone through several versions and variations over it’s lifetime, and because of this it’s highly suggested that you include something called a DOCTYPE. The purpose of a DOCTYPE is to tell the web browsers what version of HTML you are using on any given webpage. The benefit of telling the web-browser what version of HTML you are using is that you save it from having to “guess”, which can often lead to strange behavior.
Wed, 29 October 2014
An Introduction to HTML…
HTML stands for HyperText Markup Language, and all this really means is that HTML is not a programming language, but rather just a set of rules for structuring your text. This means that if you type out certain words in a particular way, you can create a website! Piece of cake right? For the most part, YES, it is a piece of cake
Mon, 20 October 2014
The presentation layer is one of the three main layers in object-oriented programming.
The three main layers include:
Now, these three layers are typically related to enterprise web applications. It’s a design pattern used to help separate your code out in three distinct areas that (if need be) can easily be switched out with another programming language or technology.
So if you keep all of your presentation layer code in one area of your application, switching presentation layer technologies shouldn’t be too difficult.
Same rules apply to the business and data layers. If you separated your code out properly, switching databases shouldn’t be too big of an issue.
Having said that, we’ll be focusing on the presentation layer.
The four big players (in terms of technology) in the presentation layer are as follows:
Fri, 10 October 2014
In our last Hibernate lesson, you learned how to fix duplicate data from hibernate queries.
In this lesson we’re going to focus on some of theaggregate functions that can be used with Hibernate, and of course that means diving into the
What’s important to note is that Hibernate doesn’t ever refer to it as
So, armed with this knowledge, let’s jump into the lesson!
Grouping Data with Hibernate
In our examples, I’m going to show you how to create a query with hibernate that will group your data in some manner.
When we build our query, we will be focusing on using Hibernate’s
First, let’s start off with an example that we will build on.
Mon, 15 September 2014
How to Fix Duplicate Data from Hibernate Queries
This problem was the bane of my existence when I first started using Hibernate because I had no idea where the problem was coming from.
If you’re executing a query and finding that you have a bunch of duplicate records and haven’t a clue why, then you’re in the right place.
You see the problem is typically caused by having left joins (or optional joins) in your objects. When you have a base object, like say
Consider this scenario… A
So what happens when you run a query that joins to the
So because of this, Hibernate doesn’t massage the data for you, it just returns exactly what it got from the database. The ball is in your court to tell Hibernate what to do with records it has retrieved.
There are two solutions to this problem:
Fri, 5 September 2014
Now it’s time to dive into the nitty gritty of Hibernate’s mysterious inner workings.
I’m by no means an expert in Hibernate, but I do use it almost every day for my own projects, so I do know a thing or two about how it works.
One topic that had me scratching my head for ages was the Hibernate life cycle. What I mean by the life cycle is the way Hibernate interacts with Java objects at certain points in the existence of said Java objects.
Let’s start from the beginning…
What the heck is a Hibernate Life Cycle?
You see, Hibernate is picky about your Java objects. Hibernate prefers your objects to be in a certain “state”, known as the persistent state… this persistent state is one of four different states that exist inside of the hibernate persistence life cycle.
Once you have a firm grasp of the different states that an object can be in (as it pertains to Hibernate) you’ll be well on your way to mastering the Hibernate framework.
So let’s get this Hibernate persistence life cycle lesson started shall we?
Continue reading via: http://howtoprogramwithjava.com/session58