Tag Archives: java

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 , , | Leave a comment

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 , , | Leave a comment

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

Restful services in Java

Over the years there have been different methods of for communicating between heterogeneous systems.  Each of these methods have to deal binary messaging.  Some of the different protocols that have been used are as follows. Remote procedure calls (RPC) Distributed … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on Restful services in Java

Evolution of LED Lighting – hardware and tools

Flashback I wanted to buy home automation electronics, nothing really fancy just a WiFi controller for a led strip.  When shopping for things like this Pay attention.  I saw something that spoke about WiFi and was really quite cheap so I … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on Evolution of LED Lighting – hardware and tools

fun with XML – JAXB and arrays

In part I of my JAXB example I briefly described some of the annotations required to turn normal Java objects into XML files with JAXB. To expand on the xml examples from my previous post, I will be taking a number … Continue reading

Posted in programming | Tagged , | Comments Off on fun with XML – JAXB and arrays

fun with XML – a JAXB example

Full disclosure, I am not J2EE expert so my descriptions may be a bit off.  However, using JAXB is just to powerful to ignore.  The first part of this topic is pretty basic, while the second part is a bit … Continue reading

Posted in programming | Tagged , | Comments Off on fun with XML – a JAXB example

making more than jar files with Ant

In a previous post, making jar files with Ant,  I briefly covered the creation of a Ant script that would compile the Java source files and then create jar file from them. It was a really neat example of how with … Continue reading

Posted in programming, Setup From Scratch | Tagged , , | Comments Off on making more than jar files with Ant