Quantcast
Channel: Nicholas Hagen » Java
Browsing all 10 articles
Browse latest View live

Demonstrating Java Type Erasure

Type erasure is a term many people in the Java world do not know or understand. I think it is important to at least understand what it means…not the byte code behind it, but the semantics and its...

View Article



Concurrent Asynchronous API Programming in Java

Several sites are moving towards an API program to allow easier access as well as mashup data. The use of an API is considerably different from typical methodologies such as direct database access. The...

View Article

Accessing Servlet Container Temporary Directory

As part of a recent project, I had a need to generate classes to a temporary directories. Currently, this was being done by a simple File-based path. However, that has two downfalls: the paths are tied...

View Article

Understanding Generics in Collections

Generics in Java is one of those features where almost everyone uses but very people, including myself, really understand. I had a conversation just today about understanding a use case of generics...

View Article

Java Bean Introspector and Covariant/Generic Returns

Unfortunately, there is a rather unsettling bug in the JDK in the java.beans package for Introspector when handling bridge methods. For those unfamiliar with that term, JDK 5 created a new modifier...

View Article


Handling Environments in Java EE Projects

Web applications in Java EE (and even SE) have many components from MDB configuration to JMS configuration to Servlet configuration to JPA/database configuration. Each of these components has their own...

View Article

Good Use Case for Server-Sent Events

Although some would say there are two competing standards for handling live events on the web, websockets and server-sent events (event source), they are really very different from each other with...

View Article

RFC: Add ‘between’ and ‘in’ to modern day languages

One of the recent additions to TeaTrove I am making is adding the between and in operator. This may seem trivial, but they are quite powerful as well as generally better performing, not to mention...

View Article


Budget Analyzer Application: Server Side via Grails

In this post, I will present one of my newest applications that I built using Grails and jQuery Mobile frameworks. I hope to present this as a more real world example of using Grails along with using...

View Article


My Thoughts on Merging JAXB and JSON Binding Annotations

See my Gist below for more information.

View Article
Browsing all 10 articles
Browse latest View live




Latest Images