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 

Web Development Tools

How do you write a application that enables communication between two SIP phones? What if you also want to support video calling? If you are using SIP servlets, you would be writing one or two sip servlets (atleast a few hundred lines of SIP servlet code) to achieve this. But if you are using Sailfin CAFE, then things change quite dramatically. Here is the code to do all of the above, I...
on Oct 1, 2009


X-Lite configuration is where users commonly make mistakes while using sailfin. Here are some tips that I use while using X-Lite. Remember, this is not a guide to using X-Lite with any VOIP provider, but these are tips to use X-Lite with a SIP application server like SailFin for trying out sample applications, testing your sip application etc. Most of these are very simple, but still........
on Sep 29, 2009
The newly introduced "Basic3pcc" sample demonstrates a simple Third Party Call Control (3pcc) application in SailFin. Download latest SailFin to get this sample. This sample includes 2 applications as shown in the figure below: Figure 1. Applications bundled in Basic3pcc sample.   Application #1 (i.e., 3pccConvergedApp.sar) is a 3pcc call controller application....
on Sep 21, 2009


This and the next series of blog entries will highlight the Top 10 most critical web application security vulnerabilities identified by the Open Web Application Security Project (OWASP). You can use OWASP's WebGoat to learn more about the OWASP Top Ten security vulnerabilties. WebGoat is an example web application, which has lessons showing "what not to do code", how to exploit the code, and...
on Sep 29, 2009


Today I've digged deeper into one of the nastiest problems I ever encounted since I became a Java programmer. The problem was this — I have the Hudson slave agent program, which blocks on stdin for read almost all the time. This process uses other threads to perform other activities (what this thread does is actually driven by what it reads from stdin, but that's irrelevant to this bug...
on Sep 28, 2009

Web Applications

Just a reminder that while you are developing a JSF 2.0 project, you really, really, really should enable the Development Project Stage. Doing this enables better error messages, including in the client side JavaScript, at the cost of some performance. Enabling this is as simple as putting the below into your web.xml: <context-param>   <param-name>javax.faces.PROJECT_STAGE...
on Sep 28, 2009
Today we're going to talk about two features of JSF 2.0's f:ajax tag: the event attribute and the listener attribute. The use of both of these is really, really simple - so I'll just briefly cover the basics, and then launch directly into the sample code. The "event" attribute of the ajax tag indicates which event to use to trigger the ajax request. There are any number of possible events...
on Sep 26, 2009
I wrote and deployed an OpenID provider service for users. For those who are new to OpenIDs, this service allows users to log in to other sites by using the ID as the identity (for example, try Stack Overflow.) This eliminates the need to maintain separate passwords for each site, among other things. That said, the primary use case of this service is not to become just...
on Sep 21, 2009


This semester, I am teaching the CS1 course again. If you just teach plain Java, it isn't easy to come up with interesting lab assignments. Some of the students have built exciting animations with Alice in the CS0 course. Somehow, they aren't as excited about printing prime numbers or digits of π in CS1. But the latest version of Alice, now in beta, can be programmed in Java. This is very cool...
on Sep 28, 2009


I am extremely pleased today to announce the availability of the final release for version 5.3 of Substance look-and-feel (code-named Reykjavik). The release notes for version 5.3 contain the detailed information on the contents of this release which include the following: New Gemini skin New Magellan skin New Graphite Aqua skin Improved usability of Raven Graphite skins Overlay painters...
on Sep 28, 2009
The Pivot development team is happy to announce the release of Apache Pivot 1.3. Apache Pivot is a platform for building rich internet applications 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 is currently undergoing incubation at the Apache Software Foundation. Notable updates in...
on Sep 22, 2009


While much have been written on checked vs unchecked exceptions, I found very little practical, down to earth, advice on how and why to use them. Here are my thoughts after years of rumination. The common wisdom What we are typically told is to use checked exceptions for recoverable conditions and unchecked exceptions for programming errors. For example here or in Effective Java. Don't get...
on Sep 25, 2009
When I started the mavenization of my projects, in July, I really didn't figure out that it would have been such a painful and long process. It is literally consuming me - also because I'm longing to see the end of the conversion, so I can resume the development. The first mavenized projects, BetterBeansBinding, jrawio and Mistral, were reasonably easy, also considering that I had to...
on Sep 25, 2009
Ed has developed a 50 minute audio-visual presentation recounting his experience in writing the book. This presentation includes audio clips from the programmers themselves, including subtitles for those for whom English is not their native language, together with insight to tie it all together. Ed has given this presentation at numerous international developer conferences and user groups around...
on Sep 22, 2009


Poison messages are basically delivery deadlocks caused by a continuous redelivery of a message to a JMS Queue or Topic. That usually happens due to a code bug or configuration problems in the project. How to reproduce poison messages The easiest way of reproducing the poison messages issue is to create a Message Driven Bean and then to throw an exception in its onMessage method, like the example...
on Sep 24, 2009


   On Thursday I head up to London for the Over the Air event. I'll do two talks on Saturday on LWUIT and JavaFX Mobile. Check out the draft schedule. Plenty of interesting topics - I attended Over the Air last year and it was a fun, down-to-earth developer event. I'm looking forward to it. Maybe I'll see you there? Cheers, -- Terrence Reminder: If you haven't done so yet, please update...
on Sep 22, 2009


If you are reading this blog it means you want to use JasperReport with dynamically programmatically generated images. An example of such use cases in generating complex charts using JFreeChart and then including these charts into reports. Each report in JasperReport uses a datasource to populate the fields, we need to use JRBeanCollectionDataSource which can be considered as a simple collection...
on Sep 21, 2009


In a recent blog post, Geertjan Wielenga shows "How to Create a GUI Editor on the NetBeans Platform": There's a lot of interest in creating GUI editors via the Visual Library. So I'm creating a small example that will show how to do that. The palette is filled with JavaBeans that are registered in the layer, meaning that the editor is extensible via the System FileSystem. When a palette item...
on Sep 20, 2009


During my last years before getting the master degree, I have been working at a free flight simulator. It run under DOS and was named FGFLY. It was written in C++, initially Borland C++ and later Watcom C++, in order to use a memory extender to bypass the infamous 640k limit. At the time I just was a student able to earn a few money with programming, and couldn't allow to spend a lot in hardware...
on Sep 18, 2009


While I am in Sydney for the next Sydney Java Power Tools Bootcamp, I will be running a Java Coding Dojo, to be held in the Atlassian offices between 5:30 and 7:00pm on the 21st of October. This is a free event, open to anyone who want to do a little recreational coding. I will also be running the inaugural session of the  Wellington Java Coding Dojo on October 14, at a to-be-announced...
on Sep 17, 2009