Quantcast
Channel: AllInGeek.com » java
Browsing all 10 articles
Browse latest View live

Importing Non-Well Known CA Certificates

A while ago my good friend, Neil Fritz wrote a nice little article describing basic manipulation of SSL certificates in Java keystores.  This is one of those things that I do just rarely enough to...

View Article


How to Win an Argument and Lose Friends (Circular Buffers)

I was having a passionate discussion the other day in the car. Like most passionate discussions, at some point a familiar exchange came up. “Why are you yelling?” “I’m not yelling.” I thought to...

View Article


Spring’s Alternative Configuration Features

A primary complaint about Spring is the heavy XML configuration traditionally required to use it in a non-trivial way. More and more recent releases have made significant strides away from this model....

View Article

Note: JPA InheritanceType.JOINED

Hey, make sure to annotate child model classes with @PrimaryKeyJoinColumn when using InheritanceType.JOINED. This annotation allows you to specify the column names to be used in mapping parent child...

View Article

Advanced Spring-Data JPA: Specifications and Querydsl

20,000 foot view Stop creating a method for every query permutation.  Specifications wrap the JPA Criteria API.  Using them makes your code less – and then more – readable and reusable.  Check them...

View Article


Ditching JCL for SLF4J

When discussing these two logging API’s it really comes down to dynamic discovery vs. statically bound bridging mechanisms.  As Ceki Gülcü wrote in his 2009 article detailing the problems with JCL:...

View Article

Desert Code Camp Fall 2011

I’ll be attending Desert Code Camp tomorrow (today).  The event will be going from about 9 to like 4:30pm.  I’m going to be presenting on Spring Data JPA.  Just a volunteer thing.  Anyway, I built a...

View Article

Mailing List Question: @Autowired Ambiguities

Today a question went out on a Spring mailing list asking about @Autowired dependencies, AOP proxies, and interfaces.  I thought this was a great foundation question. So I thought I’d share it here....

View Article


GWT can be Magical

The person or people responsible for the following must either be much more knowledgeable than I about JavaScript if statements, or simply more sinister. While pretty compiling one of my GWT modules...

View Article


Code Obfuscation: Anonymous Inner Class Death

Java, like most other modern languages, will let you get away with some really ugly code. Inspired by my recent gaze into GWT generated JavaScript, I decided to crank out this little gem. I’ve pretty...

View Article
Browsing all 10 articles
Browse latest View live