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

Blog Posts by Community

• 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 Enterprise

Note this blog is obsolete, see for the current blog In a previous blog entry I blogged about stateless JSF before, this time I will include the entire page so you can see how silly simple it actually is. And you can also go directly to Subversion to get the sample there. The entirely stateless page <?xml version='1.0' encoding='UTF-8'?...
on Nov 6, 2013
Note this blog is obsolete, see for the current blog Say you have a problem with how a particular component renders and you want to do it a bit different. Well in JSF that is not a problem there is a hook-in that you can use to override how a renderer does it rendering. The sample below shows you how to do it. You will have to do 2 things. 1. Register your own...
on Nov 5, 2013
Note this blog is obsolete, see for the current blog If you read the blog entry about migrating to @Named annotation you might wonder how you would migrate your @ManagedProperty annotations. Since CDI is a specification on its own, it does not deal with JSF specific artifacts. However with very little work you can have a very similar setup. First we define our own...
on Nov 1, 2013
Note this blog is obsolete, see for the current blog See the release notes for what was fixed. If you want to download it, see this page for more information. Enjoy!
on Oct 31, 2013
One of the newer features introduced in JAX-RS 2.0 is the support for validating resource classes with Bean Validation Bean Validation support comes in Jersey 2.x by adding jersey-bean-validation module to the class-path. The following sample shows how to use Bean Validation with JAX-RS 2.0. I show how to define a custom constraint which will validate any Enum class. Additionally I will show...
on Oct 30, 2013
Note this blog is obsolete, see for the current blog Since Mojarra is available as a standalone JAR you can opt to update your Glassfish installation with a newer version. How would you do that? Well it is simple. Make sure your Glassfish container is not running Grab the latest JAR from Replace the javax....
on Oct 29, 2013
Note this blog is obsolete, see for the current blog Sometimes when you are working with JSF you might need to understand what is happening beneath the covers. It could be because you think a component is misbehaving and you want to make sure that is the case before you file a bug. To facilitate this you can turn the logging up and in Mojarra there are several...
on Oct 28, 2013
Note this blog is obsolete, see for the current blog If you are having a problem with your JPA queries and you are trying to understand what SQL queries it actually sends below the covers you can configure the JPA runtime to show the actual SQL statements it sends over. How? Well for EclipseLink you would add the following to your persistence.xml file.   &...
on Oct 27, 2013
Developing RESTful Services with JAX-RS 2.0, WebSockets, and JSON is the new book which Masoud Kalali and I have worked on and recently published. As the technology landscape moves focus towards smaller devices, the need for building scalable, flexible, lightweight, and real-time communications-based applications grows. HTML 5 and Java EE 7 provide a new synthesis of technologies that...
on Oct 18, 2013


Note this blog is obsolete, see for the current blog JavaEE 7 and Glassfish 4.0 were released a little while ago. What is in the future? Well, see the Aquarium blog for the latest Glassfish Roadmap. And that is it. Enjoy!
on Nov 4, 2013
Note this blog is obsolete, see for the current blog Tyrus 1.3 has been released, get more information here. Or download it from here. Glassfish users should take all the Tyrus JAR files and replace them in the modules directory with the downloaded ones to get Tyrus 1.3 working in Glassfish. And that is it. Enjoy!
on Nov 2, 2013
#How to run the dev test cases ================================ #Annotation: All of the test cases can't be ran on the windows platform because the firefox can't support the ajax and JSF based on the windows platform very well. If you want to ran the tests, please check out all of the codes to the linux, ubuntu or mac platform. #Steps: 1). Download the firefox and install it, On my platform, I...
on Oct 14, 2013

Global Education and Learning

Introduction Configuration of an actor system affects the way in which the Akka actor libraries and microkernel interact with actors. The visibility of a configuration is limited to the specific actor system with which the configuration has been associated. The effective configuration for any given actor system is a merger of three sources. In Fig. 1 below the precedence of...
on Oct 30, 2013
Introduction This week I am presenting a coding of a simple two actor application designed to show actor creation, message passing, and actor termination. This application is called the "Fortune Cookie Application". It is the next state of the art beyond the HelloWorld program. Despite its simplicity this application shows the elements that every actor application uses. What We Will Be...
on Oct 22, 2013
Exciting information technologies emerge from new discoveries and re-emerge from past discoveries at a rapid rate. Despite the glamor and curiosity appeal engendered by cutting edge technologies when they debut, after the hype fades and we look at what actually is there in the cold light of reason we find ourselves turning to our pragmatic side and asking:
on Oct 15, 2013

Open JDK

Much of what you do in Java is to define classes that package data and functionality together by concept to represent the desired problem-space element. When you instantiate a class, you create an object that has it's own piece of memory made up of other objects. Java has a peculiar means of manipulating these elements in memory. This is to say even though you treat everything as an object, you...
on Oct 25, 2013
Each of these objects can be described in terms of the classes or types to which they belong for instance a maple tree belongs to the class of tree or is a type of tree, a bicycle is a type of cycle, a car is a type of vehicle. OOP is thus a very powerful language abstraction that allows you to simplify the complexity of a problem while retaining its value. Java is an Object Oriented...
on Oct 16, 2013

Java User Groups

a little discussion in a television series here that i am the speaker. the topic is Java. The host, TV Excelence, said any update for Java and why Java is silence now. I said there are Java worlds which use Java but we cannot said it is Java, but use Java. 1. BigData with Hadoop under Apache , is a new ecosystem that based on Java. 2. Smartphone/Gadget with Android under Google with Apache...
on Oct 19, 2013


At JavaOne 2013, I had the privilege of speaking for 10-15 minutes with Sean Phillips, Senior Software Engineer at a.i. solutions. a.i. solutions was a JavaOne 2013 Duke's Choice Award winner, and Sean had come to the table in the JavaOne Exhibition Hall seeking me. This was fortuitous, because among all of this year's Duke's Choice Award winners, the one that's closest in its...
on Oct 17, 2013

Java Patterns

Have you experienced Scrum? "agile" development? I have.
on Oct 17, 2013