Java Lobby Announcements
Developer Makes $13k/month on Android App
Edward Kim, an independent Android developer, says he is now making $13,000 a month selling his "car locator" Android application on the Android Marketplace. Even though it's no where near the highest profits coming out of the Apple App Store, it's still a healthy sign for growth in the Android Marketplace and the legitimacy of Android development. Kim offers some
Categories: Java
Working With Custom Maven Archetypes (Part 3)
In part 1 and part 2
of this series I was able to demonstrate how you can create a custom
archetype and release it to a Maven repository. In this final part
we’ll look at what you need to do to integrate it into your development
process. This will involve the following steps:
James Sugrue
Categories: Java
Fast O(n) Integer Sorting Algorithm
Yesterday I learned that there is an O(n) integer sort algorithm (I should have read this before in a basic algorithm book :-/).
Now I wondered: is this necessary in real applications? E.g. somewhere in Java? Today I have taken the counting sort and I can argue: yes, you should use integer sort especially for large arrays!
And when in detail should you apply the fast integer sort? Apply it if
...
Categories: Java
Websocket Chat
The websocket protocol has been touted
as a great leap forward for bidirectional web applications like chat,
promising a new era of simple comet applications. Unfortunately there
is no such thing as a silver bullet and this blog will walk through a
simple chat room to see where websocket does and does not help with
comet applications. In a websocket world, there is even more need for
frameworks...
Categories: Java
Dependency Injection as Function Currying
Dependency Injection is one of the techniques that I use regularly when
I am programming in Java. It's a nice way of making an application
decoupled from concrete implementations and localize object creation
logic within specific bootstrapping modules. Be it in the form of
Spring XML or Guice Modules, the idea is to keep it configurable so
that specific components of your application can choose...
Categories: Java
Sensor Management in Android, Mr Brown Can Moo
The Android development kit provides
great emulators to allow you to test your applications as it would be
emulated on a device. There's a catch, not all features are available
in the emulator as they are in the actual device. This becomes
clearly apparent when you start to develop applications for possible
the camera, or even accelerator, compass, or orientation sensors. You
can't just pick up...
Categories: Java
Daily Dose - Chrome Usage Keeps Growing, IE Keeps Dwindling
Chrome Usage Keeps Growing, IE Keeps Dwindling
Categories: Java
Twist 2.0: Test Automation in BDD - Now with Groovy
A lot of organizations transitioning to agile are focused on getting planning and communication practices in place, but they tend to neglect engineering practices until later. ThoughtWorks Studios tries to correct this anti-pattern with its ALM tools, which are designed to handle changing requirements in the development process and adapt to the way agile teams work. Another longstanding...
Categories: Java
Architecting the Enterprise with Savara
This article provides a high level view of the motivations behind the Savara open source project, and the Testable Architecture methodology upon which it is based. To best explain these motivations, we will discuss the project in terms of four properties that are desirable in the development of any Enterprise Architecture.
Categories: Java
Design Patterns Uncovered: The Strategy Pattern
Having focussed on the two factory patterns over the last week, today we'll take a look at the Strategy Pattern, a useful pattern in changing algorithm implementations at runtime, without causing tight coupling.
James Sugrue
Categories: Java
Is it Time For a JVM-Based Web Browser?
There are currently two exciting platforms for which one can develop:
James Sugrue
Categories: Java
Jigsaw / JDK 1.7 Will be the Solution for 80% of the Modularization Challenges
Jigsaw will come with JDK 1.7 and is now part of the openjdk project and so opensource. Other JDK implementations could simply reuse it.It will become interesting, because:
James Sugrue
Categories: Java
RESTEasy Client: The Next Generation
What does the Next Generation REST client look like? Bill Burke had a few ideas... guess who's implementing them? Yours truly.
James Sugrue
Categories: Java
Maven's Strengths and Weaknesses as a Dependency Management System
For many Java teams, switching to Maven will introduce them to formal
dependency management. Maven actually does a pretty decent job and is a
fantastic system out of the box for informal projects. However, for
teams looking to implement rigorous component reuse policies, Maven
falls short.
Last month, in our article Chaperoning Promiscuous Software Reuse, we reviewed four elements of a...
Categories: Java
SOAP, REST, and ECF Remote Services
In addition to supporting the OSGi 4.2 remote services specification, we on the ECF team have also been working on support for accessing REST-style services, as well as those that use the Simple Object Access Protocol (SOAP).
James Sugrue
Categories: Java
Reloading Java Classes: Classloaders in Web Development — Tomcat, GlassFish, OSGi, Tapestry 5
In this article we’ll review how dynamic classloaders are used in
real servers, containers and frameworks to reload Java classes and
applications. We’ll also touch on how to get faster reloads and
redeploys by using them in optimal ways.
James Sugrue
Categories: Java
Daily Dose - YouTube and Vimeo Foster HTML5 Escalation
YouTube and Vimeo Foster HTML5 Escalation
Categories: Java
SailFin CAFE Fundamentals: CommunicationBeans and Agents
SIP Servlets
provide a server side Java abstraction to SIP protocol and it is based
on familiar servlet model. This enables an application developer to use
Java servlet programming to write Converged applications. What exactly
is the meaning of "converged applications"? SIP Servlet Specification
explains this as follows
James Sugrue
...
Categories: Java
My First Try at Flex
Flex is now approaching its 4th version. Even since its start, it
looked promising. Until some time ago, I didn’t look much into it for
it was not Open enough. Two years ago, in order to use Flex application
freely, you had to limit yourself to a little subset of Flex.
James Sugrue
Categories: Java
A New Way to Think of Data Storage for Your Enterprise Application
A couple of posts earlier I had blogged about a real life case study
of one of our projects where we are using a SQL store (Oracle) and a
NoSQL store (MongoDB) in combination over a message based backbone.
MongoDB was used to cater to a very specific subset of the application
functionality, where we felt it made a better fit than a traditional
RDBMS.
James...
Categories: Java




