December 02 2017 by Kevin Bowersox

The following lesson discusses the potential for cross site scripting vulnerabilities to arise when developers misuse jQuery. The lesson briefly discusses jQuery's html() and text() methods before providing a real life example of the attack vector.

Continue Reading
July 01 2014 by Kevin Bowersox

The following tutorial explains the concepts of classes, instances and references in the Java programming language. The tutorial explains and clarifies the fundamentals of each concept by using demonstrations. This tutorial serves as a primer for those looking to gain an insight into more intermediate topics in the Java programming language.

Continue Reading
May 17 2014 by Kevin Bowersox

This morning, I revisited a stackoverflow question, I answered awhile back.  I wanted to provide a more complete answer and also saw the opportunity for a new post.  The question asked, "What's the difference between JPA and Hibernate?"

The Java Persistence Architecture API (JPA) is a Java specification for accessing, persisting, and managing data between Java objects / classes and a relational database.  Continue Reading

January 20 2014 by Kevin Bowersox

The following tutorial details how to model a self-referencing relationship using JPA.  The tutorial briefly discusses self-referencing relationships and then continues to provide a complete example of modeling the relationship in JPA.

To follow along, download the base code used for this tutorial from this GitHub repository. Source code for the completed project can be downloaded by clicking the GitHub logo below.

Continue Reading
December 31 2013 by Kevin Bowersox

   When beginning to learn Java, early in your journey you will most likely encounter a discussion of the primitive data types.  An investigation of the primitive numeric data types will expose you to the primitives byte, short, int and long.  From their definitions, most individuals with no programming background can discern the following about these types:

These primitive data types only represent whole numbers (including negative numbers) aka Integers.


Each of these primitives can store a specific range of values with byte having the smallest range and long having the largest range.

Continue Reading

Next 5 Entries