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

Christmas holidays is one of my favourite moment in the year, I have time to see my relatives, read books, play with my kids and hack a little bit. Forewords I think I don't like the most in the strawman proposal is that the syntax for function type and for lambda literal reuse the same symbol '#'. It's something that I've observed when teaching C. The C syntax use * when you...
on Dec 27, 2009
We can't live without Javadoc, but even if it useful, it's not complete. One missing thing is UML within the Javadoc. To add UML to your Javadoc, is quite simple. You need to add Graphviz into your maven build. First you need to download and install Graphviz. Go there Graphviz After that you should add the variable GRAPHVIZ_HOME (that point to the installation folder) into your system. The...
on Dec 26, 2009
Last June, Arnold Schwaighofer push a patch to mlvm repository that allow to transform tail call invocation of a method to a jump. Even if this transformation is classical in language like Lisp, Scheme or Caml, the JVM was not offering any help to optimize this kind of call until this patch. Recently, Tom Davies has refreshed the patch in order to be used with a more recent...
on Dec 18, 2009

J2EE

Shing Wai's post explains the @ServletSecurity annotation that has been introduced newly in JavaEE 6 (Servlet 3.0 specification). The @ServletSecurity annotation provides an alternative mechanism for defining access control constraints equivalent to those that could otherwise have been expressed declaratively via security-constraint elements in the portable deployment descriptor. There is also a...
on Dec 24, 2009

EJB

Java EE 6 has three different ways of defining “beans” that are “managed” in one way or another. Here is a quick recap. JSR 314 JSF 2.0 introduced annotations to avoid the tedium of declaring managed beans in faces-config.xml: @javax.faces.bean.ManagedBean(name="user")@javax.faces.bean.SessionScopedpublic class UserBean implements Serializable { ...
on Dec 23, 2009
The long awaited and the most looked upon version of GlassFish released today. GlassFish v3 fully implements Java EE 6 specification which means EJB 3.1, Servlet 3, JAX-RS, JPA 2, Contexts and Dependency Injection for Java EE, Bean validation, Java EE profiles and so on.
on Dec 17, 2009
NetBeans 6.8 released coordinated with GlassFish v3 today. NetBeans 6.8 can be considered a fine step ahead of NetBeans because Sun is officially supporting the NetBeans RCP platform as a product from now on. NetBeans 6.8 features are as follow: Java Enterprise Edition 6 support Web Projects with JavaServer Faces 2.0 (Facelets) JavaFX 1.2.1 support Kenai.com: Connected Developer Full support...
on Dec 17, 2009

Mobility

UPDATES: Dec-23-2009: At the time of this post some, but not all, wikis and forums had been brought back up. I am told that now all forums and wikis are fully operational. However, there are still some problems posting to java.net blogs from external blogging clients - this is being worked on. After the attack last week java.net now has been restored and should be (mostly) functional, including...
on Dec 22, 2009

Testing

As the year draws to a close, I wanted to give everyone a heads-up about some of the Wakaleo training sessions already lined up for 2010. The next big training dates are in Europe - in collaboration with Skills Matter, I will be running the Java Power Tools Bootcamp in London (February 15-19) and Paris (February 22-27), and then in Wellington in March (March 22-26). I'm also lining up sessions...
on Dec 21, 2009

Swing

Having blogged this hack some years ago (Event Pump DTs), today i actually used it. The idea is to execute a long running task in the background, while blocking our app, seemingly on the EDT, while waiting for the task to complete. The hack involves using a zero-sized dialog. In this case, the EDT is not blocked from handling other events in the queue eg. as a response to user actions in the...
on Dec 21, 2009

OpenSolaris

I've been trying to install OpenSolaris since 2006, with no luck. At that time, probably, there were some blocking bugs of the installer when working in a MacBook Pro; furthermore network drivers were only available for 64 bits (and I only got a first generation MacBook Pro). About one year ago I bought a 64-bit MacBook Pro and probably the bugs had been fixed by that time, but I filled my 500GiB...
on Dec 19, 2009

Security

Due to recent problems on java.net blogging platform you can find the article here: http://aloiscochard.blogspot.com/2009/12/integrating-spring-security-wit...
on Dec 19, 2009

Web Applications

This blog has moved here var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); var pageTracker = _gat._getTracker("UA-3111670-3"); pageTracker._initData(); pageTracker._trackPageview();
on Dec 15, 2009
This is 1.0.0 release of GlassFish gem. This release is based on GlassFish v3 final release. Unlike other gem releases which used to get posted on the RubyForge gem repo. Now its pushed to Gemcutter. The end result is pushing is easy and the gem is available moments after its pushed. Also now I can see how many of each release get downloaded. To install, simply type the following on a JRuby...
on Dec 10, 2009
  I attended the SF MusicTech Summit.  Here are my notes. Sun Startup Essentials is a sponsor http://www.sfmusictech.com/ ------------------------- FutureHit.DNA You've got 7 seconds to impress your audience Getting first impression is easy. Getting second impression is hard Music is still created like it was 1999...
on Dec 9, 2009

Performance

One of the new features of Glassfish V3 is directory deployment of ruby applications.  This makes is much easier to develop and deploy ruby applications on Glassfish since developers no longer need to package ruby apps as wars using goldspike or warbler as was required for Glassfish V2.  However there are other good reasons to run your rails applications on Glassfish V3.  One of...
on Dec 10, 2009

Community

Jazoon 2010 is calling for papers, with a renewed website and some surprises reserved for the ones accepted in the conference. Jazoon is an international Java conference in the heart of Europe, for the ones looking for the quality of the technical content and a comfortable venue. You find better info in the conference website, but below you have the important shortcuts if you are a prospective...
on Dec 9, 2009
Shadow copy of http://www.egjug.org/node/956 I would like to invite you to the Spring Integration session organized by EGJUG. We will talk also in quick about the upcoming JDC 2010 and may go to public restaurant to have light dinner after the SpringFramework night. Date: 15 December 2009 Time: 6:30 PM - 8:30 PM Place: FCI-CU, check the map. Fees: FREE forever How to register: Send your name,...
on Dec 8, 2009

J2SE

Caching of an empty array is a well-known pattern to improve performance. However, it is difficult to use it in generified classes. Out of curiosity, I created a custom implementation of the array creation method based on Array.newInstance. To cache empty arrays, I use synchronized WeakHashMap, which maps any given component type to a weak reference to the corresponding empty array. This is not...
on Dec 7, 2009

Web Services and XML

A small JAXB puzzle: how to define a custom element to serialize Date objects with the TimeZone information? Piece of cake, isn't it? Try it yourself and you will be surprised with the tricky details. A friend of mine gave me a JAXB challenge this week: his company already uses a customization of the xsd:date type in a legacy code - mapped to a proprietary type instead of the default Calendar...
on Dec 6, 2009