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 


Community

I had the opportunity to attend the Community Leadership Summit (CLS) West Event (wiki, attendee photo gallery, eventbrite registration site, CLS session notes page, etc) this last weekend (Jan 9th, 2010) at the Devry campus in Daly City. It was an unconference event.  Lots of Community Leaders from different Tech Companies were there which was...
on Jan 11, 2010
My first speech of the year will be at the JavaDay 2010 in Rome - officially a JUG event, practically a mini-conference (with more than one thousand attendees). It's free, so save the date. My speech will be about best design practices for component oriented platforms - of course, such as the NetBeans Platform, but it's a design talk, so most concepts can be applied in different contexts as...
on Jan 11, 2010
My mailbox aggregates several Java User Groups and other specialized sources of information about the Java universe, with special guests like CEJUG and the Java EE community. Many of these Java sources are used by consultant companies to hire smart people, and since last year I am reading a desperate growing interest about skilled Java developers. More: few days ago I was having a coffee with...
on Jan 5, 2010

Tools

Given that Maven is much more complex than Ant, and it dinamically resolves dependencies, people are right to be concerned with having deterministic builds. But the vast majority of problems are solved by just three good practices: version everything, including all Maven plugins run once in a while mvn dependency:go-offline, that will download all the required stuff routinely use mvn -o (offline...
on Jan 7, 2010

J2EE

According to the PrimeFaces website, "PrimeFaces is an open source component suite for Java Server Faces featuring 70+ Ajax powered rich set of JSF components. Additional TouchFaces module features a UI kit for developing mobile web applications.". Since it is an OpenSource JSF implementation that is very close to releasing JSF 2.0 compliant components, I figured it was time to try it...
on Jan 7, 2010
Happy New Year! Java EE 6, GlassFish v3, and NetBeans 6.8 were released last month. Are you interested in learning how this awesome combination of technologies and products make your life simpler ? Do you want to brush up your skill set and learn to write Java EE 6 code using NetBeans 6.8 and GlassFish v3 ? Would you like to learn  tips & techniques from the experts in GlassFish community ?...
on Jan 4, 2010
SIP Servlets provide a server side Java abstraction to SIP protocol and it is based on familiar servlet model. This enables an application developer to use Java servlet programming to write Converged applications. What exactly is the meaning of "converged applications"? SIP Servlet Specification explains this as follows "While the SIP Servlet API can certainly be implemented...
on Jan 4, 2010
A few weeks ago, Ed Burns posted a link to a blog on the JSF expert group mailing list, commenting “A nice one, but it doesn't mention JSF 2”. Ever the curmudgeon, I pointed out that it wasn't so nice that the blog's sample code used the JSF API in beans when it wasn't necessary—as does in fact a lot of sample code, even in the official Sun tutorials. Ed's response: “Cay,...
on Jan 3, 2010
As I happily wrote about new features of JSF 2.0, my coauthor David Geary kept asking me how to run the examples in Tomcat 6. I kept putting it off—hunting down all those JAR files and web.xml fragments is just too much like eating soup with a fork. I finally got around to doing the research and thought that others might benefit from the (unhappy) results, if only to realize that this may...
on Dec 29, 2009
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

In the past few month several Java EE 6 related JSRs (Java Specification Requests) have been finalized. The final ballot for them ended on November 30 and all were approved. Today, December 10, 2009, Java EE 6 and GlassFish v3, THE reference implementation of Java EE6, are released. Four and a half year after the release of Java EE 5 we enter the next Java EE era. GlassFish v3 is the first...
on Jan 6, 2010
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

GUI

You might be wondering where I've been the past few months. JavaFX and Java Store work has definitely heated up, which has taken up the bulk of my time. I've also been working on Project Maitai, a tool for reactive visual artwork, as well as traveling to Sweden to speak at OreDev. Now that the Oracle acquisition has received approval (or at least been approved to receive approval), I'm hoping...
on Jan 4, 2010
Happy New Year folks! In 2002, I wrote a highly specialized, very small Q&D tool for my brother to support him in his oncological doctoral's practice. They are three physicians sharing a common room with some unique ultrasonic device. They needed something showing them at their desk wether the room is available or is currently occupied by somebody else. The name 'dokma' is a German pun....
on Jan 1, 2010

Programming

Several APIs demand that the user is implementing the .hashCode() method. The reason is that these APIs are using hash based containers (like HashMap) to have a fast means of managing lots of objects (always comparing objects using .equals() would need endless time). There are lots of standard implementations on the web, so the question is, what performance impact the implemenation of .hashCode...
on Jan 3, 2010
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

Security

After configuring Hudson to run in a Glassfish with security manager enabled I started to have problems in other applications, specially web applications using reflection to access private fields in Java classes. Over the web I noticed a lot of people struggling with the same issue (Seam, GWT, Vaadin, etc). The problem is caused because most of the modern frameworks tries to access Java...
on Jan 2, 2010

Eclipse

Web applications created by the Eclipse IDE contains an annoying folder WebContent to host the web resources and deployment descriptors. Quite natural for Eclipse users, this feature ignores the Maven convention and force the developers to hack the pom files in order to get the project up and running in Eclipse. In this aspect, Eclipse if far behind the other IDEs regarding Maven support, even if...
on Dec 28, 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