Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: J2EE

• 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 


This is a very basic review of active and available open source Java EE Application servers and Servlet container (Web containers) to let the community know which active containers are available and what is the general status of each container. The article can simply act as a start point for anyone need to select one of them for later use in development or product. Detailed comparison of these...
on Nov 17, 2009
We're less than two months away from the 2nd annual JSF Summit conference, co-sponsored by JSFCentral and the No Fluff Just Stuff Symposiums. The conference will take place December 1st-4th in warm, sunny Orlando, FL. We already have an all-star lineup of speakers such as Ed Burns, Matthias Wessendorf, Dan Allen, Ted Goddard, Keith Donald, David Geary and several others, covering every aspect...
on Oct 13, 2009


Content available at:
on Nov 11, 2009
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
Content available at:
on Nov 5, 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
Content available at:
on Oct 20, 2009
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
autodpeloy-bundles directory has been moved to autodeploy/bundles. In my earlier blog titled Using filesystem operations to manage OSGi bundles in GlassFish, I had mentioned the directory name to be ${domain_dir}/autodeploy-bundles/. Based on feedback from co-developers and users, I have moved it to ${domain_dir}/autodeploy/bundles/. As you may be knowing, ${domain_dir}/autodeploy is already...
on Oct 4, 2009
Content available at
on Oct 2, 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
Content available at:
on Sep 23, 2009


I would like to show you how you could extend your javadoc to include samples directly into the javadoc without extra work. What I don't like about javadoc is the lack of code sample. Something is can be hard to find the starting point of a new framework. Let's show a example, it will be easier to understand, and so simple. [prettify]
 * This in a javadoc with...
on Nov 8, 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


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

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;
on Oct 27, 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
Can you compile, deploy and test your Java EE projects with just 1 line of command? Check it out. I have no time for documentations lately, but I prefer to give you a chance to early adopt my build script and take your own conclusions. Following the steps below, you will have my Java EE 5 application running in your Glassfish v2.1 server - including test data populated in the MySql database....
on Oct 9, 2009

Web Services and XML

Registration is one of most implemented use cases ever, but things get a bit different when you try to implement it in a RESTful Web-Service. Before I start the discussion about the registration use case, a list of terms for disambiguation: Application means a Java EE Application. (Arena-PUJ is the Java EE Application I am doing my REST experiments) Service is a RESTful Web-Service. (back-end...
on Oct 2, 2009

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