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

Blogs by topic: Blogs

• 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

First off, I want to thank Apple for being such big supporters of Java. You may have gone off and done your own thing, but as Java developers, we still have to give some serious kudos. However, what has been going on with symlinks in the /System/Library/Frameworks/JavaVM.framework/Versions directory is wrong. If I remember correctly, I noticed this at first with the upgrade to Snow Leopard, and...
on Jun 23, 2010
I was doing some JavaFX hacking, and I had to create a sequence initially full of zeros. How can you do that? There's apparently only one way: <p>var bits = for (i in [1..64]) (0 as Long);</p> Problems: First, I need a loop - OK, a comprehension - to initialize the sequence. There is no syntax, no API helper or type constructor, that directly expresses "Long[] with N elements...
on Jun 18, 2010
Parts 1, 2 and 3 introduced StringTemplate through the use of simple SQL, HTML and plain text examples. This article switches gears and attempts to use StringTemplate to generate a more complicated text output: Java source code. In “Effective Java: Second Edition” (go read it, no really go read it) Mr. Block puts forth the idea of using a “Builder” class...
on Jun 13, 2010
by Jaisimha Narahari Date: 02/June/2010       <a name="abstract">In the month of June 2009, I did an initial post in the openjdk.java.net-jdk7-dev<br />    mailing list with a request for what I feel are two very important changes<br />    required in the Java Platform.This resulted in a thread of discussions...
on Jun 2, 2010
  Please note: I put forth SQL examples because they can be short and are easy to understand. As other have pointed out it is not advisable to build SQL with Strings, regardless of the technique used. What is StringTemplate? To quote the StringTemplate home page:           “StringTemplate is a java template engine for generating source code...
on May 25, 2010
My previous blog, presenting the Life program, was quite long, still not really complete. I've continued the work, but soon found some interesting surprises. This new blog starts investigating an API bug, then trips into some surprising language behavior, and ends in a proposal for a small change in the JavaFX Script language. A Slider bug I was annoyed to see that the Slider control ignores my...
on May 25, 2010

Web Services and XML

JAX-WS RI team is pleased to announce the release of 2.2.1 version. It is also included in Metro 2.0.1 and GlassFish 3.0.1. It is a minor release with few bug fixes. Some of the changes in 2.2.1 are: wsgen can inline schemas in a generated wsdl using a switch Schema Validation support is enhanced Bug fixes The bits are also in JAX-WS Maven repository Continue sending your feedback to the forum...
on Jun 21, 2010
    Prerequisites 1)      Basic understanding about web service 2)      Knowledge of base 64 encoding 3)      Knowledge of MTOM   Refer resource section for information on these topics.   Introduction Web service has been evolved from simple request-response mechanism to object oriented style support...
on Jun 11, 2010

Community

Still hesitating to join JCertif 2010 http://www.jcertif.com ? See Tasha's excellent post on Brussels JUG website http://www.brussels-jug.be/?p=785 PS : We offer the hotel (one night) to thank our Speakers.
on Jun 20, 2010
My slides for "Exploring HTML5 With JavaServer Faces 2.0" slides are available at Slideshare: Available at: http://www.slideshare.net/rkitain/jsf2-html5jazoon
on Jun 9, 2010
During Jazoon 2010 I had the chance to chat with many people about Scrum and this motivates me to look around and check scrum.org website and found this quate on the guide “A chicken and a pig are together when the chicken says, "Let's start a restaurant!" The pig thinks it over and says, "What would we call this restaurant?" The chicken says, "Ham n' Eggs!"...
on Jun 2, 2010

Tools

I simply hate that "mvn eclipse:eclipse" does not generate project files for Maven projects that have POM packaging. Yes I know that I can simply create a Default Eclipse project on the folder but why do I have to do this action many time when the target is to avoid to repeat task? So I hacked into and "fixed" it. That was simple. What is not is to understand reason...
on Jun 14, 2010

NetBeans

One of the not-so-great things about developing Java web applications is the fact that, after a few redeployments, sooner or later the web container JVM needs to be restarted due to Out Of Memory errors. This has been true in every combination of development environment and web server I have used so far, and until last week Netbeans 6.8 + Glassfish 3.0.1 was no exception. The cause of Out Of...
on Jun 10, 2010

GUI

Bean validation is a nice API for for validating Java objects and is included in Java EE 6. But it can also be used anywhere, regardless of the layer. It can be used with or without JPA and in a stand alone Java SE. It formalizes and encourages the validation approach at the domain model level. It helps in de-duplication of the validation logic that we are accustomed to having all over the place...
on Jun 10, 2010
I am happy to announce the release of Apache Pivot 1.5! Apache Pivot (http://pivot.apache.org) is a platform for building rich Internet applications (RIAs) in Java. It combines the enhanced productivity and usability features of a modern RIA toolkit with the robustness of the industry-standard Java platform. Pivot 1.5 includes a number of improvements intended to help improve the overall...
on Jun 8, 2010
I've finished the development of my Game of Life, with a couple final fixes and new features... including a solution to the bad performance reported before. Once again the work has uncovered some surprises; read on. Un-Scripting JavaFX Script The first version used a "scriptish" style, all code thrown in a single .fx file, only average effort in structure. Now I have three files: World....
on Jun 4, 2010

Databases

The problem at hand is that EclipseLink (great project lead by James Sutherland) does not use a query cache when dealing with ReadAll queries, i.e: all calls to getResultList() go to the database.  Some object-level caching is performed by avoiding construction of new objects based on the primary key values the database call returns.  EclipseLink compares the PK values returned by the...
on Jun 1, 2010

J2SE

In this part we will discuss the basic classes that we will work with them to have file system operations like copying a file, dealing with symbolic links, deleting a file, and so on. I will write a separate entry to introduce classes which are new to Java 7 for dealing with streams and file contents, watching service and directory tree walking. If you want to know what are new features in Java...
on Jun 1, 2010

Mobility

 In front of hundreds of guests from the economy sector, the political sector as well as the Information and Communications sector (ITK) the 'Initiative for Small and Medium Sized Businesses' awarded the Innovation Prize IT 2010 during the NORD/LB forum at the CeBit for the best IT innovations of the year. Micromata came third in the Open Source category with its Java API for KML - JAK. The...
on May 30, 2010

Web Development Tools

The ongoing HTML5 specification offers many features to promote a "rich" web user experience.  If you've worked wth HTML5, you know that some features are available in some browsers and not available in others.  Here's a handy tool to tell you the HTML5 features that are available in your favorite browser.  All you need to do is fire up a browser and visit: http...
on May 25, 2010