-
Encryption of Network Communications using JSSE Part 2: A Basic Socket Server
In part 1 of this series, we saw a general overview of what sockets are, and how JSSE is used to secure that data transfer. Now we’re going to dive in and write our own encrypted server/client system.
By Bryan YoungRead More
January 17, 2012 -
Encryption of Network Communications using JSSE Part 1: Introduction to Sockets
The Java Secure Socket Extension (JSSE) is an extension of the JDK which takes standard java sockets and adds a layer of encryption to them. It does this through the use of Secure Socket Layer (SSL) and Transport Layer Security (TLS) technologies. In a nutshell, this lets you transfer information …
By Bryan YoungRead More
December 21, 2011 -
Red Hat updates Openshift by bringing more Java Functionality
The Enterprise Linux provider has been working on making it easier for Java developers to actually get things done on the cloud. OpenShift is, as they say on the official site, “a free, auto-scaling platform-as-a-service for Java, Ruby, PHP, Perl and Python applications” and is solely maintained by Red Hat. …
By Qushawn ClarkRead More
November 15, 2011 -
Using sIFR to Optimize h1 Tags
siFR stands for – scalable Inman Flash Replacement. In a nutshell, the technique behind sIFR is the same as image replacement, however, it relies on JavaScript and Flash to replace XHTML text with Flash text. Put simply, sIFR can be a website designer’s dream tool as it allows website headings, …
By Navneet KaushalRead More
October 18, 2011 -
Javaone2011- Highlights From The First Day
After 1 keynote, 1 lab, 6 sessions, one plastic lunch and 4 free teeshirts, how am I feeling (other than tired). Well the really good news is that there is a great, upbeat feel to the Java world. After a period of stagnation, there are new developments across the …
By Mark StephensRead More
October 4, 2011 -
Using Finally to Write Clean Code
If you have done anything more than a simple “Hello World” program in java, you know that one of the biggest pains in the neck is dealing with exceptions and error handling. This is done through the try – catch structure. When the program is running and an exception pops …
By Bryan YoungRead More
September 16, 2011 -
Using JDBC to Connect to MySQL Part 5
In part 4 of this series, we began creating a class that would handle all of our database needs. We created a constructor and our database Connection object, and are now ready to write the functions to query our database.
By Bryan YoungRead More
September 9, 2011 -
Using JDBC to Connect to MySQL Part 4
In part 3 of this series, we finished discussing the final points of using a database in our java programs. Now we will incorporate everything into one class that we can include in any program we write.
By Bryan YoungRead More
September 2, 2011 -
Using JDBC to Connect to MySQL Part 3
There is another kind of statement which comes in handy when you are issuing an INSERT or UPDATE query. This is the PreparedStatement. The purpose of this object is to handle any characters which would need escaping. For instance, in our UPDATE statement above, we could store our name and …
By Bryan YoungRead More
August 26, 2011 -
Using JDBC to Connect to MySQL Part 2
In part 1 of this series, we discovered how to setup a database connection and execute statements that do not return any data. Here we will handle those types of queries and the data we get from them.
By Bryan YoungRead More
August 19, 2011