With 2010 coming to its end I decided to create a compilation of the Top 10 JavaCodeGeeks posts for this year. JavaCodeGeeks have an internet presence of less than a year, but I believe that we have done a very good job providing original and helpful content. This compilation was made so that we remember our best moments for the year that is ending, but also in order to introduce some of our best articles to some viewers that have not yet discovered them.
Check out our new .NET Code Geeks site! Latest Articles: Why you need to make your tests fail and Developer productivity tools and Visual Studio extensions.
Friday, 31 December 2010
Thursday, 30 December 2010
Cassandra vs MongoDB vs CouchDB vs Redis vs Riak vs HBase comparison
Kristóf Kovács performed a very interesting brief comparison among six of the most popular "NoSQL" database implementations.
Wednesday, 29 December 2010
How to Do 100K TPS at Less than 1ms Latency
Martin Thompson and Michael Barker talk about building a HPC financial system handling over 100K TPS at less than 1ms latency by having a new approach to infrastructure and software. Some of the tips include:
- Understand the platform
- Model the domain
- Create a clear separation of concerns
- Choose data structures wisely
- Run business logic on a single thread
Tuesday, 28 December 2010
Revving Up Your Hibernate Engine
Want to know how you can tune up your Hibernate-based applications for seamless scalability and maximum performance results?
Android Full App, Part 8: Creating an AppWidget for the home screen
This is the eight part of the “Android Full Application Tutorial” series. The complete application aims to provide an easy way of performing movies/actors searching over the internet. In the first part of the series (“Main Activity UI”), we created the Eclipse project and set up a basic interface for the main activity of the application. In the second part (“Using the HTTP API”), we used the Apache HTTP client library in order to consume an external HTTP API and integrate the API's searching capabilities into our application. In the third part (“Parsing the XML response”) we saw how to parse the XML response using Android's built-in XML parsing capabilities. In the fourth part (“Performing the API request asynchronously from the main activity”), we tied together the HTTP retriever and XML parser services in order to perform the API search request from our application's main activity. The request was executed asynchronously in a background thread in order to avoid blocking the main UI thread. In the fifth part (“Launching new activities with intents”), we saw how to launch a new Activity and how to transfer data from one Activity to another. In the sixth part, (“Customized list view for data presentation”) we created a custom list view in order to provide a better data visual presentation. In the seventh (“Using options menus and customized dialogs for user interaction”), we created options menus and custom dialogs in order to facilitate better user interaction. In this part, we are going to create an AppWidget for the user home screen and provide application related updates via it.
Labels:
Android,
Android Tutorial
Friday, 24 December 2010
Java Code Geeks on Facebook
Hello fellow Java developers!
We are pleased to announce that our blog enriched with Facebook presence.
You can find our Facebook page here
From Java developers to Java developers, help develop the largest Java Geeks community today!
Best Regards
Justin
We are pleased to announce that our blog enriched with Facebook presence.
You can find our Facebook page here
From Java developers to Java developers, help develop the largest Java Geeks community today!
Best Regards
Justin
Labels:
Facebook,
Meta Java Code Geeks
Tuesday, 21 December 2010
Dependency Injection - The manual way
Dependency injection is a technique that separates behavior from dependency resolution. In simpler words, it allows the developer to define classes with specific functionality that depends on various collaborators, without having to define how reference to these collaborator will be obtained. In that way, decoupling among the various components is achieved and cleaner code is introduced in general. More specifically, instead of hard-coding the dependencies, a component just lists the necessary services and at run-time, an external, independent component will provide access to those services. We should not forget that dependency injection is just a specific form of inversion of control where the concern being inverted is the process of obtaining the needed dependency. The reference article for the aforementioned techniques is "Inversion of Control Containers and the Dependency Injection pattern" by Martin Fowler.
Labels:
Dependency Injection,
Enterprise Java,
Spring
Thursday, 16 December 2010
Securing GWT apps with Spring Security
In this tutorial we will see how to integrate GWT with Spring's security module, i.e. Spring Security. We will see how to protect the GWT entrypoint, how to retrieve the user's credentials and how to log the various authentication events. Moreover, we are going to implement a custom authentication provider so that existing authentication schemes can be reused.
Labels:
Enterprise Java,
GWT,
Spring,
Spring Security
Sunday, 12 December 2010
Things Every Programmer Should Know
At ui-programming, one of our JCG program participant sites, articles about "Things Every Programmer Should Know" are occasionally posted. As stated in the author's first post, the 97 Things Every Programmer Should Know project, pearls of wisdom for programmers collected from leading practitioners.
The collection is intended simply to contain multiple and varied perspectives on what it is that contributors to the project feel programmers should know. This can be anything from code-focused advice to culture, from algorithm usage to agile thinking, from implementation know-how to professionalism, from style to substance, etc.
In this article we provide a summary of the first 27 "Things Every Programmer Should Know"!
So, let's start them, without further ado...
The collection is intended simply to contain multiple and varied perspectives on what it is that contributors to the project feel programmers should know. This can be anything from code-focused advice to culture, from algorithm usage to agile thinking, from implementation know-how to professionalism, from style to substance, etc.
In this article we provide a summary of the first 27 "Things Every Programmer Should Know"!
So, let's start them, without further ado...
Tuesday, 7 December 2010
Android 2.3 is out – Get ready for Gingerbread
Google has just released the new Android 2.3 version, code name Gingerbread. As with every new release, this one was well expected and includes a bunch of additions, improvements and new features. Let's explore what new features are offered both from an end user's and a developer's perspective.
Labels:
Android
Monday, 6 December 2010
Android Full App, Part 7: Using options menus and customized dialogs for user interaction
This is the seventh part of the “Android Full Application Tutorial” series. The complete application aims to provide an easy way of performing movies/actors searching over the internet. In the first part of the series (“Main Activity UI”), we created the Eclipse project and set up a basic interface for the main activity of the application. In the second part (“Using the HTTP API”), we used the Apache HTTP client library in order to consume an external HTTP API and integrate the API's searching capabilities into our application. In the third part (“Parsing the XML response”) we saw how to parse the XML response using Android's built-in XML parsing capabilities. In the fourth part (“Performing the API request asynchronously from the main activity”), we tied together the HTTP retriever and XML parser services in order to perform the API search request from our application's main activity. The request was executed asynchronously in a background thread in order to avoid blocking the main UI thread. In the fifth part (“Launching new activities with intents”), we saw how to launch a new Activity and how to transfer data from one Activity to another. In the sixth part, (“Customized list view for data presentation”) we created a custom list view in order to provide a better data visual presentation. In this part, we are going to create options menus and custom dialogs in order to facilitate better user interaction.
Labels:
Android,
Android Tutorial,
Eclipse
Subscribe to:
Posts (Atom)