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

Blogs by Community: Java Patterns

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  


Java User Groups

As we began our Java adventure at Amway Corp 10 years ago, one of the most important tasks we had to do was to create our Object Model. We had a variety of Java objects that we were planning to use in our application. How were they going to be "wired" together inside of the application? After 4 weeks of Object-Oriented, J2SE, J2EE training; we set out to define our Object Model. This model was...
on Jul 16, 2012
I'll like to let you know the dates of JCertif 2011 the biggest Java Community Event in Africa. About 800+ attendees from many countries. We will be happy to have you as Speaker on Developer Tools, Java, Open Source, Mobile Apps...or Business solutions. I'll like to let you know the dates of JCertif 2011 the biggest Java Community Event in Africa. About 800+ attendees from many countries....
on Jan 1, 2011
Last week's kickoff of FESI's research program went very well. There are a number of folks (>500) who are now following this blog on Java.net, and a number who have gotten involved.  While we wait for more folks, we'll be researching new technologies, the first being NOSQL databases.  If the kind of topics we're research interests you, please feel free to join the project;...
on May 5, 2010

Java Patterns

When we starting planning how we were going to use Java technology at Amway (10 years ago); we realized we had many decisions to make about standards to adopt, practices to learn, architectures to use, patterns to follow, etc. Fortunately for us, there were many sources of information to help us figure all of this out. Unfortunately for us, there were many sources of information to help us figure...
on May 21, 2012
You want JAXB to unmarshal singletons? You already spent lots of time coding rather complex workarounds applying XmlAdapters and afterUnmarshal callbacks? The solution is astonishingly simple. Possibly so simple that nobody in the JAXB team ever thought it would be necessary to put the word "singleton" somewhere next to the JavaDocs for this... Anyways, here is the solution: import javax.xml...
on Jan 14, 2012
 Yesterday I've held another round of my DCI (Data, Context and Interaction) talk at JUG Lugano; they are available at Slideshare. The presentation has been updated since the one held in Genoa one month ago; I've still shown examples using the NetBeans Platform Lookup, but code sketches have been taken from an Android context, rather than Swing. I should be able to publish a detailed...
on May 19, 2011
Complicated year for me and I've not blogged something with decent technical stuff for a while. This is the n+1 restart that I'm trying... let's see if I can resume with a constant flow of useful stuff.   The subjects of this post are two: first, a design topic (how to avoid anemic object when handling the processing of configurations) and second some extensions of JAXB to accomplish the...
on May 18, 2011
In JUG-AFRICA we started an Open Source project to manage the BIG ANNUAL EVENTS for our JUGs. The first release will be available in the early second half of January. The application will provide all services bellow via the REST Web services :     - Appointment Manager - Conference Manager - Paper reviews and approval Manager - Profile Manager - Registration Manager - Sponsorship...
on Jan 2, 2011
  Over the years, I've lived a double life.  On one side, I've been a member of many "pure architecture" teams and forums.   We couldn't see code with a pair of binoculars. On the other side, I've been knee-deep in the code trenches where emergent architecture changed and morphed daily.   Architecture? What Architecture?  All we had was code.  That was...
on Sep 24, 2010
In the previous installment of Effective Architecture, I covered TDD with Model-View-Presenter. However the code I presented had synchronous server calls. In JavaFX (like Swing), the UI code runs in the Event Dispatch Thread (EDT). It is unwise to block the EDT. Hence it is encouraged to execute all server calls on a separate thread. SwingWorker Swing provides SwingWorker to execute tasks off the...
on Jul 23, 2010
Please use the following articles while I am updating this entry  How to have your Own CA and configure Glassfish and your clients for mutual authentication? How to have your Own CA and configure Glassfish and your clients for mutual authentication?, Part II Please post any comment or question here so we can have one main reference for this. var gaJsHost = (("https:" == document.location....
on May 13, 2010
Content available at: http://blogs.sun.com/arungupta/entry/totd_133_jpa2_jpql_criteria
on May 6, 2010
Content available at: http://blogs.sun.com/arungupta/entry/totd_131_dynamic_osgi_services
on Apr 29, 2010
On April 28th, 2010, we will be kicking off the first phase of FESI's research.  This where we set up the project, and start to get our hands dirty. Attached is the flyer we will use to promote FESI and what we're trying to accomplish.  Hopefully it will help us get the word out to the local community. Also as the kickoff, we'll be participating with a networking group that meets...
on Apr 27, 2010
In this post I will share my recent findings about Container Dependency Injection in Java EE 6, in particular how to decouple the processing threads of  event producers and event consumers. Java EE 6 introduces a very nice dependency injection framework (CDI) that has superb support for the Observer pattern in the form of event broadcasting. An Event in CDI is just a regular POJO: public...
on Apr 14, 2010
What it means to speak German fluently and to be able of C++ Several years ago one of our key coders moved from the south of Germany (where our HQ is located at the Black Forest) to the cold and rainy north, so we had to to find a suitable substitute. After screening lots of applications, we picked few to invite for an interview. It declared the candidate's ability to speak German and C++. So she...
on Feb 20, 2010
The image on the left is a screengrab I took when I was reviewing content for my upcoming book, with Neil Griffin, JavaServer Faces 2.0: The Complete Reference. I consider this little snippet an atonment for the HTTP violations of JSF versions past (before I was spec lead). Sorry about that. For the record, the article referred to in the book is at <http://www.theserverside.com/tt/articles/...
on Oct 8, 2009

Java Desktop

Often code has a bad smell, then it gets time to replace custom lines by common patterns. Sometimes it even makes sense to even replace a single line of code by a class just wrapping that single line (which actually increases code size), if that makes readers better understand what the code does. Unfortunately often such patterns are publicly known but do not exist as ready to...
on Jan 1, 2011
My name is Haim Michael, I am the General Manager for Zindell Technologies and I am an eternal student and a lecturer. I chose to develop the abelski web site for the benefit of all people world wide. I have started to develop it in November 2007 and I continuously update its courses and add new ones. All courses on this web site are available for free personal and academic usage.  The...
on Oct 4, 2010
In the last installment of my post, I briefly described how to do Test Driven Development (TDD) in JavaFX using Model-View-Presenter (MVP) pattern. In this installment, I illustrate this particular piece in detail and provide working code samples. You can download the code here (Caution: 6.7 MB download). The download is a zip file containing all 4 Netbeans projects. The code is tested with...
on Jul 7, 2010