Last time we looked at writing command and shortening the URLs using simple TinyURL API. This time, lets try to take this one step furter and generate URLs that are mobile-users friendly, i.e. URLs that can be easily recognized and processed by various mobile devices. Such are urls in QCode or DataMatrix scan codes.
I'm sure almost everybody have seen those somewhere already, be it on printouts...
At the very beginning of my full time programmer career, when I worked at Silicon Graphics, Larry Wall and Randal Schwartz gave a brown bag session about their now legendary camel book. Naturally, I had them sign my copy, the front page of which I proudly display at left. Notice the “There’s More Than One Way To Do It!” stamp at the top. For better or worse, Perl is famous for this property. Less famous (or perhaps even infamous) for having more than one way to do it is JSF.
At the JSFdays conference last week, I was having lunch with a friend who is an experienced developer and the topic turned to JSF deployments in large projects. He mentioned that his project was bitten by the fact that there was more than one way to do it in JSF. If you give developers more than one way to do something, they'll take advantage of that capability. But, in a large project with many developers, this can lead to confusion and unmaintainability.
The simplest remedy is to establish firm and strong conventions for how to do things for which there is more than way one to do it. Of course, this is easier said than done, but I believe, as do Wall and Schwartz, that having more than one way to do it is generally an asset rather than a liability.
Originally, I wanted to write about Magnolia-Twitter integration, but at some point I've realized such integration is so simple that there's no point writing about it. So instead, let's look how you can write custom commands for Magnolia.
Anybody who seriously developed on Magnolia for while had to write a Command sooner or later. They are incredibly simple, yet very powerful. Part of it is that...
Web Services and XML
One of the areas I'm keen to improve in the next version of JAX-RS is link creation. JAX-RS already offers UriBuilder but I think an annotation driven approach could save a lot of repetitive coding.
I've been experimenting with a couple of annotations that I think would be useful and I just checked in an experimental extension that partially implements what I have in mind. Suppose you have a...
When JSONP is a good option?
The controversial around JSONP is the fact that using JSONP your...
There is my proposal for JUG-AFRICA agenda. Everyone is free to comment and add interesting ideas.
I will detail each point in my blog later.
I heard from a friend that prolific blogger and friend Felipe Gaucho had passed away last March, 05.
Felipe was very active at Java community, helping people at mailing lists, writing blogs. He was a JUG Leader (Ceara at Brazil), Glassfish active user and speaker.
See more information at the CEJUG blog
Sorry to use this space, but I feel motivated to let the java.net community know this tragic fact that is related to an active user. Probably there are a lot of users out there that have read Felipe's writings and they deserve to know about this terrible news.
For meanwhile more than 25 years I am writing computer programs. More than a decade I spent with programs accessing databases, virtually always relational ones. I soon learned that this is rather hard work. Not only that you need to know about the theory behind RDBMS iself, but also you need to know the technical APIs (like ODBC, ADO, RDO, JDBC, JDO, JPA, CMP, ...), the structure of...
JUG-AFRICA : The idea behind JUG-AFRICA is to allow JUGs located within Africa to collaborate globally in ways that will ultimately benefit Java developer
communities locally. JUG-AFRICA is intended to promote communication between JUGs across continent.
Hi, Welcome in my page at Java.net, thanks for Sun, Oreilly and Java.net community. I'm already blogging here http://www.bonbhel.com, but in this blog, there will be another things related to Java technologies, JUGs in Africa, the sense of community and belonging among Java developper in Africa and some time the point de vue of Java community in Africa etc...
How often have I read about cool new technologies where, after all, the programmer can now 'fully concentrate on the business logic'.
This meanwhile happens since at least 20 years so I wonder why still anybody does something else than concentrating on the 'business logic'?
One reason might be that it always has been a lie. Using any web framework still ends with tracking and analyzing HTTP...
I just updated the Cejug-Classifieds Project to support Maven 2 builds and I added some new features, including a Shell Script able to configure the resources and also to deploy the the application in the Glassfish V3. The script creates all Java EE resources required by the application, like the DataSource, the JavaMail connection and the JMS Queues. In the next sections I will describe how to...
This is a relatively long entry about OpenMQ covering everything from installation up to clustering and load balancing. If you want to start using OpenMQ or you are looking to use it in a highly distributed system, this entry is for you. this entry discuss everything from installation to clustering
I woke up the other day and realized its 2010. When I was a kid, year 2000 was far, far away (well not quite, but hey when you are 7 years old 13 years is a long time).
In 2001 we were supposed to be colonyzing the moon. In 2010, Jupiter would be within our reach. And there are reliable reports indicating that 9 years from now flying cars and aritificial life forms...
When reading http://www.eclipsezone.com/articles/what-is-iadaptable/ I got the impression that certain solutions always come back, are quite universal and independant of domain, language or environment.
The question here is about getting certain aspects of an object that are not statically declared in a yet typesafe manner. The Eclipse world came up with IAdaptable, as it seems.
On his home site, Jeff Friesen, author of 21 java.net articles, has posted an interesting little article titled Comic Books and Java. In the article, Jeff presents a Java application that reads and displays digitized comic books. In the article, Jeff explains the standard format in which comic books are digitized (a .cbz zipped file and a .cbr RAR archive file). Jeff then walks through his...
This blog shows steps to create a CSR (certificate signing request) send it to godaddy to get it signed and finally how to install it in GlassFish application server.
This is a preliminary notes on how to run CAFE (sailfin-cafe.dev.java.net) applications on top of Oracle Communications Converged Application Server (OCCAS)
James Lorenzen had an excellent blog post about the importance of a descriptive commit comment. I can't agree more, so I listed up what I try to leave in the commit messages. What do you try to leave in your commit messages?