Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blog Entries by Topic

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Open Source

OSCON 2013 (Open Source CONvention) is underway in Portland, Oregon. Even if you can't be there, you can still participate by watching the keynote sessions, which will be live-streamed on Wednesday, Thursday, and Friday. While all the keynotes are likely to be quite good (I found them to be so when I was at OSCON some years ago), several keynotes in particular stand out for me (all times are US...
on Jul 23, 2013

Programming

In Java development, we may encounter the complex set operations. Java alone is not powerful enough to save programmers’ efforts in implementing the computation details, which is time-consuming and poor in code reuse. In view of this, programmers usually resort to dynamic calculation script for set operation. SQL is surely the first kind of script that comes into most programmers’ mind. However,...
on Jul 16, 2013
How much code documentation is a symptom of bad coding (i.e. poor method or variables names, poor class or package structure, missing logging, etc)?
on Jul 15, 2013
What should be in a source control commit message for a single file add? Ideas: Reason: The reason for the file should be in a comment in a file so it would be a duplicate to also include in the commit message. File add: Already part of the commit Issue identifier From http://jamesjava.blogspot.com/2012/11/source-control-message-for-single-file.html
on Jul 15, 2013

J2EE

This brief blog entry explains the Mojarra bug triage process, and shares some tips for maximizing the chances your bug will be quickly fixed and find its way into a release. Mojarra is the JSF implementation in several app servers and is the source code from which the reference implementation of the JSF specification is derived. Mojarra has had a publically accessable issue tracker since 2004,...
on Jul 15, 2013

Patterns

What are the cost vs. benefits of creating interfaces and how should they be balanced? I am only considering cases where interfaces are optional and aren’t needed. Benefits: Simplify interaction: Easier to see how to use a List than an ArrayList Make testing easier because replacement implementations can be used Can make future changes easier Costs: Harder to understand what the code is doing...
on Jul 15, 2013

Security

Is it more secure to allow the browser to save a website password or prohibit the browser from saving the password? Benefits of allow the browser to save the password: Spoof websites are more easily detected because the username and password don't show up (this may be a mute point if the username is saved but not the password). Keyloggers won't pick up the password if you don't type it. (Thanks...
on Jul 15, 2013

Performance

Could java.util.concurrent.lock.Lock use a static list of all threads that have locks and ThreadLocal locks lists to know about all in use locks and then check for incorrect order when lock() is called. Consider: In lock: Check the ThreadLocal list and if there are no other locks then proceed. Else if there are other locks then look through other threads to determine if any have any of the same...
on Jul 15, 2013

Databases

The Browser Binding with a CMIS Repository By Florian Müller, Jay Brown, and Jeff Potts, authors of CMIS and Apache Chemistry in Action A big part of the CMIS specification describes how the CMIS domain model is mapped to the bytes that are transferred. These mappings are called bindings. CMIS 1.0 defines two bindings, the Web Services...
on Jul 2, 2013

Servlets

Expression Language (EL) was first introduced as part of JSTL 1.0, was then moved JSP 2.0 and was unified with JSF 1.2 in JSP 2.1. In Java EE 7, EL is a new separate JSR, JSR 341. Many new features are introduced in EL 3.0. This blog shows how to use new following new features of EL 3.0: Standalone environment Lambda expression (section 1.20 of EL 3.0 spec) The new operator ; to separate...
on Jul 1, 2013

Blogging

How did you first get into developing / coding? My first encounter with a computer was in 1987 during a physics class. This particular one (a Commodore C64) went immediately to my Xmas wish list. When I teared away the gift wrapping, I found the datasette broken. A datasette was a tape drive using audio cassettes for storage – without it, there were no chance to play any of the bundled games;...
on Jun 24, 2013
Sebastiano Armeli-Battana is the author of the successful 'MVC Applies to JavaScript' eBook. We thought we'd get to know a little more about the author! 1. For someone that’s new to the JavaScript sector, can you explain why they should use MVC? I would say that a JS noob should use MVC, just because it’s widely spread pattern used across different programming languages. I think they would enjoy...
on Jun 14, 2013

Community

As a developer, when you are building and/or designing a Java application; the first (or one of the first) question you might ask is... "What are the objects?" This seems to be a very simple question. But it is not. There probably is no single "right" answer to this question. Nevertheless, careful consideration given to this question will contribute to a good start to one's Java development...
on Jun 23, 2013
When we started building our first Java application, at my company Amway Corp, many years ago; we learned our first lesson. In spite of all the formal training we received, in spite of all the literature at our disposal; we still needed help with our Java development on a regular basis. Where would this assistance come from? At the time, we had no in-house Java subject-matter experts. What we...
on Jun 16, 2013
Learning Java (or any programming language) can be a great challenge. Any group of developers, learning Java, will bring with them a variety of backgrounds and experiences. In our case, our first Java project began with developers that had COBOL language experience. Our second Java project, began with developers that had RPG language experience. Even though COBOL and RPG don't "look" like Java,...
on Jun 11, 2013

Games

Over the last few years we've been busily writing the latest and greatest version of Magnolia. After all of this focus on new and (we hope) great, it seemed like time to focuse on something old and great. If you are old enough to remember the ZX Spectrum, the Commodore 64 or their various competitors, or if you like any kind of games, please keep on reading. You might have heard of the qaop...
on Jun 20, 2013

Education

Using Throws and Throw Statements in Java By Mala Gupta, author of OCP Java SE 7 Programmer II Certification Guide In this article, based on chapter 1 of OCP Java SE 7 Programmer II Certification Guide, author Mala Gupta explains how to define methods that throw exceptions, the different combinations of defining overriding methods, and when the overridden or overriding methods...
on Jun 13, 2013
Test Driven Development (TDD) has become a cornerstone of modern software craftsmanship. Behaviour Driven Development (BDD) takes it to the next level; it provides easier to use and a more readable syntax as well as many other improvements. If you haven't used Test Driven Development before, start with BDD, you will reap the benefits much faster. This book is a hands-on introduction on BDD. Using...
on Jun 12, 2013

Web Applications

Backbone.js: In the Beginning, There Was JavaScript by Samuel M. Breed, author of Backbone.js in Action Backbone is a library for structuring web applications. Since the dawn of the Internet, forward thinking developers have known that it is more than just a means of serving static HTML documents, but rather a platform made for applications. JavaScript has evolved into an ecosystem that's...
on Jun 6, 2013