Pages
Mikael Ståldal
Software projects
Categories
Archives
Author Archives: Mikael Ståldal
Web application frameworks in Java
When you know which type of web application you are to develop, it’s time to have a look at some possible choices. I have tried to categorize some modern and popular web application frameworks in Java. Simple server driven MVC … Continue reading
Posted in AJAX, Java, JavaEE, web
2 Comments
Web applications and web frameworks
If you are to develop a web application, there are a lot if frameworks to choose between. I assume that the web application by its nature needs to have bi-directional communication between the web browser and the server during the … Continue reading
Posted in AJAX, web
2 Comments
Mount your home directory with SSHFS in Linux
If you have your home directory on another machine, it’s common to use NFS to access it. NFS is easy to setup and works more or less out of the box on Linux. However, NFS is not secure and you … Continue reading
Posted in Linux
3 Comments
Using Vaadin with Maven
Vaadin is a comprehensive framework for developing web applications in Java. The Vaadin web site presents a number of ways to use Vaadin with Maven, but I am not completely satisfied with any of those. Here is how I do … Continue reading
Posted in Java, web
3 Comments
Implementing POX Web Services with Spring WS and JAXB
Spring Web Services together with JAXB 2.0 provides a convenient way to implement POX Web Services in Java. POX means Plain Old XML, and a POX Web Service is a protocol based on sending XML over HTTP without using any … Continue reading
Posted in Java
3 Comments
How to implement RESTful JSON Web Services in Java
You can implement RESTful Web Services in Java using the JAX-RS framework. JAX-RS is part of the JavaEE 6 platform. But if you are not using a JavaEE 6 application server, you can use the reference implementation Jersey and embed … Continue reading
Posted in AJAX, Java, JavaEE, web
2 Comments
Linux with / mounted read-only 2.0
(This is a new version of a previous post updated to work with Ubuntu 9.10 (karmic).) I wondered why you usually mount / (the root file system) read-write in Linux and decided to do some experiments to find out if … Continue reading
Posted in Linux
13 Comments
How to get microphone to work un Ubuntu 9.04
I finally got the microphone input on my Acer Veriton X270 to work un Ubuntu 9.04. The trick is to uninstall PulseAudio and use ALSA only. It even works in Skype.
java.util.Map is broken in Java 5
Java 5 added generics. The collection classes was modified to make use generics to provide compile-time type-safe collections. Sadly, this was not done properly. The worst problem is in the interface java.util.Map: public interface Map<K,V> { // more methods… V … Continue reading
Misuse of HTTP GET is a cardinal sin
According to the RESTful style, you should make use of the four HTTP methods GET, POST, PUT and DELETE. However, in many cases only GET and POST is used, and POST is used when you really should use PUT or … Continue reading
Posted in web
5 Comments