The abstract Map class in Java is a very useful utility especially in cases where there is a need to store object pairs in a generic collection, if you’d rather not create your own container objects for such a coupling. HashMap is one of the most commonly used implementations of Java maps and Java 9 offers an even cooler method for its initialization. I want to start with a quick refresher for those who had …
Besides being a programming language, Java is also a software platform. As a programming language, Java is a high-level object-oriented language that has a particular syntax and style. A Java platform is a particular environment in which Java programming language applications run, which are divided into 4 major categories:
Java SE, EE, ME and JavaFX. But what’s the difference between Java SE, EE, ME and Java FX? Will you be missing anything if you go with Standard Edition (SE) vs. Enterprise (EE)? Can you develop a mobile enterprise application with Java Enterprise Edition (Java EE) and not the Micro Edition (ME)? In this blog post, you will get an overview of the Java editions, their differences, and a few recommendations for developing applications with each platform.
In this tutorial, you will see an example of parsing JSON objects containing exchange rates for certain currencies and displaying them on a web page using JSF 2.1 and PrimeFaces 2.2 which is a rich-component framework for JSF adding AJAX and Web 2.0 capabilities to your web application.
JSF is a request-driven MVC web framework based on component-driven UI design model, using XML files called view templates or Facelets views. JSF is a component based MVC framework which is built on top of the Servlet API and provides components in flavor of taglibs which can be used in JSP or any other Java based view technology.
In this part (4) of the tutorial we will correct the bugs inherent in version 2.2 of Seam-gen and we will add some code to spice up our blog CMS. First of all, our PostEdit.seam page is not working at all as it is. We shall fix this: Open PostEdit.xhtml from the WebContent folder and find the <rich:tabPanel switchType=”ajax”> block. This is what’s causing the problem, because it has more than one tab – one …




