Feed aggregator
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
Best Practices from Zappos to deliver better performance
Zappos recently talked about their best practices of delivering WOW Performance to their customers. Zappos re-architected their web-site and went from Perl to Enterprise Java as the need to scale and perform was driven by explosive business growth and performance problems in their old architecture.
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
Read, recycle, and reuse: Reporting made easy with Excel, XML, and Java technologies, Part 2
Part 1 of this series walked through reading Microsoft Excel files using Java technology and Apache POI. But reading Excel files is only a start. This installment mixes up Excel and XML to soothe developers who turn green at the thought of converting between reporting formats.
Categories: Java
Read, recycle, and reuse: Reporting made easy with Excel, XML, and Java technologies, Part 1
Extracting business data is a challenge every company faces. Discover some of the secrets to extracting data from Excel and converting it between Excel and XML using Java technology.
Categories: Java
Getting started with OCAP, Part 1: Running the OCAP RI
The OpenCable Application Platform Reference Implementation (OCAP RI) is a freely available implementation of a comprehensive platform for interactive applications that run on set-top boxes, televisions, and other devices. This article, first in a three-part series, explains OCAP at a high level and describes how to obtain and run the RI. You'll learn how the OCAP RI locates applications and how to run any application.
Categories: Java
What's new in iBATIS 3
iBATIS is a project used primarily for data access object (DAO)
and object-relational mapping (ORM). You can use it to easily work with Java
objects and databases. The update for iBATIS 3 beta 9 was posted January 23,
2010. iBATIS 3 is a completely rewritten version of iBATIS and includes some
significant updates. This article introduces some of what's new in iBATIS 3.
Categories: Java
New Beginnings: It's Time for the Yearly ‘State of the JCP’ Review
By now I'm sure you're aware that Oracle's acquisition of Sun Microsystems is complete, and that Oracle is therefore the new steward of Java and the sponsor of the Java Community Process. It's too soon to say what changes this may bring, but for an overview of Oracle's Java strategy see the Software Strategy webcast from Thomas Kurian, Oracle's Executive Vice President of Product Development. (The Java portion of his presentation starts at the 3-minute mark and lasts for about 10 minutes.)
In the meantime, since the New Year is upon us it's time for my yearly "state of the JCP" review.
Our total membership grew by 4% in 2009 to a total of about 1,500. However, since individuals can join at no cost, and there's no formal renewal process for them, we suspect that many have "lapsed." During the next year we will clean up our individual membership records, and it's quite likely that the 2010 numbers will show a reduction as we remove the people who have moved on from the rolls.
Categories: Java
Class loading performance and Jigsaw
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




