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 


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

Community

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
The Oracle Sun take-over stirred a lot of controversy about the future of the Java platform. It is no secret that Oracle’s main goal behind the merger is access to Sun’s hardware technology. This has been fueled by the ambiguity of statements made by Larry Ellison like “Java speaks for itself”.  Not much has been said in the last Oracle Open World either....
on Oct 20, 2009

Programming

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

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 Oct 26, 2009
Just a short post to note that we've now shipped Mojarra 2.0.1. This version fixes a very serious bug when running on Tomcat. You can pick up the files from the usual places, see the release notes for more information. If you're using GlassFish, and already running 2.0.0 (you leading edge adopter!), there's probably no reason to upgrade - though the new v3 (b69) has the updated jar, and it will...
on Oct 23, 2009
The following topics and more will be covered in detail in my upcoming book with Neil Griffin, JavaServer Faces 2.0: The Complete Reference. Please enjoy this early access content! One challenging aspect of designing JSF 2.0 was how to standardize Facelets. We wanted to standardize only the minimum amount that would still allow developers get the job done. Initially, we did not include binary...
on Oct 15, 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
JPA has its puzzles and from time to time it is useful to write down that tricky solution for our mapping needs.This entry describes a ManyToMany relationship with an additional state in the intermediate table. All my examples are related to the Arena-PUJ project, the pet project I am hard working nowadays. Arena is an online system to manage academic competitions, and within its several tables...
on Oct 24, 2009
The Sun Mobility Platform Telematics demo, co-developed by Oracle and Sun, was showcased at Oracle Open World this week. It was shown as part of a presentation on Monday and at the Berkeley DB (BDB) booth for the rest of the week. The demo shows a simulation of vehicles synchronizing events collected on a local database (BDB) to a back-end Oracle database. Events collected from vehicle sensors...
on Oct 15, 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

NetBeans

Geertjan has discovered Urban Surveillance Research on the NetBeans Platform: Yet another NetBeans Platform application is part of the Centibots project. This project, a.k.a. the "100 Robots Project", funded by the Defense Advanced Research Projects Agency (DARPA), is aimed at developing new technology to support the coordinated deployment of as many as 100 robots for missions such as urban...
on Oct 22, 2009

GUI

As many of you may know, user interface design is a passion of mine. I want software that both looks pretty and acts well. I've had lots of ideas on the topic, often bleeding over into art and traditional design, in addition to usability. After thinking about it for a couple of years I've finally decided to create a blog dedicated to the topic: www.joshondesign.com At Josh On Design I'll be...
on Oct 20, 2009

Ajax

I've had a few requests for request aggregation, ala RichFaces queues, in JSF 2. This was deliberately not included in JSF 2.0, but it will be considered for JSF 2.1. The reason why is simple - there was simply not very much time, once all the base Ajax work was completed, to add any additional features. However, adding this functionality yourself isn't actually very hard. Here's an example...
on Oct 19, 2009

EJB

In the relentless fight against configuration boilerplate, JSF and Glassfish have taken yet another small step forward. As of Glassfish v3 build 68, you no longer need to declare the faces-servlet in WEB.XML. <servlet>   <servlet-name>Faces Servlet</servlet-name>   <servlet-class>javax.faces.webapp.FacesServlet</...
on Oct 19, 2009

J2EE

Hope you have read my blog on "Writing your first SailFin CAFE Application". There I explained how to handle a 2-party call using SailFin CAFE. Now lets see how can you write a simple conference application. The application would accept the calls from any participant and if the participant is calling a conference id, then the application should use a media server, handle SDP, mix the voice,...
on Oct 18, 2009

Testing

Avid readers of the glassfish aliases know that we are frequently asked questions about why their server isn't responding, or why it is slow, or how many requests are being worked on. And the first thing we always say is to look at the jstack output. So you're running on a Sun 5120 with 128 hardware threads and so you have 368 request processing threads and the jstack output is 10K lines. Now...
on Oct 16, 2009

Web Development Tools

I've posted the slides for the talk that Andy Schwartz and I did at Oracle Open World up on Slideshare. Check 'em out.
on Oct 14, 2009

Web Design

In talking with Andy Schwartz before our recent talk together at Oracle Open World, Andy mentioned that he'd like to see some new components make it in to JSF 2.1. I'd like to see that too - but what new components? To aid the discussion, I thought it might be handy to make up a list of components that I think would be handy for JSF - but please, don't take this as an endorsement of any...
on Oct 14, 2009

J2SE

When my colleague Marina Vatkina sent me some code earlier today hoping a second pair of eyes would spot the obvious error, knowing how thorough Marina typically is, I knew there was no obvious error there. Simplified version of what was being attempted is shown below: import java.io.*; import java.util.*; import java.util.jar.*; public class CreateJarWithManifest { public static void main(...
on Oct 13, 2009