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 


Tools

After the latest upgrade of my Hudson instance, I noticed that a new option in the security matrix appeared: it allows anonymous visitors to have a (read only) look at a job configuration, if the administrator allows it. I think it's a great feature (that I was asking for some months ago), as it allows to share our knowledge about our favourite CI tool. So I've opened most of my jobs and you can...
on Nov 9, 2009
As a programmer, I spend a lot of time fixing bugs. And a considerable portion of that is the time spent on reproducing a problem. Here is how a typical such session goes. Your user reports that your program doesn't work and throws such and such exception. Or given the symptom he's describing, you suspect some "if" statements to be evaluating to false. If you are lucky and experienced,...
on Nov 8, 2009
Today I've made some improvements with my Mercurial + Maven + Hudson setup - and reached a new level of karma, being able to do automated releases. Let's go in order. First let me recap what happens with the Maven release plugin (mvn release:prepare release:perform) and Mercurial: A check is performed that there are no uncommitted changes and a build is performed as a validity proof. All the...
on Oct 29, 2009

J2EE

Hope you have read my last blog on using SailFin CAFE with web applications. Mohit has added an entry on how to enable Communication capabilities in JSPs. The approach is exactly same except that the CommunicationSession object is available as a session attribute. Take a look!
on Nov 8, 2009
Overload protection feature has been part of earlier releases of SailFin, lets start by describing the what can be improved in the current implementation. The algorithm (in the earlier releases) for detecting an overload was based on the fact that if a certain number of continuous samples remain above the configured threshold then the system is overloaded. This was a simple and...
on Oct 28, 2009

Deployment

In this two part article, I will explain how to configure a web application built with Maven to support "branding", or skinning. That is, support different distribution skinned with particular images, logo, background, text. In the end we just want to keep separated the static contents and choose the right set when we package our application so that the result is a war with just the...
on Nov 7, 2009

Community

Awhile ago, the java.net Program Manager approached me about blogging about some of the day-to-day interactions I've had with the Java community over the years, primarily the Java User Groups (JUGs) and Java Champions program. I get a ton of email from folks who are interested in starting a Java User Group and want to know how to get started. Honestly, I tell them, the best place to learn about...
on Nov 6, 2009
Even if you love Netbeans, don't you think Eclipse is worth $5? http://www.eclipse.org/donate/
on Oct 31, 2009
If you're thinking about attending the JSF Summit this December, now is the time to act. You can save $200 if you register before the final early bird deadline this coming Monday, Nov 2nd. The expert speaker lineup includes Ed Burns, Dan Allen, Neil Griffin, Stan Silvert, Matthias Wessendorf, Martin Marinsheck, Pete Muir, David Geary, Ted Goddard, and many more. We've got over 35 expert sessions...
on Oct 27, 2009

Ajax

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 Nov 6, 2009

Servlets

So far I have described how create server applications that handle call, conference and IM using SailFin CAFE. In this edition lets take a look at how to add communication capabilities to web applications in a (very) simple way. I like to start with the code. So, here is some code that implements making a phone call between two parties from the web application. package my.test;import javax....
on Nov 4, 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 Nov 3, 2009
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 Oct 26, 2009

GUI

It's already five months since the version 1.0 have been announced at JavaOne. Today, new version of the SwingX have been released. This release is first Java 6 only compatible release. Setting base line to Java 6 allowed us to drop all the extra code necessary to maintain backwards compatibility for functionality added to the cora Javasince the release of Java 5. So as of today, you can benefit...
on Nov 2, 2009

Programming

Let me introduce a new language named pseudo (Why this name ? Why another language ? Why God ? all these questions will be answered in a later blog). One great feature of this language is that it allows gradual typing, i.e. you can assign a type to a parameter, a local variable, etc. or not. If a variable as no type, the compiler consider it as any. You can assign any value...
on Nov 1, 2009
In my last attempt to stress the JavaFX platform, I ported the Strange Attractor demo/benchmark. Different from JavaFX Balls, this is not scenegraph-driven animation, but old-school "pixel by pixel" drawing… still, makes for another batch of interesting findings, including a few issues in the JavaFX Script language and its compiler, and other topics like fractal maths, BigDecimal...
on Oct 29, 2009
I've made the decision to participate in the JFXstudio Challenge competition. The subject of the competition is Five. Therefore, I decided to replace the squares with the pentagons in one of my applications. Do you remeber the sample that rotates the cube? javafx({ name: "Dodecahedron", width: 400, height: 400, archive: "https://malenkov.dev.java.net/20091027/Dodecahedron.jar" });There is...
on Oct 27, 2009

Instant Messaging

In this edition, I am explaining, how to write a simple IM server using SailFin CAFE. If you have read my earlier blogs on SailFin CAFE (here and here) then there is nothing additional need to be done!. The same applications that supports 2-party calls or Conference application are already capable of handling IM between two users. package my.test;@org.glassfish.cafe.api.bean....
on Oct 27, 2009

Databases

The W3C Social Web Incubator Group is organizing a free Bar Camp in the Santa Clara Sun Campus on November 2nd to foster a wide ranging discussion on the issues required to build the global Social Web. Imagine a world where everybody could participate easily in a distributed yet secure Social Web. In such a world every one will be able to control their own information, and every business would...
on Oct 26, 2009

Mobility

Yes, there is a DateField component for LWUIT and it is ready for use! It is localized too! It was created by Marlon Luz from IndT, Manaus, Brazil, and the Tranqueira Project is using it. With this DateField it is very easy to configure date formats and check for a valid day, month and year and fix these values, if there is something wrong with them. Because I guess it is not interesting to show...
on Oct 26, 2009