Tag Archives: java

Simplicity in development or syntactic sugar

Computing is a pretty big field so it is not always possible to stay on top of every little (or big) framework or enhancement that comes down the line.  I am happy to be involved in software development so I … Continue reading

Posted in programming | Tagged | Comments Off on Simplicity in development or syntactic sugar

coding like it is 1996

It is a sad fact but I don’t always get to pick the tools I use at work.  Just today I felt like my colleague and I woke up in 1996 – back when java 1.6 was released. The client … Continue reading

Posted in programming | Tagged , | Comments Off on coding like it is 1996

Maven simple example

Maven was briefly described in my previous post.  In this post I will do a few small examples for actually using Maven. One of the main things about Maven is the idea of the artifact.  The artifact is a file, which … Continue reading

Posted in programming | Tagged , | Comments Off on Maven simple example

Maven the alternative build tool

Why maven Maven is a tool for building software. Doesn’t there already exist a number of tools for doing this exact task?  Two different tools that do this are the classic make utility or the much newer Apache Ant. The make utility … Continue reading

Posted in programming | Tagged , | Comments Off on Maven the alternative build tool

interrogating your code – dipping your toes into java’s reflection

Perhaps the coolest programming language ability that I was never allowed to use was reflection in Java. Why? Well, thats another story. What exactly is reflection? Well, reflection is a set of low level methods that can be used to … Continue reading

Posted in programming | Tagged | Comments Off on interrogating your code – dipping your toes into java’s reflection

Restful services in Java – 360 degree of restful client

Always try and use the most appropriate tool for the task.  The Apache HTTP server or web server is a program for serving the html web pages to the client who requests them. Tomcat is a application server that is actually … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on Restful services in Java – 360 degree of restful client

Restful services in Java – 360 degree of restful server

This is the blog final entry for a restful service web server.  I have attempted to create more than your typical “foo” “bar” type example program. My final blog on restful services will be a fairly complete service that could … Continue reading

Posted in programming | Tagged , , | Comments Off on Restful services in Java – 360 degree of restful server

Restful services in Java – client and server

My previous restful client example and server example were perfect, well, not exactly.  They worked but they pretty much assuming a perfect world.  That is to say that there is never a communication error or a server error. This small … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on Restful services in Java – client and server

Restful services in Java – simple client example

I suppose that a restful server isn’t all that useful unless there is a way to query this information back and use it in some useful way. It is easy enough to test this out the server from the command … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on Restful services in Java – simple client example

Restful services in Java – simple server example

There are probably a lot of ways to create web services programs but the simplest way I could think of was to create a project using Eclipse and Jersey. It turns out that restful services are really easy to summarize but … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on Restful services in Java – simple server example