On Java Development

All things related to Java development, from the perspective of a caveman.

Archive for October, 2014

SSL Support with Certificate Authority Files

without comments

Introduction

This post presents Certificate Authority files that are used to negotiate a secure HTTP connection with a web site supporting SSL (Secure Sockets Layer). SSL is an HTTP connectivity standard for establishing secured connections between web applications and the browser. SSL is commonly used to allow the safe exchange of sensitive information such as credit card numbers, social security numbers and other data. Since SSL is a security protocol, it means data is encrypted using algorithms that employ encryption schemes. Sometimes these algorithms go out of favor and are then replaced by others that are more secure. This post goes over some of the steps that are needed to update the server when that occurs.
Read the rest of this entry »

Written by admin

October 28th, 2014 at 11:53 am

Creating Class Level Messages

without comments

Introduction

This post presents a method for creating class-level messages. Granted, there are other approaches that could be cited however, this approach shows how long messages intended for logging purposes can be constructed. The messages are confined to the single class that will be responsible for sending them to the logger when the need arises.

Read the rest of this entry »

Written by admin

October 22nd, 2014 at 6:34 am

Posted in Java Strings

Guidelines for Creating JPA POJOs, Interfaces and DAOs

without comments

Introduction

This post presents guidelines to follow when creating JPA oriented POJOs, Interfaces and DAOs and briefly covers naming as well as JPA annotations.
Read the rest of this entry »

Written by admin

October 10th, 2014 at 6:56 am

Calling Stored Procedure SECGETUSERROLES

without comments

Introduction

This post shows how to use the stored procedure SECGETUSERROLES. This stored proc is designed to return records created by a join of 4 files. The record provides information about a discrete user’s role for a given application. This information can then be used to control the behavior of the application.
Read the rest of this entry »

Written by admin

October 3rd, 2014 at 8:03 am