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

Blogs by topic: Programming

• 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 


Programming

We coax Rhino (an elusive, misunderstood, and ignored member of the Java ecosystem) into a mind meld, giving it access to the JVM's thoughts, experiences, memories, and knowledge; and take it where no rhino has gone before!
on Jan 25, 2012 | Permalink | Discuss
You want JAXB to unmarshal singletons? You already spent lots of time coding rather complex workarounds applying XmlAdapters and afterUnmarshal callbacks? The solution is astonishingly simple!
on Jan 14, 2012 | Permalink | Discuss
I mentioned the idea to use Wordle as an execution profiler while presenting the profiling section of my performance tuning course in Paris last December. The idea was seeded by presentation that Neal Ford did a few years ago in which he used Wordle to expose the vocabulary of a Java application. Instead of vocabulary, I wanted to see if Wordle could be used to visualize an applications dominate behavior.
on Jan 9, 2012 | Permalink | Discuss
A couple of weeks ago, I sent out a little quiz to my readers of The Java Specialists' Newsletter. No one managed to figure out what the code does without running it. Some managed to explain the result once they had run it. Perfect quiz for weeding out those job applicants you don't like. Especially if you are working in the banking industry. OK, enough hints, let's look at the quiz :-)
on Dec 22, 2011 | Permalink | Discuss
A new tutorial exercises VisualLangLab using all the examples and techniques in Chapter-3 "A Quick Tour for the Impatient" of the book "The Definitive ANTLR Reference". A new "WildCard" pseudo-token that matches any other defined token has been added to facilitate recovery from grammar errors in the input. Read about the various other improvements that make VisualLangLab even more user-friendly.
on Dec 14, 2011 | Permalink | Discuss
The last page on the latest issue of IEEE Spectrum attracted my attention since it was about the popularity of programming languages. The page was made of four pictures taken from langpop.com, which makes popularity figures out of multiple sources: Yahoo Search Craigslist Powell's Books Freshmeat Google Code Del.icio.us Ohloh programming.reddit.com Slashdot...
on Nov 9, 2011 | Permalink | Discuss
This blog describes how to build both, a 64-bit and a 32-bit version of OpenJDK 8 on a plain, vanilla WindowsXP 64-bit operating system using only free (as in free beer) tools. body { font-family: arial, helvetica, sans-serif; font-size: 10pt; } caption.my { font-weight: bold; margin: 0px 0px 10px 0px; } span.update { font-weight: bold; color: maroon...
on Oct 28, 2011 | Permalink | Discuss
This article presents a tutorial for implementing task-focused development using NetBeans IDE with the NBTaskFocus project. Mylyn was the popular project providing task-focused interface for Eclipse and got included in the main Eclipse distribution. These features were in a lot of demand for NetBeans IDE and NBTaskFocus project attempts to provide some of the features in demand. We can now work on our tasks in a better way in NetBeans IDE also using the NBTaskFocus modules.
on Oct 22, 2011 | Permalink | Discuss
This is the second blog entry on series of blogs about JAX-RS 2.0 Early Draft. Today I'd like to discuss the Generic Interface for building and submitting requests in the Client API. See last week's blog for an introduction to the Client API.
on Oct 20, 2011 | Permalink | Discuss
VisualLangLab parsers support all (present & future) JVM languages
on Oct 13, 2011 | Permalink | Discuss
Task Focused Interface has become an accepted concept in the current programming paradigms. Mylyn made a breakthrough to introduce the Task Focused Interface in Eclipse world. Cubeon introduced the Task Focused concepts for NetBeans IDE, with many integrations with third party issue databases like JIRA. I was searching for a Task Focused Interface for NetBeans whch will track my opened files automatically in my current task. I ended creating one such feature in project NBTaskFocus.
on Oct 11, 2011 | Permalink | Discuss
I talk about java.lang.ref.* in my performance tuning course because these things (along with anything that implements finalize) are more expensive to create than normal objects and require at least two rounds of GC before you're completely rid of them. Of the bunch, that includes Reference, WeakReference, SoftReference and two other private reference classes that get mixed up with finalization, PhantomReference has to be the strangest.
on Sep 29, 2011 | Permalink | Discuss
It's been a few months already that the expert group of JSR 339 started discussion about the details of JAX-RS 2.0. The target defined by spec lead Oracle are clear: Java EE 7 shall have a RESTful API that augments current JAX-RS 1.1 API by (among others) a Client API, HATEOAS support and asynchronous invocations. So what's the current status?
on Jul 24, 2011 | Permalink | Discuss
JavaFX 2.0 is not multiplatform! It can't do subpixel antialiasing!! … these were among the reactions to the first beta releases, that I'm not sure to understand as trolling or simple laziness. These mysteries are usually solved with a simple look at JavaFX's public JIRA issue tracking system. The current implementation is still a beta, not even a feature-complete beta, so there are many...
on Jun 18, 2011 | Permalink | Discuss
It's been a long time, well long in Internet-years, since my last blog on JavaFX. Now I'm approaching JavaFX 2.0 by porting the JavaFX 1.x programs that I had written and blogged about here. These new ports will allow me to evaluate the evolution of the platform. Has the wait been worth it? Porting from JavaFX 1 For my first port I’ve picked JavaFX Balls. (But this blog is not about...
on May 28, 2011 | Permalink | Discuss

Education

A preview of the pure Java version of VisualLangLab is now available. The GUI, and other characteristics, are virtually identical to the previous version, but the JAR file is very much smaller as it does not bundle the Scala API jars.
on Jan 5, 2012 | Permalink | Discuss
In 1996, a group that I was working with devised a development process which we called Defect Driven Design, otherwise known as D3 (D-Cubed). We were a bit disappointed by not surprised that D3 never really caught on but just recently I saw a glimmer of hope for a revival.
on Nov 29, 2011 | Permalink | Discuss

JavaOne

"The multicore challenge" is the challenge to developers of software products to write code that effectively utilizes modern multi-core / multi-processor computers. Two years ago, I wondered if the multicore challenge was still relevant. In part, I was thinking about how applications were moving from the desktop into the cloud. So, if the apps people are running are running in a browser, does it matter if their desktop system (or pad or phone) is multicore?...
on Dec 21, 2011 | Permalink | Discuss

GUI

In my last blog I’ve introduced JavaFX 2.0 beta, describing an initial port of JavaFX Balls, also in beta stage at that time. Now I finally finish JavaFX Balls 3. Look ma, no design! I don’t pretend to be a designer, and the consequence is that when I make a mashup of animation, video and web, that’s the result. Get the source code here. I’ve added new layers of content...
on Nov 25, 2011 | Permalink | Discuss
When programming in Java, everywhere I go I stumble over "dead" technology. That's a mess, since that technology was really great and still would be very useful. But some day, "someone" just declared it's death. But why?
on Apr 24, 2011 | Permalink | Discuss